MiscFunctions..::..IsVertexInsideSolid Method

Determines if a point is inside a tesselated solid (polyhedron). And the polygon is not self-intersecting http://www.cescg.org/CESCG-2012/papers/Horvat-Ray-casting_point-in-polyhedron_test.pdf

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

Syntax


public static bool IsVertexInsideSolid(
	TessellatedSolid ts,
	Vertex vertexInQuestion,
	bool onBoundaryIsInside
)
Public Shared Function IsVertexInsideSolid ( _
	ts As TessellatedSolid, _
	vertexInQuestion As Vertex, _
	onBoundaryIsInside As Boolean _
) As Boolean
public:
static bool^ IsVertexInsideSolid(
	TessellatedSolid^ ts, 
	Vertex^ vertexInQuestion, 
	bool^ onBoundaryIsInside
)

Parameters

ts
Type: TVGL..::..TessellatedSolid
The ts.
vertexInQuestion
Type: TVGL..::..Vertex
The vertex in question.
onBoundaryIsInside
Type: Boolean
if set to true [on boundary is inside].

Return Value

true if [is vertex inside solid] [the specified ts]; otherwise, false.