com.esri.sde.sdk.geom
Interface GeometryFactory


public interface GeometryFactory

The GeometryFactory interface is used to construct an abstract Geometry object.


Method Summary
 void envelope(double minx, double miny, double maxx, double maxy)
          This method is called to indicate what geometry type.
 java.lang.Object getGeometry()
          This method is called finally, to get the object constructed.
 void init(int type, int numParts, int numPoints)
          This method is called to indicate what geometry type.
 void newPart(int numSubParts)
          This method is called whenever a new part is begun.
 void newPoint(double x, double y)
          This method is called whenever a new point is passed back.
 void newPoint(double x, double y, double m)
          This method is called whenever a new point is passed back.
 void newPoint(double x, double y, double m, double z)
          This method is called whenever a new point is passed back.
 void newSubPart(int numPoints)
          This method is called whenever a new sub-part is begun.
 void partOffsets(int[] partOffsets)
          This method is called to indicate what geometry type.
 

Method Detail

init

void init(int type,
          int numParts,
          int numPoints)
This method is called to indicate what geometry type.


envelope

void envelope(double minx,
              double miny,
              double maxx,
              double maxy)
This method is called to indicate what geometry type.


partOffsets

void partOffsets(int[] partOffsets)
This method is called to indicate what geometry type.


newPart

void newPart(int numSubParts)
This method is called whenever a new part is begun.


newSubPart

void newSubPart(int numPoints)
This method is called whenever a new sub-part is begun.


newPoint

void newPoint(double x,
              double y)
This method is called whenever a new point is passed back.


newPoint

void newPoint(double x,
              double y,
              double m)
This method is called whenever a new point is passed back.


newPoint

void newPoint(double x,
              double y,
              double m,
              double z)
This method is called whenever a new point is passed back.


getGeometry

java.lang.Object getGeometry()
This method is called finally, to get the object constructed.