Package-level declarations
Types
Link copied to clipboard
data class IntersectionData<V : Vector<V>>(val type: IntersectionType, val point: V? = null, val segment: Pair<V, V>? = null)
Represents the result of an intersection operation between geometric segments.
Link copied to clipboard
Represents the type of intersection between two segments.
Functions
Link copied to clipboard
fun computeIntersection(segment1: Segment2<*>, segment2: Segment2<*>, equivalence: DoubleEquivalence = DEFAULT_DOUBLE_EQUIVALENCE): Vec2
Computes the intersection point of two segments.