AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

MgGeometricPropertyDefinition Class Reference
[MgGeometricPropertyDefinition]

Inherits MgPropertyDefinition.

List of all members.


Detailed Description

Defines a geometric property belonging to a feature class.

Public Member Functions

INT32 GetGeometryTypes ()
 Gets the MgFeatureGeometricType types which specify the categories of the geometries (point, line, surface, solid) that can be stored in this geometric property.
bool GetHasElevation ()
 
bool GetHasMeasure ()
 
bool GetReadOnly ()
 
STRING GetSpatialContextAssociation ()
 
MgGeometryTypeInfoGetSpecificGeometryTypes ()
 
 MgGeometricPropertyDefinition (CREFSTRING name)
 Constructs an MgGeometricPropertyDefinition object.
void SetGeometryTypes (INT32 types)
 
void SetHasElevation (bool hasElevation)
 Determines whether the geometry contained in this property can include elevation values, that is, whether the coordinates in the geometry contain Z-ordinates.
void SetHasMeasure (bool hasMeasure)
 Determines whether the points in the geometry contained in this property can include a measurement value (M-ordinate).
void SetReadOnly (bool value)
 Determines whether this geometric property is read-only.
void SetSpatialContextAssociation (CREFSTRING spatialContextName)
 Sets a Spatial Context association for this geometric property.
void SetSpecificGeometryTypes (MgGeometryTypeInfo *typeInfo)
 Sets the specific list of geometry types that can be stored in this geometric property. The provided value is a list of geometry types that are supported.