Skip to content

(make-mesh 'restrict-plane)

Description

Take all the quadrilaterals that belong in a plane from a mesh. This function is helpful to extract a sub mesh from an original 3D mesh. The result is a mesh of quadrilaterals.

Syntax

(make-mesh 'restrict-plane mesh normal invariant-point )

Parameters

mesh The original mesh from which a sub mesh is extracted. normal The vector normal to the plane. invariant-point Any point in the plane.

Example

(define sub-mesh (make-mesh 'restrict-plane my-mesh (vector 1 0 0) (vector 0 0 0)))

See also

For details see make-mesh 'restrict-point, make-mesh 'finite-element.