Feature is a spatial object. A feature has an associated shape. A feature may have a shape with more than one geometry.
More...
#include <gdb_feature_edit.h>
Feature is a spatial object. A feature has an associated shape. A feature may have a shape with more than one geometry.
◆ Properties
Feature editor properties.
| Enumerator |
|---|
| kIFE_Flags | Propertiy Flags to control the feature editor operations.
|
◆ Flags
Feature editor property Flags.
| Enumerator |
|---|
| kForceKeepHistory | This flag enforces the feature editor to save history after editing.
|
◆ SetFOID()
| virtual GDBResult SDK_CALLTYPE SetFOID |
( |
const SDKAny & |
foid | ) |
|
| throw | ( | |
| ) | | |
|
pure virtual |
Sets a feature unique identifier to the feature object.
- Parameters
-
| foid | [in] Feature object global identifier. |
- Returns
- kSDKResult_Succeeded
-
kSDKResult_InternalError - Internal error occurred
-
kSDKResult_InvalidArgument
◆ SetShape()
| virtual GDBResult SDK_CALLTYPE SetShape |
( |
sdk::geometry::IGeometry * |
geometry | ) |
|
| throw | ( | |
| ) | | |
|
pure virtual |
Sets a geometry associated with this feature.
- Parameters
-
| [in] | geometry | Pointer to the IGeometry interface associated. |
- Returns
- kSDKResult_Succeeded
-
kSDKResult_NotImplemented
-
kSDKResult_InvalidArgument
◆ AddSlave()
| virtual GDBResult SDK_CALLTYPE AddSlave |
( |
IFeatureEdit ** |
slave_feature | ) |
|
| throw | ( | |
| ) | | |
|
pure virtual |
Creates a new feature and adds it as a slave to the master one. This method was introduced for performance reasons.
- Parameters
-
| [out] | slave_feature | IFeatureEdit interface associated with the created slave feature. |
- Returns
- kSDKResult_Succeeded
-
kSDKResult_NotImplemented
◆ DeleteSlave()
| virtual GDBResult SDK_CALLTYPE DeleteSlave |
( |
IFeature * |
slave_feature | ) |
|
| throw | ( | |
| ) | | |
|
pure virtual |
Breaks off master-slave relation between 2 features. This method was introduced for performance reasons.
- Parameters
-
| [in] | slave_feature | IFeature interface associated with the slave feature. |
- Returns
- kSDKResult_Succeeded
-
kSDKResult_NotImplemented
◆ GetGeometryEditor()
Returns the geometry editor associated with this feature.
- Parameters
-
| [out] | geometry_edit | IGeometryEdit interface associated with this feature. |
- Returns
- kSDKResult_Succeeded
-
kSDKResult_NotImplemented
The documentation for this class was generated from the following file: