• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Paramdigma.Core
    • Convert
    • Intersect3D
    • Intersect3D.LineLineIntersectionResult
    • Intersect3D.LineLineIntersectionStatus
    • Intersect3D.LinePlaneIntersectionStatus
    • Intersect3D.RayFacePerimeterIntersectionStatus
    • Settings
  • Paramdigma.Core.Collections
    • Interval
    • Matrix<T>
  • Paramdigma.Core.Curves
    • Geodesics
    • LevelSets
  • Paramdigma.Core.Exceptions
    • UnsetGeometryException
  • Paramdigma.Core.Extensions
    • Lists
  • Paramdigma.Core.Geometry
    • BaseCurve
    • BasePoint
    • Box
    • Circle
    • Cylinder
    • Delaunay
    • InvalidCurveException
    • Line
    • Line2d
    • Mesh
    • MeshCorner
    • MeshEdge
    • MeshFace
    • MeshGeometry
    • MeshHalfEdge
    • MeshPoint
    • MeshTopology
    • MeshVertex
    • NurbsCurve
    • NurbsSurface
    • Plane
    • Point2d
    • Point3d
    • Point4d
    • Polyline
    • Polyline2d
    • Ray
    • Ray2d
    • Rectangle2d
    • Sphere
    • Torus
    • Vector2d
    • Vector3d
    • VectorNd
  • Paramdigma.Core.Geometry.Interfaces
    • ICurve
    • ISurface
    • IVector
  • Paramdigma.Core.IO
    • CsvReader
    • CsvWritter
    • OBJMeshData
    • ObjReader
    • ObjWritter
    • OffMeshData
    • OffReader
    • OffResult
    • OffWriter
  • Paramdigma.Core.LinearAlgebra
    • Complex
    • LeastSquaresLinearFit
    • Triplet
    • TripletData
  • Paramdigma.Core.Optimization
    • GradientDescent
    • GradientDescent.FitnessFunction
    • GradientDescentOptions
    • GradientDescentResult
    • KMeansCluster
    • KMeansClustering
    • KMeansClustering.IterationCompletedEventArgs
  • Paramdigma.Core.Spatial
    • DelaunayEdge
    • DelaunayPoint
    • DelaunayTriangle
    • Octree
    • PointCloud
    • PointCloudMember
    • QuadTree

Class MeshFace

Half-edge mesh face class.

Inheritance
System.Object
MeshFace
Namespace: Paramdigma.Core.Geometry
Assembly: Paramdigma.Core.dll
Syntax
public class MeshFace : object

Constructors

| Improve this Doc View Source

MeshFace()

Initializes a new instance of the MeshFace class.

Declaration
public MeshFace()

Properties

| Improve this Doc View Source

Area

Gets the area of the face.

Declaration
public double Area { get; }
Property Value
Type Description
System.Double

Returns the value of the face area.

| Improve this Doc View Source

HalfEdge

Gets or sets one of the half-edges surrounding the face.

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

Index

Gets or sets the face index on the mesh face list.

Declaration
public int Index { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Normal

Gets the normal vector of the face.

Declaration
public Vector3d Normal { get; }
Property Value
Type Description
Vector3d

Returns the perpendicular vector to the face.

Methods

| Improve this Doc View Source

AdjacentCorners()

Get all adjacent corners to this face.

Declaration
public List<MeshCorner> AdjacentCorners()
Returns
Type Description
List<MeshCorner>

Returns a list of all adjacent corners in order.

| Improve this Doc View Source

AdjacentEdges()

Get all adjacent edges to this face.

Declaration
public List<MeshEdge> AdjacentEdges()
Returns
Type Description
List<MeshEdge>

Returns a list of all adjacent edges in order.

| Improve this Doc View Source

AdjacentFaces()

Get all adjacent faces to this face.

Declaration
public List<MeshFace> AdjacentFaces()
Returns
Type Description
List<MeshFace>

Returns a list of all adjacent faces in order.

| Improve this Doc View Source

AdjacentHalfEdges()

Get all adjacent half-edges to this face.

Declaration
public List<MeshHalfEdge> AdjacentHalfEdges()
Returns
Type Description
List<MeshHalfEdge>

Returns a list of all adjacent half-edges in order.

| Improve this Doc View Source

AdjacentVertices()

Get all adjacent vertices to this face.

Declaration
public List<MeshVertex> AdjacentVertices()
Returns
Type Description
List<MeshVertex>

Returns a list of all adjacent vertices in order.

| Improve this Doc View Source

IsBoundaryLoop()

Checks if the current face is a boundary face.

Declaration
public bool IsBoundaryLoop()
Returns
Type Description
System.Boolean

Returns true if the face is a boundary face, false if not.

| Improve this Doc View Source

ToString()

Convert the mesh face to string.

Declaration
public override string ToString()
Returns
Type Description
System.String

Returns the string representation of the mesh face.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX