LuciadCPillar C# 2024.0.08
|
A constraint on Point
editing.
More...
Public Member Functions | |
Luciad.Geometries.Point | Apply (Luciad.Geometries.Point oldPoint, Luciad.Geometries.Point newPoint, Luciad.Geometries.Constraints.PointChange change) |
Applies this constraint on a pending change. More... | |
Luciad.Geometries.Point | Apply (Luciad.Geometries.Point point) |
Applies this constraint on a point without a (known) change. More... | |
A constraint on Point
editing.
This can for example be configured on a PointHandlesProvider
.
Luciad.Geometries.Point Luciad.Geometries.Constraints.IPointConstraint.Apply | ( | Luciad.Geometries.Point | oldPoint, |
Luciad.Geometries.Point | newPoint, | ||
Luciad.Geometries.Constraints.PointChange | change | ||
) |
Applies this constraint on a pending change.
oldPoint | the base Point on which the change is performed, cannot be null . |
newPoint | the result of the change, without any constraints applied, cannot be null . |
change | the change that was applied. |
Point
, after applying this constraint on the pending change. If the constraint does not apply, simply return the newPoint
. Cannot be null
. Luciad.Geometries.Point Luciad.Geometries.Constraints.IPointConstraint.Apply | ( | Luciad.Geometries.Point | point | ) |
Applies this constraint on a point without a (known) change.
point | the point to constrain, cannot be null . |
point
. Cannot be null
.