A constraint on PolylineRing
.
More...
A constraint on PolylineRing
.
This can be configured on a PolylineRingHandlesProvider
.
- Since
- 2020.1
◆ Apply() [1/2]
Applies this constraint on a pending change.
- Parameters
-
oldPolylineRing | the base polyline ring on which the change is performed, cannot be null . |
newPolylineRing | the result of the change, without any constraints applied, cannot be null . |
changes | the change that was applied. |
- Returns
- the resulting polyline ring, after applying this constraint on the pending change. Cannot be
null
. If the constraint does not apply, simply return the newPolylineRing
.
◆ Apply() [2/2]
Applies this constraint on a polyline ring without a (known) change.
- Parameters
-
polylineRing | the polyline ring to constrain, cannot be null . |
- Returns
- the resulting polyline ring, after applying this constraint. If the constraint does not apply, simply return the
polylineRing
. Cannot be null
.