Click or drag to resize
AB4D logo

SlicerGetClosedSliceMesh Method

GetClosedSliceMesh can be called after any Slice method is called and returns a MeshGeometry3D 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 return null.

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 12.0.9484.2048
Syntax
C#
public MeshGeometry3D GetClosedSliceMesh(
	MeshGeometry3D mesh,
	bool useMeshTransform
)

Parameters

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

Return Value

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