Line3
data class Line3(val direction: Vec3, val moment: Vec3, val precision: DoubleEquivalence = DEFAULT_DOUBLE_EQUIVALENCE) : Line<Vector3<*>> (source)
Represents a line in 3D space defined by a direction vector and a moment (point offset).
The line is stored in Plücker form using a unit direction vector and a moment vector computed as point × direction for any point on the line. This representation allows stable distance and side classification while remaining translation invariant.
Constructors
Link copied to clipboard
constructor(direction: Vec3, moment: Vec3, precision: DoubleEquivalence = DEFAULT_DOUBLE_EQUIVALENCE)
Properties
Link copied to clipboard
The precision used for geometric computations, defaulting to DEFAULT_DOUBLE_EQUIVALENCE.