CADability dotNET
Checks the interference of this cube with the provided triangles. The triangles are defined by three points each. Each triple of indices in triangleIndex defines one triangle. Not only the edges of the triangle are checked but also the inner surface.

Namespace: CADability
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public bool Interferes(
	GeoPoint[] trianglePoint,
	int[] triangleIndex
)
Visual Basic
Public Function Interferes ( _
	trianglePoint As GeoPoint(), _
	triangleIndex As Integer() _
) As Boolean
Visual C++
public:
bool Interferes(
	array<GeoPoint>^ trianglePoint, 
	array<int>^ triangleIndex
)

Parameters

trianglePoint
Type: array<CADability..::..GeoPoint>[]()[][]
Array of vertives of the triangles
triangleIndex
Type: array<System..::..Int32>[]()[][]
Indices to trianglePoint, each triple defines one triangle

Return Value

true if any of the provides triangles interferes with this cube

See Also