Pair
public struct Pair
extension ClosedShape2Intersection.Pair: Equatable where Vector: Equatable
extension ClosedShape2Intersection.Pair: Hashable where Vector: Hashable
A pair of entrance/exit intersection points.
The definition of entrance/exit is dependant on the shapes intersected,
and the only requirement is that within the same ClosedShape2Intersection
,
each pair is expected to be connectable entrance-to-exit with its
succeeding pair.
-
The entrance point of the intersection.
Declaration
Swift
public var enter: PointNormal<Vector>
-
The exit point of the intersection.
Declaration
Swift
public var exit: PointNormal<Vector>
-
Declaration
Swift
public init(enter: PointNormal<Vector>, exit: PointNormal<Vector>)