Module parry3d_f64::transformation::utils
source · Expand description
Utilities useful for various generations tasks.
Functions§
- Applies a revolution, using the Y symmetry axis passing through the origin.
- Pushes to
outa set of points forming an arc starting atstart, ending atendwith revolution center atcenter. The curve is approximated by pushingnsubdivspoints. Thestartandendpoint are not pushed toout. - Pushes to
out_vtxa set of points forming an arc starting atstart, ending atendwith revolution center atcenter. The curve is approximated by pushingnsubdivspoints. Thestartandendpoint are not pushed toout_vtx. - Pushes the index buffer for an arc between
startandendand intermediate points in the rangearc. - Pushes a discretized counterclockwise circle to a buffer.
- Pushes the index buffer of a closed loop.
- Creates the faces from a circle and a point that is shared by all triangle.
- Creates the faces from a circle and a point that is shared by all triangle.
- Pushes indices so that a circle is filled with triangles. Each triangle will have the
base_circlepoint in common. Pushesnsubdiv - 2elements toout. - Pushes the index buffer of an open chain.
- Creates the faces from two circles with the same discretization.
- Given four corner points, pushes to two counterclockwise triangles to
out. - Creates the faces from two circles with the same discretization.
- Reverses the clockwising of a set of faces.
- Returns the transformed version of a vector of points.
- Applies in-place a transformation to an array of points.
- Returns the transformed version of a vector of points.