Module truck_rendimpl::polymesh
source · Expand description
Re-exports truck_polymesh
.
Modules
Algorithms for curves and surfaces.
A low-dimensional linear algebra library, targeted at computer graphics.
declare control point
Deterministic hash functions
solvers for low dimensional algebraic equations.
Abstract traits:
Curve
and Surface
.Structs
bounding box
An angle, in degrees.
Polygon mesh
polyline curve
An angle, in radians.
Index vertex of a face of the polygon mesh
structured quadrangle mesh
Enums
Error for concat curves
Curve for the recursive concatting.
curve geometry
curve geometry
hint for searching parameter for curve
hint for searching parameter for surface
Constants
general tolerance
general tolerance of square order
Traits
Angles and their associated trigonometric functions.
An array containing elements of type
Element
bounded parametric curves
Bounded surface with parametric range
Concats two curves
Cuts one curve into two curves.
some decompositions of matrix
extension for eigen values
Element-wise arithmetic operations. These are supplied for pragmatic
reasons, but will usually fall outside of traditional algebraic properties.
Points in a Euclidean space
with an associated space of displacement vectors.
calculate exponential value
Deterministic hash generator
Homogeneous coordinate of an Euclidean space and a vector space.
Whether the surface includes the boundary curve.
Oriented and reversible
A column-major matrix of arbitrary dimensions.
A type with a distance function between values.
Defines a multiplicative identity element for
Self
.operator norms: $L^1$, $L^2$, and $L^\infty$.
The structs defined the origin.
f64
, Vector
, and so on.Dividable curve
Dividable surface
parameter range move by affine transformation
Parametric curves
2D parametric curve
3D parametric curve
Parametric surface
2D parametric surface
3D parametric surface
A trait for a generic rotation. A rotation is a transformation that
creates a circular motion, and preserves at least one point in the space.
A two-dimensional rotation.
A three-dimensional rotation.
Dimension for search nearest parameter
Search parameter
t
such that self.subs(t)
is nearest point.Search parameter
t
such that self.subs(t)
is near point.A column-major major matrix where the rows and column vectors are of the same dimensions.
Tangent spaces of euclidean spaces
The inverse of
EuclideanSpace::Diff
Defines a tolerance in the whole package
A trait representing an affine
transformation that
can be applied to points or vectors. An affine transformation is one which
Transform geometry
Vectors that can be added
together and multiplied
by scalars.
Defines an additive identity element for
Self
.Functions
positive test implementation for
Concat
.positive test implementation for
Cut
by random transformationCreate a perspective matrix from a view frustum.
Create an orthographic projection matrix.
positive test implementation for
ParameterTransform
by random transformationCreate a perspective projection matrix.
Type Definitions
redefinition, scalar = f64
redefinition, scalar = f64
redefinition, scalar = f64
redefinition, scalar = f64
redefinition, scalar = f64
redefinition, scalar = f64
redefinition, scalar = f64
redefinition, scalar = f64
redefinition, scalar = f64
redefinition, scalar = f64