Class RegionPointer
Pointer to a region in the mesh geometry. A region is a well-defined subset of the geomerty (enclosed by subsegments).
Inheritance
System.Object
RegionPointer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEngine.Experimental.U2D.TriangleNet.Geometry
Syntax
public class RegionPointer
Constructors
RegionPointer(Double, Double, Int32)
Initializes a new instance of the RegionPointer class.
Declaration
public RegionPointer(double x, double y, int id)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | X coordinate of the region. |
System.Double | y | Y coordinate of the region. |
System.Int32 | id | Region id. |
RegionPointer(Double, Double, Int32, Double)
Initializes a new instance of the RegionPointer class.
Declaration
public RegionPointer(double x, double y, int id, double area)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | X coordinate of the region. |
System.Double | y | Y coordinate of the region. |
System.Int32 | id | Region id. |
System.Double | area | Area constraint. |
Properties
Area
Gets or sets a region area constraint.
Declaration
public double Area { get; set; }
Property Value
Type | Description |
---|---|
System.Double |