IVolumeClassification80
This interface allows you to classify areas of layers and objects, e.g., mesh layers, using polygons. Classification enables you to visually distinguish different areas of the layer and perform spatial and attribute queries.The classification can be represented by colorizing the intersecting layers and objects or by displaying a 3D polygon based on an extrusion of the polygon. Classification is dynamic, reflecting any changes to the polygon features, and requires no pre-processing.
|
Properties |
|
|
Gets and sets the distance of the buffer around the extruded polygon (in meters). This option is only available if Mode is set to 3D_POLYGON or VM_COLORIZE_OBJECTS_AND_LAYERS. |
|
|
Gets and sets the length to extrude the polygon downwards or backwards in the direction of its normal. This option is only available if Mode is set to 3D_POLYGON or VM_COLORIZE_OBJECTS_AND_LAYERS. |
|
|
Gets and sets the length to extrude the polygon upwards or frontwards in the direction of its normal. This option is only available if Mode is set to 3D_POLYGON or VM_COLORIZE_OBJECTS_AND_LAYERS. |
|
|
Gets and sets an enum that determines whether to use the polygon as a classification polygon, and if it is used, how to display it: Classify by colorizing all objects and layers contained within the extruded polygon or Classify by displaying a 3D polygon (based on the extruded polygon). |
|
|
Sets a Boolean that determines whether the 3D polygon is extruded normal to its surface or vertical to the ground. Set Vertical to TRUE to extrude the polygon vertical to the ground. |
Buffer
Gets and sets the distance of the buffer around the extruded polygon (in meters). This option is only available if Mode is set to 3D_POLYGON or VM_COLORIZE_OBJECTS_AND_LAYERS.
JavaScript |
|
Buffer |
C# |
|
double Buffer { get; set; } |
C++ |
|
HRESULT Buffer ([out, retval] double* Val) HRESULT Buffer ([in] double Val) |
ExtrudeDownBack
Gets and sets the length to extrude the polygon downwards or backwards in the direction of its normal. If a polygon’s elevation angle to the ground is less than 20 degrees, the polygon is extruded vertically. If the polygon points were created in a clockwise orientation, then the back is the side opposite the side facing the user. This option is only available if Mode is set to 3D_POLYGON or VM_COLORIZE_OBJECTS_AND_LAYERS.
JavaScript |
|
ExtrudeDownBack |
C# |
|
double ExtrudeDownBack { get; set; } |
C++ |
|
HRESULT ExtrudeDownBack ([out, retval] double* pVal) HRESULT ExtrudeDownBack ([in] double pVal) |
ExtrudeUpFront
Gets and sets the length to extrude the polygon upwards or frontwards in the direction of its normal. If a polygon’s elevation angle to the ground is less than 20 degrees, the polygon is extruded vertically. If the polygon points were created in a clockwise orientation, then the back is the side opposite the side facing the user. This option is only available if Mode is set to 3D_POLYGON or VM_COLORIZE_OBJECTS_AND_LAYERS.
JavaScript |
|
ExtrudeUpFront |
C# |
|
double ExtrudeUpFront { get; set; } |
C++ |
|
HRESULT ExtrudeUpFront ([out, retval] double* pVal) HRESULT ExtrudeUpFront ([in] double pVal) |
Mode
Gets and sets an enum that determines whether to use the polygon as a classification polygon, and if it is used, how to display it: Classify by colorizing all objects and layers contained within the extruded polygon or Classify by displaying a 3D polygon (based on the extruded polygon). The following are the possible values:
§ VM_NONE = 0
§ VM_3D_POLYGON = 1
§ VM_COLORIZE_OBJECTS_AND_LAYERS = 2
JavaScript |
|
Mode |
C# |
|
VolumeMode Mode { get; set; } |
C++ |
|
HRESULT Mode ([out, retval] VolumeMode* pVal) HRESULT Mode ([in] VolumeMode pVal) |
Vertical
Sets a Boolean that determines whether the 3D polygon is extruded normal to its surface or vertical to the ground. Set Vertical to TRUE to extrude the polygon vertical to the ground.
JavaScript |
|
Vertical |
C# |
|
bool Vertical { get; } |
C++ |
|
HRESULT Vertical ([out, retval] VARIANT_BOOL* Val) |