Click or drag to resize
AB4D logo

SlicerGetProjectedIntersectionPoints(MeshGeometry3D, Boolean, Rect) Method

GetProjectedIntersectionPoints can be called after any Slice method is called and returns the 2D intersection points that lie on the plane. Each intersection line is defined by two consecutive points.

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 12.0.9484.2048
Syntax
C#
public List<Point> GetProjectedIntersectionPoints(
	MeshGeometry3D mesh,
	bool useMeshTransform,
	out Rect bounds
)

Parameters

mesh  MeshGeometry3D
MeshGeometry3D
useMeshTransform  Boolean
when true, the returned points are transformed by the mesh transformation (defined by parent Model3D and Visual3D transformations).
bounds  Rect
bounding box of the returned intersection points

Return Value

ListPoint
List of Point items or null when no intersection points exist
See Also