My Project
|
Represents a straight line segment in 2D space. More...
Public Member Functions | |
Segment (Vertex v0, Vertex v1) | |
Initializes a new instance of the Segment class. | |
Segment (Vertex v0, Vertex v1, int label) | |
Initializes a new instance of the Segment class. | |
Vertex | GetVertex (int index) |
Gets the specified segment endpoint. | |
ITriangle | GetTriangle (int index) |
WARNING: not implemented. | |
Vertex | GetVertex (int index) |
Gets the vertex at given index. | |
ITriangle | GetTriangle (int index) |
Gets an adjoining triangle. | |
Properties | |
int | Label [get, set] |
Gets or sets the segments boundary mark. | |
int | P0 [get] |
Gets the first endpoints index. | |
int | P1 [get] |
Gets the second endpoints index. | |
![]() | |
int | P0 [get] |
Gets the first endpoints index. | |
int | P1 [get] |
Gets the second endpoints index. | |
int | Label [get] |
Gets or sets a general-purpose label. | |
Represents a straight line segment in 2D space.
|
inline |
WARNING: not implemented.
Implements TriangleNet.Geometry.ISegment.
|
inline |
Gets the specified segment endpoint.
index | The endpoint index (0 or 1). |
Implements TriangleNet.Geometry.ISegment.
|
getset |
Gets or sets the segments boundary mark.
Implements TriangleNet.Geometry.IEdge.
|
get |
Gets the first endpoints index.
Implements TriangleNet.Geometry.IEdge.
|
get |
Gets the second endpoints index.
Implements TriangleNet.Geometry.IEdge.