My Project
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
TriangleNet.Geometry.ITriangle Interface Reference

Triangle interface. More...

Inheritance diagram for TriangleNet.Geometry.ITriangle:
TriangleNet.IO.InputTriangle TriangleNet.Topology.Triangle

Public Member Functions

Vertex GetVertex (int index)
 Gets the vertex at given index.
 
int GetVertexID (int index)
 Gets the ID of the vertex at given index.
 
ITriangle GetNeighbor (int index)
 Gets the neighbor triangle at given index.
 
int GetNeighborID (int index)
 Gets the ID of the neighbor triangle at given index.
 
ISegment GetSegment (int index)
 Gets the segment at given index.
 

Properties

int ID [get, set]
 Gets or sets the triangle ID.
 
int Label [get, set]
 Gets or sets a general-purpose label.
 
float Area [get, set]
 Gets or sets the triangle area constraint.
 

Detailed Description

Triangle interface.

Member Function Documentation

◆ GetNeighbor()

ITriangle TriangleNet.Geometry.ITriangle.GetNeighbor ( int  index)

Gets the neighbor triangle at given index.

Parameters
indexThe local index (0, 1 or 2).
Returns
The neighbor triangle.

Implemented in TriangleNet.IO.InputTriangle, and TriangleNet.Topology.Triangle.

◆ GetNeighborID()

int TriangleNet.Geometry.ITriangle.GetNeighborID ( int  index)

Gets the ID of the neighbor triangle at given index.

Parameters
indexThe local index (0, 1 or 2).
Returns
The neighbor triangle ID.

Implemented in TriangleNet.IO.InputTriangle, and TriangleNet.Topology.Triangle.

◆ GetSegment()

ISegment TriangleNet.Geometry.ITriangle.GetSegment ( int  index)

Gets the segment at given index.

Parameters
indexThe local index (0, 1 or 2).
Returns
The segment.

Implemented in TriangleNet.IO.InputTriangle, and TriangleNet.Topology.Triangle.

◆ GetVertex()

Vertex TriangleNet.Geometry.ITriangle.GetVertex ( int  index)

Gets the vertex at given index.

Parameters
indexThe local index (0, 1 or 2).
Returns
The vertex.

Implemented in TriangleNet.IO.InputTriangle, and TriangleNet.Topology.Triangle.

◆ GetVertexID()

int TriangleNet.Geometry.ITriangle.GetVertexID ( int  index)

Gets the ID of the vertex at given index.

Parameters
indexThe local index (0, 1 or 2).
Returns
The vertex ID.

Implemented in TriangleNet.IO.InputTriangle, and TriangleNet.Topology.Triangle.

Property Documentation

◆ Area

float TriangleNet.Geometry.ITriangle.Area
getset

Gets or sets the triangle area constraint.

Implemented in TriangleNet.IO.InputTriangle, and TriangleNet.Topology.Triangle.

◆ ID

int TriangleNet.Geometry.ITriangle.ID
getset

Gets or sets the triangle ID.

Implemented in TriangleNet.IO.InputTriangle, and TriangleNet.Topology.Triangle.

◆ Label

int TriangleNet.Geometry.ITriangle.Label
getset

Gets or sets a general-purpose label.

This is used for region information.

Implemented in TriangleNet.IO.InputTriangle, and TriangleNet.Topology.Triangle.


The documentation for this interface was generated from the following file: