Click or drag to resize

DelaunayTriangle Class

Represents a triangle in the Delaunay triangulation.
Inheritance Hierarchy
SystemObject
  Poly2TriDelaunayTriangle

Namespace: Poly2Tri
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class DelaunayTriangle

The DelaunayTriangle type exposes the following members.

Constructors
 NameDescription
Public methodDelaunayTriangle Initializes a new instance of the DelaunayTriangle class.
Top
Properties
 NameDescription
Public propertyIsInterior Gets or sets a value indicating whether this triangle is part of the interior result.
Top
Methods
 NameDescription
Public methodArea Computes the triangle area.
Public methodCentroid Computes the triangle centroid.
Public methodContains Determines whether the specified point is one of the triangle vertices.
Public methodEdgeIndex Get the index of the neighbor that shares this edge (or -1 if it isn't shared)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetConstrainedEdgeAcross Gets the constrained-edge flag across from the specified point.
Public methodGetConstrainedEdgeCCW Gets the constrained-edge flag counterclockwise from the specified point.
Public methodGetConstrainedEdgeCW Gets the constrained-edge flag clockwise from the specified point.
Public methodGetDelaunayEdgeAcross Gets the Delaunay-edge flag across from the specified point.
Public methodGetDelaunayEdgeCCW Gets the Delaunay-edge flag counterclockwise from the specified point.
Public methodGetDelaunayEdgeCW Gets the Delaunay-edge flag clockwise from the specified point.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIndexCCWFrom Gets the counterclockwise index relative to the specified point.
Public methodIndexCWFrom Gets the clockwise index relative to the specified point.
Public methodIndexOf Gets the index of the specified point within the triangle.
Public methodLegalize Legalize triangle by rotating clockwise around oPoint
Public methodMarkConstrainedEdge(DTSweepConstraint) Marks the specified constrained edge.
Public methodMarkConstrainedEdge(Int32) Marks the edge at the specified index as constrained.
Public methodMarkConstrainedEdge(TriangulationPoint, TriangulationPoint) Mark edge as constrained
Public methodMarkEdge(DelaunayTriangle) Marks all constrained edges on the specified triangle.
Public methodMarkEdge(ListDelaunayTriangle) Marks constrained edges based on the specified triangles.
Public methodMarkNeighbor Exhaustive search to update neighbor pointers
Public methodMarkNeighborEdges Finalize edge marking
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodNeighborAcrossFrom Gets the neighbor across from the specified point.
Public methodNeighborCCWFrom Gets the counterclockwise neighbor relative to the specified point.
Public methodNeighborCWFrom Gets the clockwise neighbor relative to the specified point.
Public methodOppositePoint Gets the point in this triangle opposite to the point p in the neighboring triangle t.
Public methodPointCCWFrom Gets the counterclockwise point relative to the specified point.
Public methodPointCWFrom Gets the clockwise point relative to the specified point.
Public methodSetConstrainedEdgeAcross Sets the constrained-edge flag across from the specified point.
Public methodSetConstrainedEdgeCCW Sets the constrained-edge flag counterclockwise from the specified point.
Public methodSetConstrainedEdgeCW Sets the constrained-edge flag clockwise from the specified point.
Public methodSetDelaunayEdgeAcross Sets the Delaunay-edge flag across from the specified point.
Public methodSetDelaunayEdgeCCW Sets the Delaunay-edge flag counterclockwise from the specified point.
Public methodSetDelaunayEdgeCW Sets the Delaunay-edge flag clockwise from the specified point.
Public methodToString Returns a string representation of this triangle.
(Overrides ObjectToString)
Top
Fields
 NameDescription
Public fieldEdgeIsConstrained Flags indicating whether the triangle edges are constrained or marked as Delaunay edges.
Public fieldEdgeIsDelaunay Flags indicating whether the triangle edges are constrained or marked as Delaunay edges.
Public fieldNeighbors Neighbor triangles across the three triangle edges.
Public fieldPoints The triangle vertices.
Top
See Also