VTB_POLYHEDRON_WRAP_VOID_FUNC
VTB_POLYHEDRON_WRAP_VOID_FUNC_2_ARG
VTB_POLYHEDRON_WRAP_VOID_FUNC_1_ARG
polyhedron_unique_self(SCM object) -> SCM

Remove redundant vertices and faces.

Scheme procedure
vtestbed polyhedron-unique

polyhedron_bounding_box(SCM object) -> SCM

Compute bounding box of the polyhedron.

Scheme procedure
vtestbed polyhedron-bounding-box

polyhedron_volume(SCM object) -> SCM

Compute absolute volume of the polyhedron.

Scheme procedure
vtestbed polyhedron-volume

polyhedron_mirror(SCM object, SCM arg) -> SCM

Mirror the polyhedron relative to the origin in a specified dimension.

Scheme procedure
vtestbed polyhedron-mirror

polyhedron_reorder(SCM object) -> SCM

Fix face winding.

Scheme procedure
vtestbed polyhedron-reorder

polyhedron_reorder_self(SCM object) -> SCM

Fix face winding.

Scheme procedure
vtestbed polyhedron-reorder

polyhedron_scale(SCM object, SCM arg) -> SCM

Scale the polyhedron by a specified factor in three dimensions.

Scheme procedure
vtestbed polyhedron-scale

polyhedron_signed_volume(SCM object) -> SCM

Compute signed volume of the polyhedron.

Scheme procedure
vtestbed polyhedron-signed-volume

polyhedron_move(SCM object, SCM arg) -> SCM

Move the polyhedron to a specified amount in three dimensions.

Scheme procedure
vtestbed polyhedron-move

polyhedron_flip_self(SCM object, SCM arg) -> SCM

Flip the polyhedron relative to the origin in a specified dimension.

Scheme procedure
vtestbed polyhedron-flip

polyhedron_rotate_self(SCM object, SCM arg1, SCM arg2) -> SCM

Rotate the polyhedron relative to the origin in a specified dimension by an angle that is multiple of 90 degrees.

Scheme procedure
vtestbed polyhedron-rotate

polyhedron_move_self(SCM object, SCM arg) -> SCM

Move the polyhedron to a specified amount in three dimensions.

Scheme procedure
vtestbed polyhedron-move

polyhedron_rotate(SCM object, SCM arg1, SCM arg2) -> SCM

Rotate the polyhedron relative to the origin in a specified dimension by an angle that is multiple of 90 degrees.

Scheme procedure
vtestbed polyhedron-rotate

polyhedron_centroid(SCM object) -> SCM

Compute centroid of the polyhedron.

Scheme procedure
vtestbed polyhedron-centroid

polyhedron_bounds(SCM object, SCM dimension) -> SCM

Compute the extent of the polyhedron in specified dimension.

Scheme procedure
vtestbed polyhedron-bounds

polyhedron_empty(SCM object) -> SCM

Check if polyhedron is not initialised.

Scheme procedure
vtestbed polyhedron-empty?

polyhedron_normalise(SCM object) -> SCM

Compute vertex and face normals.

Scheme procedure
vtestbed polyhedron-normalise

polyhedron_unique(SCM object) -> SCM

Remove redundant vertices and faces.

Scheme procedure
vtestbed polyhedron-unique

polyhedron_signed_volume_below(SCM object, SCM dimension, SCM level) -> SCM

Compute signed volume of the polyhedron below certain level of dimension.

Scheme procedure
vtestbed polyhedron-signed-volume-below

polyhedron_flip(SCM object, SCM arg) -> SCM

Flip the polyhedron relative to the origin in a specified dimension.

Scheme procedure
vtestbed polyhedron-flip

polyhedron_scale_self(SCM object, SCM arg) -> SCM

Scale the polyhedron by a specified factor in three dimensions.

Scheme procedure
vtestbed polyhedron-scale

polyhedron_mirror_self(SCM object, SCM arg) -> SCM

Mirror the polyhedron relative to the origin in a specified dimension.

Scheme procedure
vtestbed polyhedron-mirror

polyhedron_normalise_self(SCM object) -> SCM

Compute vertex and face normals.

Scheme procedure
vtestbed polyhedron-normalise