Class DTSweepContext
- Assembly
- Alis.dll
The dt sweep context class
internal class DTSweepContext : TriangulationContextInheritance
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.3Field Value
Basin
The dt sweep basin
public DTSweepContext.DTSweepBasin BasinField Value
EdgeEvent
The dt sweep edge event
public DTSweepContext.DTSweepEdgeEvent EdgeEventField Value
_comparator
The dt sweep point comparator
private readonly DTSweepPointComparator _comparatorField Value
aFront
The front
public AdvancingFront aFrontField 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
nodeAdvancingFrontNode-
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
pointTriangulationPoint-
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
triangleDelaunayTriangle-
The triangle
MeshCleanReq(DelaunayTriangle)
Meshes the clean req using the specified triangle
private void MeshCleanReq(DelaunayTriangle triangle)Parameters
triangleDelaunayTriangle-
The triangle
NewConstraint(TriangulationPoint, TriangulationPoint)
News the constraint using the specified a
public override TriangulationConstraint NewConstraint(TriangulationPoint a, TriangulationPoint b)Parameters
aTriangulationPoint-
The
bTriangulationPoint-
The
Returns
- TriangulationConstraint
-
The triangulation constraint
PrepareTriangulation(Triangulatable)
Prepares the triangulation using the specified t
public override void PrepareTriangulation(Triangulatable t)Parameters
tTriangulatable-
The
RemoveFromList(DelaunayTriangle)
Removes the from list using the specified triangle
public void RemoveFromList(DelaunayTriangle triangle)Parameters
triangleDelaunayTriangle-
The triangle
RemoveNode(AdvancingFrontNode)
Removes the node using the specified node
public void RemoveNode(AdvancingFrontNode node)Parameters
nodeAdvancingFrontNode-
The node