- DimensionType
alias DimensionType(T : Segment!U, U...) = U[0]
alias DimensionType(T : Triangle!U, U...) = U[0]
alias DimensionType(T : Sphere!U, U...) = U[0]
alias DimensionType(T : Ray!U, U...) = U[0]
alias DimensionType(T : Plane!U, U) = U
alias DimensionType(T : Frustum!U, U) = U
Get the numeric type used to measure a shape's dimensions.
- planed
alias planed = Plane!double
Undocumented in source.
- planef
alias planef = Plane!float
Undocumented in source.
- ray2d
alias ray2d = Ray!(double, 2)
Undocumented in source.
- ray2f
alias ray2f = Ray!(float, 2)
Undocumented in source.
- ray3d
alias ray3d = Ray!(double, 3)
Undocumented in source.
- ray3f
alias ray3f = Ray!(float, 3)
Undocumented in source.
- seg2d
alias seg2d = Segment!(double, 2)
Undocumented in source.
- seg2f
alias seg2f = Segment!(float, 2)
Undocumented in source.
- seg2i
alias seg2i = Segment!(int, 2)
Undocumented in source.
- seg3d
alias seg3d = Segment!(double, 3)
Undocumented in source.
- seg3f
alias seg3f = Segment!(float, 3)
Undocumented in source.
- seg3i
alias seg3i = Segment!(int, 3)
Undocumented in source.
- sphere2d
alias sphere2d = Sphere!(double, 2)
Undocumented in source.
- sphere2f
alias sphere2f = Sphere!(float, 2)
Undocumented in source.
- sphere3d
alias sphere3d = Sphere!(double, 3)
Undocumented in source.
- sphere3f
alias sphere3f = Sphere!(float, 3)
Undocumented in source.
- triangle2d
alias triangle2d = Triangle!(double, 2)
Undocumented in source.
- triangle2f
alias triangle2f = Triangle!(float, 2)
Undocumented in source.
- triangle3d
alias triangle3d = Triangle!(double, 3)
Undocumented in source.
- triangle3f
alias triangle3f = Triangle!(float, 3)
Undocumented in source.
- isFrustum
eponymoustemplate isFrustum(T)
True if T is a kind of Frustum
- isPlane
eponymoustemplate isPlane(T)
True if T is a kind of Plane
- isRay
eponymoustemplate isRay(T)
True if T is a kind of Ray
- isRay2D
eponymoustemplate isRay2D(T)
True if T is a kind of 2 dimensional Ray
- isRay3D
eponymoustemplate isRay3D(T)
True if T is a kind of 3 dimensional Ray
- isSegment
eponymoustemplate isSegment(T)
True if T is a kind of Segment
- isSegment2D
eponymoustemplate isSegment2D(T)
True if T is a kind of 2 dimensional Segment
- isSegment3D
eponymoustemplate isSegment3D(T)
True if T is a kind of 3 dimensional Segment
- isSphere
eponymoustemplate isSphere(T)
True if T is a kind of Sphere
- isSphere2D
eponymoustemplate isSphere2D(T)
True if T is a kind of 2 dimensional Sphere
- isSphere3D
eponymoustemplate isSphere3D(T)
True if T is a kind of 3 dimensional Sphere
- isTriangle
eponymoustemplate isTriangle(T)
True if T is a kind of Triangle
- isTriangle2D
eponymoustemplate isTriangle2D(T)
True if T is a kind of 2 dimensional Triangle
- isTriangle3D
eponymoustemplate isTriangle3D(T)
True if T is a kind of 3 dimensional Triangle
This module implements some abstract geometric shapes: