Mapping Between Geometry and Geometric Types
 
 
 

The FDO API GeometricType enumeration of GeometricProperty gives the client application some knowledge of which geometry types comprise the geometric property so that it can present the user with an intelligent editor for selecting styles for rendering the geometry. In particular, GeometricType relates to shape dimensionality of geometries allowed in FDO geometric properties. The nearest analogues in the Geometry API are:

The GeometricType enumeration is as follows:

NoteThe enumeration defines a bit mask and the GetGeometricTypes and SetGeometricTypes methods take and return an integer. This is to allow a geometry property to be of more than one type. For example, the call:   geometricProperty.SetGeometricTypes(Point | Surface);                    would allow the geometric property to represent either point type geometry or surface type geometry (polygons).