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: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
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