public interface IPolylineRingConstraint
PolylineRing
.
This can be configured on a PolylineRingHandlesProvider
.
Modifier and Type | Method and Description |
---|---|
PolylineRing |
apply(PolylineRing polylineRing)
Applies this constraint on a polyline ring without a (known) change.
|
PolylineRing |
apply(PolylineRing oldPolylineRing,
PolylineRing newPolylineRing,
PolylineChange changes)
Applies this constraint on a pending change.
|
@NotNull PolylineRing apply(@NotNull PolylineRing oldPolylineRing, @NotNull PolylineRing newPolylineRing, @NotNull PolylineChange changes)
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.null
. If the constraint does not apply, simply return the newPolylineRing
.@NotNull PolylineRing apply(@NotNull PolylineRing polylineRing)
polylineRing
- the polyline ring to constrain, cannot be null
.polylineRing
. Cannot be null
.