|
LuciadCPillar C# 2026.0.09
|
Allows you to specify which handles are used by this handles provider. More...
Public Member Functions | |
| Luciad.Edit.Handles.IEditHandle | CreateAppendPointHandle (Luciad.Utils.Observable< Luciad.Geometries.Polyline > polyline, Luciad.Edit.Handles.IPointEditAction editAction, Luciad.Edit.Features.FeatureEditContext context) |
Creates a handle that allows you to insert a new point at the end of a Polyline. | |
| Luciad.Edit.Handles.IEditHandle | CreateElevationPointHandle (Luciad.Utils.Observable< Luciad.Geometries.Polyline > polyline, uint pointIndex, Luciad.Edit.Handles.IPointEditAction editAction, Luciad.Edit.Features.FeatureEditContext context) |
Creates a handle that allows you to change the elevation of the point of a Polyline. | |
| Luciad.Edit.Handles.IEditHandle | CreateInsertPointHandle (Luciad.Utils.Observable< Luciad.Geometries.Polyline > polyline, uint insertIndex, Luciad.Edit.Handles.IPointEditAction editAction, Luciad.Edit.Features.FeatureEditContext context) |
Creates a handle that allows you to insert a new point between two existing points of a Polyline. | |
| Luciad.Edit.Handles.IEditHandle | CreateMovePointHandle (Luciad.Utils.Observable< Luciad.Geometries.Polyline > polyline, uint pointIndex, Luciad.Edit.Handles.IPointEditAction editAction, Luciad.Edit.Features.FeatureEditContext context) |
Creates a handle that allows you to move a point of the Polyline. | |
| Luciad.Edit.Handles.IEditHandle | CreatePrependPointHandle (Luciad.Utils.Observable< Luciad.Geometries.Polyline > polyline, Luciad.Edit.Handles.IPointEditAction editAction, Luciad.Edit.Features.FeatureEditContext context) |
Creates a handle that allows you to insert a new point at the start of a Polyline. | |
| Luciad.Edit.Handles.IEditHandle | CreateRemovePointHandle (Luciad.Utils.Observable< Luciad.Geometries.Polyline > polyline, uint pointIndex, Luciad.Edit.Handles.IPointEditAction editAction, Luciad.Edit.Features.FeatureEditContext context) |
Creates a handle that allows you to remove a point of the Polyline. | |
| bool | IsAppendPointHandleValid (Luciad.Edit.Handles.IEditHandle appendPointHandle, Luciad.Utils.Observable< Luciad.Geometries.Polyline > polyline, Luciad.Edit.Features.FeatureEditContext context) |
| Returns true if the given handle is still valid, or false if it should be removed. | |
| bool | IsElevationPointHandleValid (Luciad.Edit.Handles.IEditHandle elevationPointHandle, Luciad.Utils.Observable< Luciad.Geometries.Polyline > polyline, uint pointIndex, Luciad.Edit.Features.FeatureEditContext context) |
| Returns true if the given handle is still valid, or false if it should be removed. | |
| bool | IsInsertPointHandleValid (Luciad.Edit.Handles.IEditHandle insertPointHandle, Luciad.Utils.Observable< Luciad.Geometries.Polyline > polyline, uint insertIndex, Luciad.Edit.Features.FeatureEditContext context) |
| Returns true if the given handle is still valid, or false if it should be removed. | |
| bool | IsMovePointHandleValid (Luciad.Edit.Handles.IEditHandle movePointHandle, Luciad.Utils.Observable< Luciad.Geometries.Polyline > polyline, uint pointIndex, Luciad.Edit.Features.FeatureEditContext context) |
| Returns true if the given handle is still valid, or false if it should be removed. | |
| bool | IsPrependPointHandleValid (Luciad.Edit.Handles.IEditHandle prependPointHandle, Luciad.Utils.Observable< Luciad.Geometries.Polyline > polyline, Luciad.Edit.Features.FeatureEditContext context) |
| Returns true if the given handle is still valid, or false if it should be removed. | |
| bool | IsRemovePointHandleValid (Luciad.Edit.Handles.IEditHandle removePointHandle, Luciad.Utils.Observable< Luciad.Geometries.Polyline > polyline, uint pointIndex, Luciad.Edit.Features.FeatureEditContext context) |
| Returns true if the given handle is still valid, or false if it should be removed. | |
Allows you to specify which handles are used by this handles provider.
It allows you to:
Additional handles can not be added using this factory. The way to do this is to wrap the IEditHandles provided by PolylineHandlesProvider, and to insert additional handles in the IEditHandles.GetList method.
| Luciad.Edit.Handles.IEditHandle Luciad.Edit.Geometries.PolylineHandlesProvider.IHandleFactory.CreateAppendPointHandle | ( | Luciad.Utils.Observable< Luciad.Geometries.Polyline > | polyline, |
| Luciad.Edit.Handles.IPointEditAction | editAction, | ||
| Luciad.Edit.Features.FeatureEditContext | context ) |
Creates a handle that allows you to insert a new point at the end of a Polyline.
While the handle is not already present, this method is called whenever the edited geometry changes.
| polyline | the Geometry that is being edited |
| editAction | the edit action that inserts the point at the end of the polyline. If a constraint was configured on the handles provider, this action applies that constraint when it is executed, providing a PolylineChange parameter with one inserted point index equal to pointCount (of the new polyline). |
| context | the context |
| Luciad.Edit.Handles.IEditHandle Luciad.Edit.Geometries.PolylineHandlesProvider.IHandleFactory.CreateElevationPointHandle | ( | Luciad.Utils.Observable< Luciad.Geometries.Polyline > | polyline, |
| uint | pointIndex, | ||
| Luciad.Edit.Handles.IPointEditAction | editAction, | ||
| Luciad.Edit.Features.FeatureEditContext | context ) |
Creates a handle that allows you to change the elevation of the point of a Polyline.
This method is only called when a 3D Map is used. While the handle is not already present, this method is called whenever the edited geometry changes.
| polyline | the Geometry that is being edited |
| pointIndex | the index of the point to move/remove |
| editAction | the move-point edit action, to be used by the handle. If a constraint was configured on the handles provider, this action applies that constraint when it is executed, providing a PolylineChange parameter with one moved point index. |
| context | the context |
| Luciad.Edit.Handles.IEditHandle Luciad.Edit.Geometries.PolylineHandlesProvider.IHandleFactory.CreateInsertPointHandle | ( | Luciad.Utils.Observable< Luciad.Geometries.Polyline > | polyline, |
| uint | insertIndex, | ||
| Luciad.Edit.Handles.IPointEditAction | editAction, | ||
| Luciad.Edit.Features.FeatureEditContext | context ) |
Creates a handle that allows you to insert a new point between two existing points of a Polyline.
While the handle is not already present, this method is called whenever the edited geometry changes.
| polyline | the Geometry that is being edited |
| insertIndex | the index at which to insert a point in the Polyline. After the point is inserted, the new point will have this index. Values lie within [1, pointCount - 1] |
| editAction | the edit action that inserts the point. If a constraint was configured on the handles provider, this action applies that constraint when it is executed, providing a PolylineChange parameter with one inserted point index. |
| context | the context |
| Luciad.Edit.Handles.IEditHandle Luciad.Edit.Geometries.PolylineHandlesProvider.IHandleFactory.CreateMovePointHandle | ( | Luciad.Utils.Observable< Luciad.Geometries.Polyline > | polyline, |
| uint | pointIndex, | ||
| Luciad.Edit.Handles.IPointEditAction | editAction, | ||
| Luciad.Edit.Features.FeatureEditContext | context ) |
Creates a handle that allows you to move a point of the Polyline.
While the handle is not already present, this method is called whenever the edited geometry changes.
| polyline | the Geometry that is being edited |
| pointIndex | the index of the point to move |
| editAction | the move-point edit action, to be used by the handle. If a constraint was configured on the handles provider, this action applies that constraint when it is executed, providing a PolylineChange parameter with one moved point index. |
| context | the context |
| Luciad.Edit.Handles.IEditHandle Luciad.Edit.Geometries.PolylineHandlesProvider.IHandleFactory.CreatePrependPointHandle | ( | Luciad.Utils.Observable< Luciad.Geometries.Polyline > | polyline, |
| Luciad.Edit.Handles.IPointEditAction | editAction, | ||
| Luciad.Edit.Features.FeatureEditContext | context ) |
Creates a handle that allows you to insert a new point at the start of a Polyline.
While the handle is not already present, this method is called whenever the edited geometry changes.
| polyline | the Geometry that is being edited |
| editAction | the edit action that inserts the point at the start of the polyline. If a constraint was configured on the handles provider, this action applies that constraint when it is executed, providing a PolylineChange parameter with one inserted point index equal to 0. |
| context | the context |
| Luciad.Edit.Handles.IEditHandle Luciad.Edit.Geometries.PolylineHandlesProvider.IHandleFactory.CreateRemovePointHandle | ( | Luciad.Utils.Observable< Luciad.Geometries.Polyline > | polyline, |
| uint | pointIndex, | ||
| Luciad.Edit.Handles.IPointEditAction | editAction, | ||
| Luciad.Edit.Features.FeatureEditContext | context ) |
Creates a handle that allows you to remove a point of the Polyline.
While the handle is not already present, this method is called whenever the edited geometry changes.
| polyline | the Geometry that is being edited |
| pointIndex | the index of the point to remove |
| editAction | the remove-point edit action, to be used by the handle. If a constraint was configured on the handles provider, this action applies that constraint when it is executed, providing a PolylineChange parameter with one removed point index. |
| context | the context |
| bool Luciad.Edit.Geometries.PolylineHandlesProvider.IHandleFactory.IsAppendPointHandleValid | ( | Luciad.Edit.Handles.IEditHandle | appendPointHandle, |
| Luciad.Utils.Observable< Luciad.Geometries.Polyline > | polyline, | ||
| Luciad.Edit.Features.FeatureEditContext | context ) |
Returns true if the given handle is still valid, or false if it should be removed.
This method is called whenever the edited geometry changes and allows the factory to dynamically disable or re-create specific edit handles. When this method returns false, the handle is removed and CreateAppendPointHandle is called, in case the handle should immediately be re-created. If the handle should remain absent, make sure to also return null in that method.
| appendPointHandle | the handle |
| polyline | the Geometry that is being edited |
| context | the context |
| bool Luciad.Edit.Geometries.PolylineHandlesProvider.IHandleFactory.IsElevationPointHandleValid | ( | Luciad.Edit.Handles.IEditHandle | elevationPointHandle, |
| Luciad.Utils.Observable< Luciad.Geometries.Polyline > | polyline, | ||
| uint | pointIndex, | ||
| Luciad.Edit.Features.FeatureEditContext | context ) |
Returns true if the given handle is still valid, or false if it should be removed.
This method is called whenever the edited geometry changes and allows the factory to dynamically disable or re-create specific edit handles. When this method returns false, the handle is removed and CreateElevationPointHandle is called, in case the handle should immediately be re-created. If the handle should remain absent, make sure to also return null in that method.
| elevationPointHandle | the handle |
| polyline | the Geometry that is being edited |
| pointIndex | the index of the point |
| context | the context |
| bool Luciad.Edit.Geometries.PolylineHandlesProvider.IHandleFactory.IsInsertPointHandleValid | ( | Luciad.Edit.Handles.IEditHandle | insertPointHandle, |
| Luciad.Utils.Observable< Luciad.Geometries.Polyline > | polyline, | ||
| uint | insertIndex, | ||
| Luciad.Edit.Features.FeatureEditContext | context ) |
Returns true if the given handle is still valid, or false if it should be removed.
This method is called whenever the edited geometry changes and allows the factory to dynamically disable or re-create specific edit handles. When this method returns false, the handle is removed and CreateInsertPointHandle is called, in case the handle should immediately be re-created. If the handle should remain absent, make sure to also return null in that method.
| insertPointHandle | the handle |
| polyline | the Geometry that is being edited |
| insertIndex | the insertion index |
| context | the context |
| bool Luciad.Edit.Geometries.PolylineHandlesProvider.IHandleFactory.IsMovePointHandleValid | ( | Luciad.Edit.Handles.IEditHandle | movePointHandle, |
| Luciad.Utils.Observable< Luciad.Geometries.Polyline > | polyline, | ||
| uint | pointIndex, | ||
| Luciad.Edit.Features.FeatureEditContext | context ) |
Returns true if the given handle is still valid, or false if it should be removed.
This method is called whenever the edited geometry changes and allows the factory to dynamically disable or re-create specific edit handles. When this method returns false, the handle is removed and CreateMovePointHandle is called, in case the handle should immediately be re-created. If the handle should remain absent, make sure to also return null in that method.
| movePointHandle | the handle |
| polyline | the Geometry that is being edited |
| pointIndex | the index of the point |
| context | the context |
| bool Luciad.Edit.Geometries.PolylineHandlesProvider.IHandleFactory.IsPrependPointHandleValid | ( | Luciad.Edit.Handles.IEditHandle | prependPointHandle, |
| Luciad.Utils.Observable< Luciad.Geometries.Polyline > | polyline, | ||
| Luciad.Edit.Features.FeatureEditContext | context ) |
Returns true if the given handle is still valid, or false if it should be removed.
This method is called whenever the edited geometry changes and allows the factory to dynamically disable or re-create specific edit handles. When this method returns false, the handle is removed and CreatePrependPointHandle is called, in case the handle should immediately be re-created. If the handle should remain absent, make sure to also return null in that method.
| prependPointHandle | the handle |
| polyline | the Geometry that is being edited |
| context | the context |
| bool Luciad.Edit.Geometries.PolylineHandlesProvider.IHandleFactory.IsRemovePointHandleValid | ( | Luciad.Edit.Handles.IEditHandle | removePointHandle, |
| Luciad.Utils.Observable< Luciad.Geometries.Polyline > | polyline, | ||
| uint | pointIndex, | ||
| Luciad.Edit.Features.FeatureEditContext | context ) |
Returns true if the given handle is still valid, or false if it should be removed.
This method is called whenever the edited geometry changes and allows the factory to dynamically disable or re-create specific edit handles. When this method returns false, the handle is removed and CreateRemovePointHandle is called, in case the handle should immediately be re-created. If the handle should remain absent, make sure to also return null in that method.
| removePointHandle | the handle |
| polyline | the Geometry that is being edited |
| pointIndex | the index of the point |
| context | the context |