Click or drag to resize
Ab4d.SharpEngine logo

SlicerGetClosedSliceMesh Method

GetClosedSliceMesh can be called after any Slice method is called and returns a StandardMesh that lies on the plane. When the closed intersection polygon cannot be created, then the HasBrokenIntersectionPolylines is set to true. In this case this method returns null.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public StandardMesh? GetClosedSliceMesh(
	StandardMesh mesh,
	bool useMeshTransform
)

Parameters

mesh  StandardMesh
StandardMesh
useMeshTransform  Boolean
when true, the returned points are transformed by the mesh transformation (defined by parent SceneNode and Visual3D transformations).

Return Value

StandardMesh
StandardMesh that lies on the plane or null if closed slice mesh cannot be defined.
See Also