Class DTSweepContext
- Assembly
- Alis.dll
The dt sweep context class
internal class DTSweepContext : TriangulationContext
Inheritance
Inherited Members
Constructors
DTSweepContext()
Initializes a new instance of the Alis.Core.Physic.Common.Decomposition.CDT.Delaunay.Sweep.DTSweepContext class
public DTSweepContext()
Fields
ALPHA
The alpha
private const float ALPHA = 0.3
Field Value
Basin
The dt sweep basin
public DTSweepContext.DTSweepBasin Basin
Field Value
EdgeEvent
The dt sweep edge event
public DTSweepContext.DTSweepEdgeEvent EdgeEvent
Field Value
_comparator
The dt sweep point comparator
private readonly DTSweepPointComparator _comparator
Field Value
aFront
The front
public AdvancingFront aFront
Field Value
Properties
Head
Gets or sets the value of the head
public TriangulationPoint Head { get; set; }
Property Value
Tail
Gets or sets the value of the tail
public TriangulationPoint Tail { get; set; }
Property Value
Methods
AddNode(AdvancingFrontNode)
Adds the node using the specified node
public void AddNode(AdvancingFrontNode node)
Parameters
node
AdvancingFrontNode-
The node
Clear()
Clears this instance
public override void Clear()
CreateAdvancingFront()
Creates the advancing front
public void CreateAdvancingFront()
FinalizeTriangulation()
Finalizes the triangulation
public void FinalizeTriangulation()
LocateNode(TriangulationPoint)
Locates the node using the specified point
public AdvancingFrontNode LocateNode(TriangulationPoint point)
Parameters
point
TriangulationPoint-
The point
Returns
- AdvancingFrontNode
-
The advancing front node
MapTriangleToNodes(DelaunayTriangle)
Try to map a node to all sides of this triangle that don't have a neighbor.
public void MapTriangleToNodes(DelaunayTriangle t)
Parameters
MeshClean(DelaunayTriangle)
Meshes the clean using the specified triangle
public void MeshClean(DelaunayTriangle triangle)
Parameters
triangle
DelaunayTriangle-
The triangle
MeshCleanReq(DelaunayTriangle)
Meshes the clean req using the specified triangle
private void MeshCleanReq(DelaunayTriangle triangle)
Parameters
triangle
DelaunayTriangle-
The triangle
NewConstraint(TriangulationPoint, TriangulationPoint)
News the constraint using the specified a
public override TriangulationConstraint NewConstraint(TriangulationPoint a, TriangulationPoint b)
Parameters
a
TriangulationPoint-
The
b
TriangulationPoint-
The
Returns
- TriangulationConstraint
-
The triangulation constraint
PrepareTriangulation(Triangulatable)
Prepares the triangulation using the specified t
public override void PrepareTriangulation(Triangulatable t)
Parameters
t
Triangulatable-
The
RemoveFromList(DelaunayTriangle)
Removes the from list using the specified triangle
public void RemoveFromList(DelaunayTriangle triangle)
Parameters
triangle
DelaunayTriangle-
The triangle
RemoveNode(AdvancingFrontNode)
Removes the node using the specified node
public void RemoveNode(AdvancingFrontNode node)
Parameters
node
AdvancingFrontNode-
The node