MiscFunctions..::..FindSolidIntersections Method

Returns lists of vertices that are inside vs. outside of each solid.

Namespace:  TVGL
Assembly:  TessellationAndVoxelizationGeometryLibraryUniversal (in TessellationAndVoxelizationGeometryLibraryUniversal.dll)

Syntax


public static void FindSolidIntersections(
	TessellatedSolid solid1,
	TessellatedSolid solid2,
	out List<Vertex> verticesFromSolid1InsideSolid2,
	out List<Vertex> verticesFromSolid1OutsideSolid2,
	out List<Vertex> verticesFromSolid2InsideSolid1,
	out List<Vertex> verticesFromSolid2OutsideSolid1,
	bool onBoundaryIsInside
)
Public Shared Sub FindSolidIntersections ( _
	solid1 As TessellatedSolid, _
	solid2 As TessellatedSolid, _
	<OutAttribute> ByRef verticesFromSolid1InsideSolid2 As List(Of Vertex), _
	<OutAttribute> ByRef verticesFromSolid1OutsideSolid2 As List(Of Vertex), _
	<OutAttribute> ByRef verticesFromSolid2InsideSolid1 As List(Of Vertex), _
	<OutAttribute> ByRef verticesFromSolid2OutsideSolid1 As List(Of Vertex), _
	onBoundaryIsInside As Boolean _
)
public:
static void FindSolidIntersections(
	TessellatedSolid^ solid1, 
	TessellatedSolid^ solid2, 
	[OutAttribute] List<Vertex^>^% verticesFromSolid1InsideSolid2, 
	[OutAttribute] List<Vertex^>^% verticesFromSolid1OutsideSolid2, 
	[OutAttribute] List<Vertex^>^% verticesFromSolid2InsideSolid1, 
	[OutAttribute] List<Vertex^>^% verticesFromSolid2OutsideSolid1, 
	bool^ onBoundaryIsInside
)

Parameters

solid1
Type: TVGL..::..TessellatedSolid
The solid1.
solid2
Type: TVGL..::..TessellatedSolid
The solid2.
verticesFromSolid1InsideSolid2
Type: List<(Of <(<'Vertex>)>)>%
The vertices from solid1 inside solid2.
verticesFromSolid1OutsideSolid2
Type: List<(Of <(<'Vertex>)>)>%
The vertices from solid1 outside solid2.
verticesFromSolid2InsideSolid1
Type: List<(Of <(<'Vertex>)>)>%
The vertices from solid2 inside solid1.
verticesFromSolid2OutsideSolid1
Type: List<(Of <(<'Vertex>)>)>%
The vertices from solid2 outside solid1.
onBoundaryIsInside
Type: Boolean
if set to true [on boundary is inside].