Module truck_modeling::builder[][src]

the building model utility API

Functions

bezier

Returns a Bezier curve from vertex0 to vertex1 with inter control points inter_points.

circle_arc

Returns a circle arc from vertex0 to vertex1 via transit.

clone

Returns another topology whose points, curves, and surfaces are cloned.

homotopy

Returns a homotopic face from edge0 to edge1.

line

Returns a line from vertex0 to vertex1.

rotated

Returns a rotated vertex, edge, wire, face, shell or solid.

rsweep

Sweeps a vertex, an edge, a wire, a face, or a shell by the rotation.

scaled

Returns a scaled vertex, edge, wire, face, shell or solid.

transformed

Returns a transformed vertex, edge, wire, face, shell or solid.

translated

Returns a translated vertex, edge, wire, face, shell or solid.

try_attach_plane

Try attatiching a plane whose boundary is wire. Todo: Define the crate error and make return value Result<Face>!

tsweep

Sweeps a vertex, an edge, a wire, a face, or a shell by a vector.

vertex

Creates and returns a vertex by a three dimensional point.