Package-level declarations
The action tier for the composites: shape * versor moves a segment by its endpoints and a polyline or polygon vertex-by-vertex, with the same * Motor / * Flector / * Versor trio per shape. Results carry full raw Double precision, and each form is generic over the receiver's type — the moved geometry returns through the shape's copy hook, so a subclass overriding it comes back as its own class.
| Pairing | Result |
|---|---|
Segment * MotorSegment * Flector | the segment of the moved endpoints |
Polyline * MotorPolyline * Flector | the polyline of the moved vertices |
Polygon * MotorPolygon * Flector | the polygon of the moved vertices; a flector reverses the winding |
Degenerate inputs: a chain whose consecutive vertices lie within a SCALE quantum of each other can come back rounded-coincident, throwing DegeneratePolylineException or DegeneratePolygonException; Segment * versor never throws.
Functions
Polygon * Flector => Polygon
Returns this polygon reflected by flector's mirror motion — same shape, reversed winding.
Polygon * Motor => Polygon
Returns this polygon moved by motor's rigid motion.
Polygon * Versor => Polygon
Returns this polygon moved by versor.
Polyline * Flector => Polyline
Returns this polyline reflected by flector's mirror motion.
Polyline * Motor => Polyline
Returns this polyline moved by motor's rigid motion.
Polyline * Versor => Polyline
Returns this polyline moved by versor.
Segment * Flector => Segment
Returns this segment reflected by flector's mirror motion.
Segment * Motor => Segment
Returns this segment moved by motor's rigid motion.
Segment * Versor => Segment
Returns this segment moved by versor.