Class MeshVertex
Represents a vertex of a mesh.
Inherited Members
Namespace: Paramdigma.Core.Geometry
Assembly: Paramdigma.Core.dll
Syntax
public class MeshVertex : Point3d
Constructors
| Improve this Doc View SourceMeshVertex()
Initializes a new instance of the MeshVertex class.
Declaration
public MeshVertex()
MeshVertex(Point3d)
Initializes a new instance of the MeshVertex class from a 3D point.
Declaration
public MeshVertex(Point3d pt)
Parameters
Type | Name | Description |
---|---|---|
Point3d | pt | Point to copy coordinates from. |
MeshVertex(Double, Double, Double)
Initializes a new instance of the MeshVertex class from it's cartesian coordiantes.
Declaration
public MeshVertex(double x, double y, double z)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | X Coordiante. |
System.Double | y | Y Coordinate. |
System.Double | z | Z Coordinate. |
Properties
| Improve this Doc View SourceHalfEdge
Gets or sets the half-edge this vertex is attached to.
Declaration
public MeshHalfEdge HalfEdge { get; set; }
Property Value
Type | Description |
---|---|
MeshHalfEdge |
Index
Gets or sets the index of the vertex.
Declaration
public int Index { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
UserValues
Gets dictionary of user values.
Declaration
public Dictionary<string, double> UserValues { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, System.Double> |
Methods
| Improve this Doc View SourceAdjacentCorners()
Returns a list with all the adjacent HE_Corners of this vertex.
Declaration
public List<MeshCorner> AdjacentCorners()
Returns
Type | Description |
---|---|
List<MeshCorner> |
AdjacentEdges()
Returns a list with all the adjacent HE_Edge of this vertex.
Declaration
public List<MeshEdge> AdjacentEdges()
Returns
Type | Description |
---|---|
List<MeshEdge> |
AdjacentFaces()
Returns a list with all adjacent HE_Face of a vertex.
Declaration
public List<MeshFace> AdjacentFaces()
Returns
Type | Description |
---|---|
List<MeshFace> |
AdjacentHalfEdges()
Returns a list with all adjacent HE_HalfEdge of this vertex.
Declaration
public List<MeshHalfEdge> AdjacentHalfEdges()
Returns
Type | Description |
---|---|
List<MeshHalfEdge> |
AdjacentVertices()
Returns a list with all the adjacent HE_Vertex of this vertex.
Declaration
public List<MeshVertex> AdjacentVertices()
Returns
Type | Description |
---|---|
List<MeshVertex> |
IsIsolated()
Check if vertex is isolated, meaning corresponding half-edge is null.
Declaration
public bool IsIsolated()
Returns
Type | Description |
---|---|
System.Boolean |
OnBoundary()
Check if vertex is on mesh boundary.
Declaration
public bool OnBoundary()
Returns
Type | Description |
---|---|
System.Boolean |
ToString()
Returns the string representation of this vertex.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourceValence()
Computes the valence of the vertex.
Declaration
public int Valence()
Returns
Type | Description |
---|---|
System.Int32 |