Ellipse3
public extension Ellipse3
public extension Ellipse3 where Vector: VectorReal
extension Ellipse3: ProjectiveSpace where Vector: Vector3Real
extension Ellipse3: SphereProjectiveSpace where Vector: Vector3Real
extension Ellipse3: Convex3Type where Vector: Vector3Real
-
Declaration
Swift
var radiusX: Scalar { get set }
-
Declaration
Swift
var radiusY: Scalar { get set }
-
Declaration
Swift
var radiusZ: Scalar { get set }
-
Declaration
Swift
init(center: Vector, radiusX: Scalar, radiusY: Scalar, radiusZ: Scalar)
-
Returns
true
if the point described by the given coordinates is contained within this ellipse.The method returns
true
for points that lie on the outer perimeter of the ellipse (inclusive)Declaration
Swift
func contains(x: Scalar, y: Scalar, z: Scalar) -> Bool
-
Declaration
Swift
@inlinable public func attemptProjection(_ vector: Vector) -> SphereCoordinates<Scalar>?
-
Declaration
Swift
@inlinable public func projectOut(_ proj: SphereCoordinates<Scalar>) -> Vector