Module truck_rendimpl::modeling[][src]

Re-exports truck_modeling.

Modules

base

re-export truck_base.

builder

the building model utility API

errors

declare errors

geometry

geometrical elements

topo_traits

topological utility: Mapped, Sweep, and ClosedSweep.

topology

topological elements

Structs

BoundingBox

bounding box

Deg

An angle, in degrees.

KnotVec

knot vector

Rad

An angle, in radians.

Enums

ShellCondition

The shell conditions being determined by the half-edge model.

Constants

TOLERANCE

general tolerance

TOLERANCE2

general tolerance of square order

Traits

Angle

Angles and their associated trigonometric functions.

Array

An array containing elements of type Element

ClosedSweep

closed sweep, builds a closed torus, and so on.

Curve

Parametric curves

ElementWise

Element-wise arithmetic operations. These are supplied for pragmatic reasons, but will usually fall outside of traditional algebraic properties.

EuclideanSpace

Points in a Euclidean space with an associated space of displacement vectors.

Homogeneous

Homogeneous coordinate of an Euclidean space and a vector space.

InnerSpace

Vectors that also have a dot (or inner) product.

Mapped

Mapping, duplicates and moves a topological element.

Matrix

A column-major matrix of arbitrary dimensions.

MetricSpace

A type with a distance function between values.

MultiSweep

Abstract multi sweeping, builds a circle-arc, a prism, a half torus, and so on.

One

Defines a multiplicative identity element for Self.

Origin

The structs defined the origin. f64, Vector, and so on.

ParameterDivision1D

Dividable curve

ParameterDivision2D

Dividable surface

Rotation

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.

Rotation2

A two-dimensional rotation.

Rotation3

A three-dimensional rotation.

RoundByTolerance

Rounds the value by tolerance

SquareMatrix

A column-major major matrix where the rows and column vectors are of the same dimensions.

Surface

Parametric surface

Sweep

Abstract sweeping, builds a circle-arc, a prism, a half torus, and so on.

TangentSpace

Tangent spaces of euclidean spaces The inverse of EuclideanSpace::Diff

Tolerance

Defines a tolerance in the whole package

Transform

A trait representing an affine transformation that can be applied to points or vectors. An affine transformation is one which

Transform2
Transform3
VectorSpace

Vectors that can be added together and multiplied by scalars.

Zero

Defines an additive identity element for Self.

Functions

frustum

Create a perspective matrix from a view frustum.

ortho

Create an orthographic projection matrix.

perspective

Create a perspective projection matrix.

Type Definitions

BSplineCurve

4-dimensional B-spline curve

BSplineSurface

4-dimensional B-spline surface

Edge

Edge, which consists two vertices.

EdgeID

The id that does not depend on the direction of the edge.

Face

Face, attatched to a simple and closed wire.

FaceID

The id that does not depend on the direction of the face.

Matrix2

redefinition, scalar = f64

Matrix3

redefinition, scalar = f64

Matrix4

redefinition, scalar = f64

NURBSCurve

3-dimensional NURBS curve

NURBSSurface

3-dimensional NURBS surface

Point1

redefinition, scalar = f64

Point2

redefinition, scalar = f64

Point3

redefinition, scalar = f64

Result

Result with crate’s errors.

Shell

Shell, a connected compounded faces.

Solid

Solid, attached to a closed shells.

Vector1

redefinition, scalar = f64

Vector2

redefinition, scalar = f64

Vector3

redefinition, scalar = f64

Vector4

redefinition, scalar = f64

Vertex

Vertex, the minimum topological unit.

VertexID

The id of vertex. Copy trait is implemented.

Wire

Wire, a path or cycle which consists some edges.