liberty.math.traits

* Copyright: Copyright (C) 2018 Gabriel Gheorghe, All Rights Reserved * Authors: $(Gabriel Gheorghe) * License: GNU GENERAL PUBLIC LICENSE Version 3 * Source: * Documentation: * Coverage:

Members

Aliases

DimensionType
alias DimensionType(T : Vector!U, U...) = U[0]

* The numeric type used to measure coordinates of a vector.

DimensionType
alias DimensionType(T : Box!U, U...) = U[0]

*

DimensionType
alias DimensionType(T : Segment!U, U...) = U[0]

*

DimensionType
alias DimensionType(T : Triangle!U, U...) = U[0]

*

DimensionType
alias DimensionType(T : Sphere!U, U...) = U[0]

*

DimensionType
alias DimensionType(T : Ray!U, U...) = U[0]

*

DimensionType
alias DimensionType(T : Plane!U, U) = U

*

DimensionType
alias DimensionType(T : Frustum!U, U) = U

*

Enums

isBox
eponymoustemplate isBox(T)

*

isFrustum
eponymoustemplate isFrustum(T)

*

isPlane
eponymoustemplate isPlane(T)

*

isRay
eponymoustemplate isRay(T)

*

isRay2D
eponymoustemplate isRay2D(T)

*

isRay3D
eponymoustemplate isRay3D(T)

*

isSegment
eponymoustemplate isSegment(T)

*

isSegment2D
eponymoustemplate isSegment2D(T)

*

isSegment3D
eponymoustemplate isSegment3D(T)

*

isSphere
eponymoustemplate isSphere(T)

*

isSphere2D
eponymoustemplate isSphere2D(T)

*

isSphere3D
eponymoustemplate isSphere3D(T)

*

isTriangle
eponymoustemplate isTriangle(T)

*

isTriangle2D
eponymoustemplate isTriangle2D(T)

*

isTriangle3D
eponymoustemplate isTriangle3D(T)

*

isVector
eponymoustemplate isVector(T)

* True if T is some kind of Vector.

Templates

isMatrixInstance
template isMatrixInstance(U)

*

isQuaternionInstance
template isQuaternionInstance(U)

*

Meta