Click or drag to resize
Ab4d.SharpEngine logo

SlicerGetProjectedIntersectionPoints(StandardMesh, Boolean) 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: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public Vector2[]? GetProjectedIntersectionPoints(
	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

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