Capsule3

public extension Capsule3
extension Capsule3: SignedDistanceMeasurableType where Vector: VectorFloatingPoint
  • Returns a Cylinder3 with the same start, end, and radius parameter sas this capsule.

    Declaration

    Swift

    var asCylinder: Cylinder3<Vector> { get }

Available where Vector: VectorFloatingPoint

  • Declaration

    Swift

    public func signedDistance(to point: Vector) -> Vector.Scalar