EarClipping Class

NOTE: This member is now obsolete. EarClipping class is deprecated, please use UtilityEx.Triangulate() method instead.

2D triangulation by Ear Clipping method.
Public Class EarClipping
This language is not supported or no code example is available.
public class EarClipping
This language is not supported or no code example is available.
Name Description
Public constructor EarClipping(IList<Point2D>, IList<IList<Point2D>>, bool) Point2D loops constructor.
Public constructor EarClipping(string) Loops contructor that loads the contours from a XML file generated by WriteXML method, for debugging purpose.
Top
Methods
 
Name Description
Public method Equals(Object) Determines whether the specified object is equal to the current object. (inherited from Object).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Public method GetType Gets the Type of the current instance. (inherited from Object).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method ToString Returns a string that represents the current object. (inherited from Object).
Public method Triangulate(natureType) Performs triangulation and output result in a ready to use Mesh entity.
Public method Triangulate(out Point2D[], out IndexTriangle[]) Performs triangulation and output result in the ecVertices and ecTriangles arrays.
Public method WriteXML(string, IList<Point2D>, IList<IList<Point2D>>) Write the EarClipping contours to an XML file for debugging purpose.
Top
devDept.Eyeshot.Triangulation.EarClipping

.NET Framework

Supported in: 4.8

In this article

Definition