AsImpL 1.0
Asynchronous Importer and run-time Loader for Unity
AsImpL.Triangulator Class Reference

Implements triangulation of a face of a data set. More...

Static Public Member Functions

static void Triangulate (DataSet dataSet, DataSet.FaceIndices[] face)
 Triangulate a face of the given dataset. More...
 
static Vector3 FindPlaneNormal (DataSet dataSet, DataSet.FaceIndices[] face)
 Get a normal of a plane used for polygon projection. More...
 

Detailed Description

Implements triangulation of a face of a data set.

Member Function Documentation

◆ FindPlaneNormal()

static Vector3 AsImpL.Triangulator.FindPlaneNormal ( DataSet  dataSet,
DataSet.FaceIndices[]  face 
)
static

Get a normal of a plane used for polygon projection.

Parameters
dataSetInput data set.
faceFace to be triangulated
Returns
The mean of the normals if available or a vector perpendicular to the first triangle

◆ Triangulate()

static void AsImpL.Triangulator.Triangulate ( DataSet  dataSet,
DataSet.FaceIndices[]  face 
)
static

Triangulate a face of the given dataset.

Parameters
dataSetInput data set.
faceFace to be triangulated (with more than 3 vertices)

The documentation for this class was generated from the following file: