Click or drag to resize
Ab4d.SharpEngine logo

MeshUtilsGetIntersectingTriangles Method

GetIntersectingTriangles returns a list of indexes of triangles from the mesh that intersect the specified boundingBox. To actually split the mesh you can then call the SplitMeshByIndexesOfTriangles(StandardMesh, ListInt32, Boolean, StandardMesh, StandardMesh) method.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public static List<int> GetIntersectingTriangles(
	BoundingBox boundingBox,
	StandardMesh mesh,
	Transform? meshTransform = null
)

Parameters

boundingBox  BoundingBox
bounding box as BoundingBox
mesh  StandardMesh
StandardMesh
meshTransform  Transform  (Optional)
optional Transform that is applied to mesh positions

Return Value

ListInt32
list of indexes of triangles
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.MeshUtils.GetIntersectingTriangles(Ab4d.SharpEngine.Common.BoundingBox,Ab4d.SharpEngine.Meshes.StandardMesh,Ab4d.SharpEngine.Transformations.Transform)"]

See Also