Finds the point on the triangle made by a line. If that line is not going to pass through the that triangle, then null is returned. The signed distance is positive if the vertex points to the triangle along the direction (ray). User can also specify whether the edges of the triangle are considered "inside."Namespace: TVGL
Assembly: TessellationAndVoxelizationGeometryLibraryUniversal (in TessellationAndVoxelizationGeometryLibraryUniversal.dll)
Public Shared Function PointOnTriangleFromLine ( _ face As PolygonalFace, _ vertex As Vertex, _ direction As Double(), _ <OutAttribute> ByRef signedDistance As Double, _ onBoundaryIsInside As Boolean _ ) As Double()
- Type: TVGL..::..PolygonalFace
- Type: TVGL..::..Vertex
- Type: array<Double>()
- Type: Double%
The signed distance.
- Type: Boolean
if set to true [on boundary is inside].