org.wkb4j.engine
Interface WKBFactory3D
- All Known Implementing Classes:
- JTSFactory, LoggingWKBFactory, PostGISFactory
- public interface WKBFactory3D
WKBFactory3D
must be implemented by any class wishing to serve as a factory
for geometric objects. When an object implements this interface, it can be submitted
to the WKBParser
and it will call thoses methods with the correct values.
The author of each factory is completly free to implement any behavior, including ignoring some calls.
wkbByteOrders and wkbTypes values don't generate events because there is no point in doing so.
Similarly, there is no way to pass a generic Geometry. MultiPoints, WKBPoints and Points are colapsed in a double array.
It is the responsability of the Factory to ensure that the stream of events actually represents a correct construction.
See AbstractWKBFactory for an implementation of a "validating" WKBFactory.
Inspired by the SAX API.
- Version:
- $Revision: 1.2 $ $Date: 2003/06/14 22:31:26 $
- Author:
- David Garnier
Creation date: 6 juil. 2002 21:22:00
Method Summary |
boolean |
addPoints3D(double[] points)
points is an array of doubles reprensentings coordinates. |
addPoints3D
public boolean addPoints3D(double[] points)
- points is an array of doubles reprensentings coordinates. They are in the same order as the data in the WKB format.
addPoints() and addPoints3D() are mutually exclusive and can only be called once.
Copyright © 2002-2003 David Garnier. All Rights Reserved.