Crate cvmath

Crate cvmath 

Source
Expand description

§Computer Vector Graphics Math Library

Structs§

Angle
Angle in radians.
Bounds2
Bounds2 shape.
Bounds3
Bounds3 shape.
Circle
Circle shape.
Complex
Complex number.
Hit2
Hit2 structure.
Hit3
Hit3 structure.
Interval
Interval type.
Line2
Line2 shape.
Line3
Line3 shape.
Mat2
2D transformation matrix.
Mat3
3D transformation matrix.
Mat4
4D transformation matrix.
Plane2
Plane2 shape.
Plane3
Plane3 shape.
Polar
Polar coordinates.
Quat
Quaternion number.
Ray2
Ray2 structure.
Ray3
Ray3 structure.
RotationVector
Rotation vector.
Sphere
Sphere shape.
Transform2
2D affine transformation matrix.
Transform3
3D affine transformation matrix.
Triangle2
Triangle2 shape.
Triangle3
Triangle3 shape.
Vec2
Vec2 vector.
Vec3
Vec3 vector.
Vec4
Vec4 vector.
W
W component.
X
X component.
Y
Y component.
Z
Z component.

Enums§

Clip
Clip range.
Hand
Handness of the coordinate system.
HitSide
Ray hit side.
Shape2
Heterogeneous Shape2.
Shape3
Heterogeneous Shape3.

Traits§

Trace2
Shapes that support Ray2 intersection tests.
Trace3
Shapes that support Ray3 intersection tests.

Functions§

Angle
Angle constructor.
Bool2
Bool2 constructor.
Bool3
Bool3 constructor.
Bool4
Bool4 constructor.
Bounds2
Bounds2 constructor.
Bounds3
Bounds3 constructor.
Circle
Circle constructor.
Complex
Complex constructor.
Interval
Interval constructor.
Line2
Line2 constructor.
Line3
Line3 constructor.
Mat2
Mat2 constructor.
Mat3
Mat3 constructor.
Mat4
Mat4 constructor.
Plane2
Plane2 constructor.
Plane3
Plane3 constructor.
Point2
Point2 constructor.
Point3
Point3 constructor.
Polar
Polar constructor.
Quat
Quaternion constructor.
Ray2
Ray2 constructor.
Ray3
Ray constructor.
RotationVector
Rotation vector constructor.
Sphere
Sphere constructor.
Transform2
Transform2 constructor.
Transform3
Transform3 constructor.
Triangle2
Triangle2 constructor.
Triangle3
Triangle3 constructor.
Vec2
Vec2 constructor.
Vec3
Vec3 constructor.
Vec4
Vec4 constructor.

Type Aliases§

Bool2
Bool2 mask.
Bool3
Bool3 mask.
Bool4
Bool4 mask.
Point2
Point2 shape.
Point3
Point3 shape.