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