Segment

constructor(start: FlatPoint, end: FlatPoint)

Builds the segment between two flat points.

Lifts each endpoint to a RoundPoint and delegates to the round-point constructor, which caches the lifts as Segment.start/Segment.end. Cannot produce an imaginary segment: two distinct flat points always wedge into a real blade.

Parameters

start

The first endpoint.

end

The second endpoint.

Throws

When the endpoints coincide at the SCALE quantum — coincident points span no segment.


constructor(start: RoundPoint, end: RoundPoint)

Builds the segment between two round points.

Wedges the endpoints into the wrapped Dipole and keeps them, so Segment.start/Segment.end return these very instances. Imaginary or at-infinity endpoints flow through to the blade — first-class data, never an error.

Parameters

start

The first endpoint.

end

The second endpoint.

Throws

When the endpoints coincide at the SCALE quantum — coincident points span no segment.