Type Aliases
The following type aliases are available globally.
-
Typealias for
AABB<V>
, whereV
is constrained toVector2Type
.Declaration
Swift
public typealias AABB2<V> = AABB<V> where V : Vector2Type
-
Typealias for
NSphere<V>
, whereV
is constrained toVector2Type
.Declaration
Swift
public typealias Circle2<V> = NSphere<V> where V : Vector2Type
-
Represents a 2D arc of a circle with double-precision floating-point components.
Declaration
Swift
public typealias CircleArc2D = CircleArc2<Vector2D>
-
Represents a 2D arc of a circle with single-precision floating-point components.
Declaration
Swift
public typealias CircleArc2F = CircleArc2<Vector2F>
-
Represents a 2D ray as a pair of double-precision floating-point vectors describing where the ray starts and crosses before being projected to infinity.
Declaration
Swift
public typealias DirectionalRay2D = DirectionalRay2<Vector2D>
-
Represents a 2D line as a pair of single-precision floating-point vectors describing where the ray starts and crosses before being projected to infinity.
Declaration
Swift
public typealias DirectionalRay2F = DirectionalRay2<Vector2F>
-
Typealias for
DirectionalRay<V>
, whereV
is constrained toVector2FloatingPoint
.Declaration
Swift
public typealias DirectionalRay2<V> = DirectionalRay<V> where V : Vector2FloatingPoint
-
Represents a 2D edge inset with double-precision floating-point parameters.
Declaration
Swift
public typealias EdgeInsets2D = EdgeInsets2<Vector2D>
-
Represents a 2D edge inset with single-precision floating-point parameters.
Declaration
Swift
public typealias EdgeInsets2F = EdgeInsets2<Vector2F>
-
Represents a 2D edge inset with integer parameters.
Declaration
Swift
public typealias EdgeInsets2i = EdgeInsets2<Vector2i>
-
Typealias for
Ellipsoid<V>
, whereV
is constrained toVector2Type
.Declaration
Swift
public typealias Ellipse2<V> = Ellipsoid<V> where V : Vector2Type
-
Represents a 2D hyperplane as a pair of double-precision floating-point vectors describing a point on the plane and the plane’s normal.
In 2 dimensions, a hyperplane consists of a 1D line splitting the 2D space into two.
Declaration
Swift
public typealias Hyperplane2D = Hyperplane2<Vector2D>
-
Represents a 2D hyperplane as a pair of single-precision floating-point vectors describing a point on the plane and the plane’s normal.
In 2 dimensions, a hyperplane consists of a 1D line splitting the 2D space into two.
Declaration
Swift
public typealias Hyperplane2F = Hyperplane2<Vector2F>
-
Typealias for
Hyperplane<V>
, whereV
is constrained toVector2FloatingPoint
.In 2 dimensions, a hyperplane consists of a 1D line splitting the 2D space into two.
Declaration
Swift
public typealias Hyperplane2<V> = Hyperplane<V> where V : Vector2FloatingPoint
-
Typealias for
Line<V>
, whereV
is constrained toVector2Type
.Declaration
Swift
public typealias Line2<V> = Line<V> where V : Vector2Type
-
Represents a 2D polygon as a series of connected double-precision floating-point 2D vertices.
Declaration
Swift
public typealias LinePolygon2D = LinePolygon2<Vector2D>
-
Represents a 2D polygon as a series of connected single-precision floating-point 2D vertices.
Declaration
Swift
public typealias LinePolygon2F = LinePolygon2<Vector2F>
-
Represents a 2D polygon as a series of connected integer 2D vertices.
Declaration
Swift
public typealias LinePolygon2i = LinePolygon2<Vector2i>
-
Typealias for
LinePolygon<V>
, whereV
is constrained toVector2Type
.Declaration
Swift
public typealias LinePolygon2<V> = LinePolygon<V> where V : Vector2Type
-
Represents a 2D line segment as a pair of double-precision floating-point start and end vectors.
Declaration
Swift
public typealias LineSegment2D = LineSegment2<Vector2D>
-
Represents a 2D line segment as a pair of single-precision floating-point start and end vectors.
Declaration
Swift
public typealias LineSegment2F = LineSegment2<Vector2F>
-
Represents a 2D line segment as a pair of integer start and end vectors.
Declaration
Swift
public typealias LineSegment2i = LineSegment2<Vector2i>
-
Typealias for
LineSegment<V>
, whereV
is constrained toVector2Type
.Declaration
Swift
public typealias LineSegment2<V> = LineSegment<V> where V : Vector2Type
-
A point-cloud composed of two-dimensional vector points.
Declaration
Swift
public typealias PointCloud2<Vector> = PointCloud<Vector> where Vector : Vector2Type
-
A point-cloud composed of two-dimensional vector points of double-precision floating-point type.
Declaration
Swift
public typealias PointCloud2D = PointCloud2<Vector2D>
-
A point-cloud composed of two-dimensional vector points of single-precision floating-point type.
Declaration
Swift
public typealias PointCloud2F = PointCloud2<Vector2F>
-
Represents a 2D plane as a pair of double-precision floating-point vectors describing a point on the plane and the plane’s normal.
Declaration
Swift
public typealias PointNormalPlane2D = PointNormalPlane2<Vector2D>
-
Represents a 2D plane as a pair of single-precision floating-point vectors describing a point on the plane and the plane’s normal.
Declaration
Swift
public typealias PointNormalPlane2F = PointNormalPlane2<Vector2F>
-
Typealias for
PointNormalPlane<V>
, whereV
is constrained toVector2FloatingPoint
.Declaration
Swift
public typealias PointNormalPlane2<V> = PointNormalPlane<V> where V : Vector2FloatingPoint
-
Typealias for
Ray<V>
, whereV
is constrained toVector2Type
.Declaration
Swift
public typealias Ray2<V> = Ray<V> where V : Vector2Type
-
Represents a double-precision floating-point 2D rectangle.
Declaration
Swift
public typealias Rectangle2D = Rectangle2<Vector2D>
-
Represents a single-precision floating-point 2D rectangle.
Declaration
Swift
public typealias Rectangle2F = Rectangle2<Vector2F>
-
Represents an integer 2D rectangle.
Declaration
Swift
public typealias Rectangle2i = Rectangle2<Vector2i>
-
Typealias for
NRectangle<V>
, whereV
is constrained toVector2Type
.Declaration
Swift
public typealias Rectangle2<V> = NRectangle<V> where V : Vector2Type
-
Represents a 2D rounded rectangle with double-precision floating-point bounds and X and Y radius.
Declaration
Swift
public typealias RoundRectangle2D = RoundRectangle2<Vector2D>
-
Represents a 2D rounded rectangle with single-precision floating-point bounds and X and Y radius.
Declaration
Swift
public typealias RoundRectangle2F = RoundRectangle2<Vector2F>
-
Represents a 2D rounded rectangle with integer bounds and X and Y radius.
Declaration
Swift
public typealias RoundRectangle2i = RoundRectangle2<Vector2i>
-
Represents a 2D rounded rectangle with rectangular bounds and X and Y radius.
Declaration
Swift
public typealias RoundRectangle2<Vector> = RoundNRectangle<Vector> where Vector : Vector2Type
-
Typealias for
NSquare<V>
, whereV
is constrained toVector2Type
.Declaration
Swift
public typealias Square2<V> = NSquare<V> where V : Vector2Type
-
Represents a regular 2-dimensional Stadium as a pair of end points and a radius.
Typealias for
NCapsule<V>
, whereV
is constrained toVector2Type
.Declaration
Swift
public typealias Stadium2<V> = NCapsule<V> where V : Vector2Type
-
Typealias for
Triangle<V>
, whereV
is constrained toVector2Type
.Declaration
Swift
public typealias Triangle2<V> = Triangle<V> where V : Vector2Type
-
Represents a 2D point with two double-precision floating-point components
Declaration
Swift
public typealias Vector2D = Vector2<Double>
-
Represents a 2D point with two single-precision floating-point components
Declaration
Swift
public typealias Vector2F = Vector2<Float>
-
Represents a 2D point with two
Int
componentsDeclaration
Swift
public typealias Vector2i = Vector2<Int>
-
Typealias for
AABB<V>
, whereV
is constrained toVector3Type
.Declaration
Swift
public typealias AABB3<V> = AABB<V> where V : Vector3Type
-
Typealias for
NCapsule<V>
, whereV
is constrained toVector3Type
.Declaration
Swift
public typealias Capsule3<V> = NCapsule<V> where V : Vector3Type
-
Typealias for
NSquare<V>
, whereV
is constrained toVector3Type
.Declaration
Swift
public typealias Cube3<V> = NSquare<V> where V : Vector3Type
-
Represents a 3D ray as a pair of double-precision floating-point vectors describing where the ray starts and crosses before being projected to infinity.
Declaration
Swift
public typealias DirectionalRay3D = DirectionalRay3<Vector3D>
-
Represents a 3D line as a pair of single-precision floating-point vectors describing where the ray starts and crosses before being projected to infinity.
Declaration
Swift
public typealias DirectionalRay3F = DirectionalRay3<Vector3F>
-
Typealias for
DirectionalRay3<V>
, whereV
is constrained toVector3FloatingPoint
.Declaration
Swift
public typealias DirectionalRay3<V> = DirectionalRay<V> where V : Vector3FloatingPoint
-
Typealias for
Ellipsoid<V>
, whereV
is constrained toVector3Type
.Declaration
Swift
public typealias Ellipse3<V> = Ellipsoid<V> where V : Vector3Type
-
Represents a 3D hyperplane as a pair of double-precision floating-point vectors describing a point on the plane and the plane’s normal.
In 3 dimensions, a hyperplane consists of a 2D surface splitting the 3D space into two.
Declaration
Swift
public typealias Hyperplane3D = Hyperplane3<Vector3D>
-
Represents a 3D hyperplane as a pair of single-precision floating-point vectors describing a point on the plane and the plane’s normal.
In 3 dimensions, a hyperplane consists of a 2D surface splitting the 3D space into two.
Declaration
Swift
public typealias Hyperplane3F = Hyperplane3<Vector3F>
-
Typealias for
Hyperplane<V>
, whereV
is constrained toVector3FloatingPoint
.In 3 dimensions, a hyperplane consists of a 2D surface splitting the 3D space into two.
Declaration
Swift
public typealias Hyperplane3<V> = Hyperplane<V> where V : Vector3FloatingPoint
-
Typealias for
Line<V>
, whereV
is constrained toVector3Type
.Declaration
Swift
public typealias Line3<V> = Line<V> where V : Vector3Type
-
Represents a 3D line as a pair of double-precision floating-point start and end vectors.
Declaration
Swift
public typealias LineSegment3D = LineSegment3<Vector3D>
-
Represents a 3D line as a pair of single-precision floating-point start and end vectors.
Declaration
Swift
public typealias LineSegment3F = LineSegment3<Vector3F>
-
Represents a 3D line as a pair of integer start and end vectors.
Declaration
Swift
public typealias LineSegment3i = LineSegment3<Vector3i>
-
Typealias for
LineSegment<V>
, whereV
is constrained toVector3Type
.Declaration
Swift
public typealias LineSegment3<V> = LineSegment<V> where V : Vector3Type
-
A point-cloud composed of three-dimensional vector points.
Declaration
Swift
public typealias PointCloud3<Vector> = PointCloud<Vector> where Vector : Vector3Type
-
A point-cloud composed of three-dimensional vector points of double-precision floating-point type.
Declaration
Swift
public typealias PointCloud3D = PointCloud3<Vector3D>
-
A point-cloud composed of three-dimensional vector points of single-precision floating-point type.
Declaration
Swift
public typealias PointCloud3F = PointCloud3<Vector3F>
-
Represents a 3D plane as a pair of double-precision floating-point vectors describing a point on the plane and the plane’s normal.
Declaration
Swift
public typealias PointNormalPlane3D = PointNormalPlane3<Vector3D>
-
Represents a 3D plane as a pair of single-precision floating-point vectors describing a point on the plane and the plane’s normal.
Declaration
Swift
public typealias PointNormalPlane3F = PointNormalPlane3<Vector3F>
-
Typealias for
PointNormalPlane<V>
, whereV
is constrained toVector3FloatingPoint
.Declaration
Swift
public typealias PointNormalPlane3<V> = PointNormalPlane<V> where V : Vector3FloatingPoint
-
Represents a 3D projective plane as a point, normal, right, and up-axis vectors in 3D space with double-precision floating-point scalars.
Declaration
Swift
public typealias ProjectivePointNormalPlane3D = ProjectivePointNormalPlane3<Vector3D>
-
Represents a 3D projective plane as a point, normal, right, and up-axis vectors in 3D space with single-precision floating-point scalars.
Declaration
Swift
public typealias ProjectivePointNormalPlane3F = ProjectivePointNormalPlane3<Vector3F>
-
Typealias for
Ray<V>
, whereV
is constrained toVector3Type
.Declaration
Swift
public typealias Ray3<V> = Ray<V> where V : Vector3Type
-
Describes a 3-dimensional rotation matrix with double-precision floating-point components.
Declaration
Swift
public typealias RotationMatrix3D = RotationMatrix3<Double>
-
Describes a 3-dimensional rotation matrix with single-precision floating-point components.
Declaration
Swift
public typealias RotationMatrix3F = RotationMatrix3<Float>
-
Describes a 3-dimensional rotation matrix.
Declaration
Swift
public typealias RotationMatrix3<Scalar> = Matrix3x3<Scalar> where Scalar : DivisibleArithmetic, Scalar : Real
-
Typealias for
NSphere<V>
, whereV
is constrained toVector3Type
.Declaration
Swift
public typealias Sphere3<V> = NSphere<V> where V : Vector3Type
-
Represents a three dimensional [torus] shape as a center point, an axis of rotation around that center point, and two radii describing the radius of a circle, and the radius of the axis of rotation of the circle around the center point of the torus with double-precision floating-point numbers.
-
Represents a three dimensional [torus] shape as a center point, an axis of rotation around that center point, and two radii describing the radius of a circle, and the radius of the axis of rotation of the circle around the center point of the torus with single-precision floating-point numbers.
-
Typealias for
Triangle<V>
, whereV
is constrained toVector3Type
.Declaration
Swift
public typealias Triangle3<V> = Triangle<V> where V : Vector3Type
-
Represents a 3D point with three double-precision floating-point components
Declaration
Swift
public typealias Vector3D = Vector3<Double>
-
Represents a 3D point with three single-precision floating-point components
Declaration
Swift
public typealias Vector3F = Vector3<Float>
-
Represents a 3D point with three
Int
componentsDeclaration
Swift
public typealias Vector3i = Vector3<Int>
-
Represents a 4D hyperplane as a pair of double-precision floating-point vectors describing a point on the plane and the plane’s normal.
In 4 dimensions, a hyperplane consists of a 3D surface splitting the 4D space into two.
Declaration
Swift
public typealias Hyperplane4D = Hyperplane4<Vector4D>
-
Represents a 4D hyperplane as a pair of single-precision floating-point vectors describing a point on the plane and the plane’s normal.
In 4 dimensions, a hyperplane consists of a 3D surface splitting the 4D space into two.
Declaration
Swift
public typealias Hyperplane4F = Hyperplane4<Vector4F>
-
Typealias for
Hyperplane<V>
, whereV
is constrained toVector4FloatingPoint
.In 4 dimensions, a hyperplane consists of a 3D surface splitting the 4D space into two.
Declaration
Swift
public typealias Hyperplane4<V> = Hyperplane<V> where V : Vector4FloatingPoint
-
Represents a 4D point with three double-precision floating-point components
Declaration
Swift
public typealias Vector4D = Vector4<Double>
-
Represents a 4D point with three single-precision floating-point components
Declaration
Swift
public typealias Vector4F = Vector4<Float>
-
Represents a 4D point with three
Int
componentsDeclaration
Swift
public typealias Vector4i = Vector4<Int>
-
Plain 3-row 2-column Matrix for 2D affine transformations with double-precision floating-point components.
Declaration
Swift
public typealias Matrix3x2D = Matrix3x2<Double>