Class Triangulator
- Assembly
- Alis.dll
The triangulator class
internal class Triangulator
Inheritance
Inherited Members
Constructors
Triangulator(List<Point>, float)
Initializes a new instance of the Alis.Core.Physic.Common.Decomposition.Seidel.Triangulator class
public Triangulator(List<Point> polyLine, float sheer)
Parameters
Fields
Trapezoids
The trapezoids
public List<Trapezoid> Trapezoids
Field Value
Triangles
The triangles
public List<List<Point>> Triangles
Field Value
_boundingBox
The bounding box
private readonly Trapezoid _boundingBox
Field Value
_edgeList
The edge list
private readonly List<Edge> _edgeList
Field Value
_queryGraph
The query graph
private readonly QueryGraph _queryGraph
Field Value
_sheer
The sheer
private readonly float _sheer
Field Value
_trapezoidalMap
The trapezoidal map
private readonly TrapezoidalMap _trapezoidalMap
Field Value
_xMonoPoly
The mono poly
private readonly List<MonotoneMountain> _xMonoPoly
Field Value
Methods
CreateMountains()
Creates the mountains
private void CreateMountains()
InitEdges(List<Point>)
Inits the edges using the specified points
private List<Edge> InitEdges(List<Point> points)
Parameters
Returns
MarkOutside(Trapezoid)
Marks the outside using the specified t
private void MarkOutside(Trapezoid t)
Parameters
t
Trapezoid-
The
OrderSegments(List<Edge>)
Orders the segments using the specified edge input
private List<Edge> OrderSegments(List<Edge> edgeInput)
Parameters
Returns
Process()
Processes this instance
private void Process()
ShearTransform(Point)
Shears the transform using the specified point
private Point ShearTransform(Point point)
Parameters
point
Point-
The point
Returns
- Point
-
The point
Shuffle<T>(IList<T>)
Shuffles the list
private static void Shuffle<T>(IList<T> list)
Parameters
list
IList<T>-
The list
Type Parameters
T
-
The