|
LuciadCPillar C# 2026.0
|
This handles provider can create handles to edit Polygon geometries.
More...
Public Member Functions | |
| PolygonHandlesProvider () | |
Creates a new handles provider that can create handles for a Polygon geometry. | |
| bool | CanProvide (Luciad.Utils.Observable< Luciad.Geometries.Geometry > geometry, Luciad.Edit.Features.FeatureEditContext context) |
| Indicates if this handles provider can create handles for the given geometry. | |
| void | Dispose () |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
| Luciad.Edit.Handles.IEditHandles | Provide (Luciad.Utils.Observable< Luciad.Geometries.Geometry > geometry, Luciad.Edit.Features.FeatureEditContext context, Luciad.Edit.Geometries.IGeometryEditCallback geometryEditCallback) |
| Returns the handles for the given feature. | |
| Luciad.Edit.Handles.ITranslateEditAction | ProvideTranslateAction (Luciad.Utils.Observable< Luciad.Geometries.Geometry > geometry, Luciad.Edit.Features.FeatureEditContext context, Luciad.Edit.Geometries.IGeometryEditCallback geometryEditCallback) |
| Provides a translate action that can be used by the caller to add translation behavior. | |
Properties | |
| Luciad.Edit.Geometries.IGeometryHandlesProvider | PolylineRingHandlesProvider [get, set] |
The IGeometryHandlesProvider that is used to provide handles for the exterior and interior PolylineRing instances. | |
This handles provider can create handles to edit Polygon geometries.
It delegates its handle creation to a delegate IGeometryHandlesProvider for its exterior and interior PolylineRing instances.
Note: the handle to translate the entire feature is typically created by the IFeatureHandlesProvider. FeatureHandlesProvider does this by default.
Limitations of this handle provider:
PolylineRing instances PolylineRing instances PolylineRing instances that overlap with other PolylineRing instances, or that self-overlap.
|
inline |
Creates a new handles provider that can create handles for a Polygon geometry.
|
inline |
Indicates if this handles provider can create handles for the given geometry.
| geometry | an observable geometry, cannot be null |
| context | the context. Contains additional information about the edited feature, cannot be null. |
Feature Implements Luciad.Edit.Geometries.IGeometryHandlesProvider.
|
inline |
|
inline |
|
inline |
|
inline |
Returns the handles for the given feature.
Note: translation of features is handled by IFeatureHandlesProvider. So geometry handles providers should not provide handles to translate a geometry.
| geometry | the observable geometry for which to provide handles, cannot be null. |
| context | the context. Contains additional information about the edited feature, cannot be null. |
| geometryEditCallback | a callback that notifies the caller when the Feature has changed, cannot be null. |
Implements Luciad.Edit.Geometries.IGeometryHandlesProvider.
|
inline |
Provides a translate action that can be used by the caller to add translation behavior.
A translation handle is typically added by an IFeatureHandlesProvider, for example the FeatureHandlesProvider implementation. It calls this method to retrieve a translate action, and uses it to create a TranslateEditHandle.
When ITranslateEditAction.Translate is called, the returned implementation must:
IGeometryHandlesProvider's constraint (if configured) to the translated geometry IGeometryEditCallback with the resulting geometry | geometry | the observable geometry for which to provide a translate action, cannot be null |
| context | the context, cannot be null |
| geometryEditCallback | a callback that notifies the caller of this method when a translation has occurred, cannot be null |
Implements Luciad.Edit.Geometries.IGeometryHandlesProvider.
|
getset |
The IGeometryHandlesProvider that is used to provide handles for the exterior and interior PolylineRing instances.
Returns the IGeometryHandlesProvider that is used to provide handles for the exterior and interior PolylineRing instances.
Sets the IGeometryHandlesProvider that is used to provide handles for the exterior and interior PolylineRing instances. If this method is not called, a default implementation is used.
| System.ArgumentNullException | when null is passed. |