Intersection
public enum Intersection
extension LineIntersection.Intersection: Equatable where Vector: Equatable
extension LineIntersection.Intersection: Hashable where Vector: Hashable
Represents an intersection in a LineIntersection
.
-
Represents an intersection that crosses to within the boundaries of the shape.
Declaration
Swift
case enter(LineIntersectionPointNormal<Vector>)
-
Represents an intersection that crosses to the outside of the boundaries of the shape.
Declaration
Swift
case exit(LineIntersectionPointNormal<Vector>)
-
Represents an intersection that is non-directional.
Declaration
Swift
case point(LineIntersectionPointNormal<Vector>)
-
Gets the line intersection point normal associated with this intersection.
Declaration
Swift
public var lineIntersectionPointNormal: LineIntersectionPointNormal<Vector> { get }
-
Gets the point normal associated with this intersection.
Declaration
Swift
public var pointNormal: PointNormal<Vector> { get }