Generated by DocFX

Class MeshVertex

Represents a vertex of a mesh.

Inheritance
System.Object
Point3
MeshVertex
Inherited Members
Point3.Size
Point3.Origin
Point3.Unset
Point3.Add(Vector3, Point3)
Point3.X
Point3.Y
Point3.Z
Point3.IsValid
Point3.Item[Int32]
Point3.Equals(Object)
Point3.EpsilonEquals(Point3, Double)
Point3.CompareTo(Point3)
Point3.IComparable.CompareTo(Object)
Point3.Equals(Point3)
Point3.GetHashCode()
Point3.Interpolate(Point3, Point3, Double)
Point3.PointBetween(Point3, Point3)
Point3.Centroid(IEnumerable<Point3>)
Point3.DistanceTo(Point3)
Point3.ProjectToPlan(Plane)
Point3.DistanceTo(Line)
Point3.Transform(TransformMatrix)
Point3.CullDuplicates(IEnumerable<Point3>, Double)
Point3.IsOnPlane(Plane, Double)
Point3.IsOnLine(Line, Double)
Point3.InPolygon(Polygon)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Syntax
public class MeshVertex : Point3, IEquatable<Point3>, IComparable<Point3>, IComparable

Constructors

| Improve this Doc View Source

MeshVertex()

Initializes a new instance of the MeshVertex class.

Declaration
public MeshVertex()
| Improve this Doc View Source

MeshVertex(Point3)

Initializes a new instance of the MeshVertex class from a 3D point.

Declaration
public MeshVertex(Point3 pt)
Parameters
Type Name Description
Point3 pt

Point to copy coordinates from.

| Improve this Doc View Source

MeshVertex(Double, Double, Double)

Initializes a new instance of the MeshVertex class from it's cartesian coordinates.

Declaration
public MeshVertex(double x, double y, double z)
Parameters
Type Name Description
System.Double x

X Coordinate.

System.Double y

Y Coordinate.

System.Double z

Z Coordinate.

Properties

| Improve this Doc View Source

HalfEdge

Gets or sets the half-edge this vertex is attached to.

Declaration
public MeshHalfEdge HalfEdge { get; set; }
Property Value
Type Description
MeshHalfEdge
| Improve this Doc View Source

Index

Gets or sets the index of the vertex.

Declaration
public int Index { get; set; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

AdjacentCorners()

Returns a list with all the adjacent MeshCorner of this vertex.

Declaration
public IEnumerable<MeshCorner> AdjacentCorners()
Returns
Type Description
System.Collections.Generic.IEnumerable<MeshCorner>
| Improve this Doc View Source

AdjacentEdges()

Returns a list with all the adjacent HE_Edge of this vertex.

Declaration
public IEnumerable<MeshEdge> AdjacentEdges()
Returns
Type Description
System.Collections.Generic.IEnumerable<MeshEdge>
| Improve this Doc View Source

AdjacentFaces()

Returns a list with all adjacent HE_Face of a vertex.

Declaration
public IEnumerable<MeshFace> AdjacentFaces()
Returns
Type Description
System.Collections.Generic.IEnumerable<MeshFace>
| Improve this Doc View Source

AdjacentHalfEdges()

Returns a list with all adjacent HE_HalfEdge of this vertex.

Declaration
public IEnumerable<MeshHalfEdge> AdjacentHalfEdges()
Returns
Type Description
System.Collections.Generic.IEnumerable<MeshHalfEdge>
| Improve this Doc View Source

AdjacentVertices()

Returns a list with all the adjacent HE_Vertex of this vertex.

Declaration
public IEnumerable<MeshVertex> AdjacentVertices()
Returns
Type Description
System.Collections.Generic.IEnumerable<MeshVertex>
| Improve this Doc View Source

IsIsolated()

Check if vertex is isolated, meaning corresponding half-edge is null.

Declaration
public bool IsIsolated()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

OnBoundary()

Check if vertex is on mesh boundary.

Declaration
public bool OnBoundary()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

ToString()

Returns the string representation of this vertex.

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
Point3.ToString()
| Improve this Doc View Source

Valence()

Computes the valence of the vertex.

Declaration
public int Valence()
Returns
Type Description
System.Int32

Implements

System.IEquatable<T>
System.IComparable<T>
System.IComparable