Class Triangulator
- Assembly
- Alis.dll
The triangulator class
internal class TriangulatorInheritance
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> TrapezoidsField Value
Triangles
The triangles
public List<List<Point>> TrianglesField Value
_boundingBox
The bounding box
private readonly Trapezoid _boundingBoxField Value
_edgeList
The edge list
private readonly List<Edge> _edgeListField Value
_queryGraph
The query graph
private readonly QueryGraph _queryGraphField Value
_sheer
The sheer
private readonly float _sheerField Value
_trapezoidalMap
The trapezoidal map
private readonly TrapezoidalMap _trapezoidalMapField Value
_xMonoPoly
The mono poly
private readonly List<MonotoneMountain> _xMonoPolyField 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
tTrapezoid-
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
pointPoint-
The point
Returns
- Point
-
The point
Shuffle<T>(IList<T>)
Shuffles the list
private static void Shuffle<T>(IList<T> list)Parameters
listIList<T>-
The list
Type Parameters
T-
The