The vertex data structure.
More...
|
| Vertex () |
| Initializes a new instance of the Vertex class.
|
|
| Vertex (float x, float y) |
| Initializes a new instance of the Vertex class.
|
|
| Vertex (float x, float y, int mark) |
| Initializes a new instance of the Vertex class.
|
|
override int | GetHashCode () |
|
| Point (float x, float y) |
|
| Point (float x, float y, int label) |
|
override bool | Equals (object obj) |
|
bool | Equals (Point p) |
|
int | CompareTo (Point other) |
|
override int | GetHashCode () |
|
|
static | operator Vector2 (Vertex p) |
|
static | operator Vector3 (Vertex p) |
|
static bool | operator== (Point a, Point b) |
|
static bool | operator!= (Point a, Point b) |
|
static | operator Vector2 (Point p) |
|
static | operator Vector3 (Point p) |
|
|
VertexType | Type [get] |
| Gets the vertex type.
|
|
float | this[int i] [get] |
| Gets the specified coordinate of the vertex.
|
|
int | ID [get, set] |
| Gets or sets the vertex id.
|
|
float | X [get, set] |
| Gets or sets the vertex x coordinate.
|
|
float | Y [get, set] |
| Gets or sets the vertex y coordinate.
|
|
int | Label [get, set] |
| Gets or sets a general-purpose label.
|
|
The vertex data structure.
◆ Vertex() [1/2]
TriangleNet.Geometry.Vertex.Vertex |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
|
inline |
Initializes a new instance of the Vertex class.
- Parameters
-
x | The x coordinate of the vertex. |
y | The y coordinate of the vertex. |
◆ Vertex() [2/2]
TriangleNet.Geometry.Vertex.Vertex |
( |
float |
x, |
|
|
float |
y, |
|
|
int |
mark |
|
) |
| |
|
inline |
Initializes a new instance of the Vertex class.
- Parameters
-
x | The x coordinate of the vertex. |
y | The y coordinate of the vertex. |
mark | The boundary mark. |
◆ this[int i]
float TriangleNet.Geometry.Vertex.this[int i] |
|
get |
Gets the specified coordinate of the vertex.
- Parameters
-
- Returns
- X coordinate, if index is 0, Y coordinate, if index is 1.
The documentation for this class was generated from the following file:
- C:/Transhuman/S2/Assets/Plugins/TriangleNet/Scripts/Source/Geometry/Vertex.cs