PlaneType

public protocol PlaneType : GeometricType

Represents a plane in N-dimensional space with a center point and a normal vector.

  • The vector for this plane.

    Declaration

    Swift

    associatedtype Vector : VectorFloatingPoint
  • A point that is on this plane.

    Declaration

    Swift

    var pointOnPlane: Vector { get }
  • A normal vector specifying the slope- or ‘up’, of the plane’s surface.

    Declaration

    Swift

    var normal: Vector { get }