BRIDGES
  • Articles
  • BRIDGES
Search Results for

    Show / Hide Table of Contents
    • Settings
    • LinearAlgebra
      • Vectors
        • DenseVector
        • SparseVector
        • Vector
      • Factorisation
        • SparseQR
      • Matrices
        • DenseMatrix
        • Matrix
        • SparseMatrix
        • Sparse
          • CompressedColumn
          • CompressedRow
        • Storage
          • DictionaryOfKeys
    • Algebra
      • Measure
        • IDotProduct<TSelf, TValue>
        • IMetric<TSelf>
        • INorm<TSelf>
      • Sets
        • IGroupAction<TSelf, TValue>
      • Fundamentals
        • IAddable<T>
    • Solvers
      • GuidedProjection
        • Energy
        • GuidedProjectionAlgorithm
        • LinearisedConstraint
        • QuadraticConstraint
        • VariableSet
        • EnergyTypes
          • SegmentOrthogonality
          • SegmentParallelity
        • Interfaces
          • IEnergyType
          • ILinearisedConstraintType
          • IQuadraticConstraintType
        • QuadraticConstraintTypes
          • CoherentLength
          • LowerBound
          • UpperBound
          • VectorLength
    • Arithmetic
      • Polynomials
        • Multivariate
          • Monomial
          • Polynomial
        • Univariate
          • Polynomial
          • Specials
            • Bernstein
            • BSpline
      • Numbers
        • Complex
        • Quaternion
        • Real
    • Geometry
      • Euclidean3D
        • Basis
        • BSplineCurve
        • BSplineSurface
        • Circle
        • Frame
        • Line
        • NurbsCurve
        • NurbsSurface
        • Plane
        • Point
        • Polyline
        • Ray
        • Segment
        • Sphere
        • Vector
      • Kernel
        • BSplineCurve<TPoint>
        • BSplineSurface<TPoint>
        • CurveParameterFormat
        • IGeometricallyEquatable<T>
      • Projective3D
        • Point
    • DataStructures
      • PolyhedralMeshes
        • IEdge<TPosition>
        • IFace<TPosition>
        • IMesh<TPosition>
        • IVertex<TPosition>
        • FaceVertexMesh
          • Edge<TPosition>
          • Face<TPosition>
          • Mesh<TPosition>
          • Vertex<TPosition>
        • Abstract
          • Edge<TPosition, TVertex, TEdge, TFace>
          • Face<TPosition, TVertex, TEdge, TFace>
          • Mesh<TPosition, TVertex, TEdge, TFace>
          • Vertex<TPosition, TVertex, TEdge, TFace>
        • HalfedgeMesh
          • Edge<TPosition>
          • Face<TPosition>
          • Halfedge<TPosition>
          • Mesh<TPosition>
          • Vertex<TPosition>

    Class Mesh<TPosition>

    Class for a polyhedral face-vertex mesh data structure.

    Inheritance
    Object
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>
    Mesh<TPosition>
    Implements
    IMesh<TPosition>
    ICloneable
    Inherited Members
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.VertexCount
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.EdgeCount
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.FaceCount
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.RemoveVertex(Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.EraseVertex(Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.AddEdge(Int32, Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.EdgeBetween(Int32, Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.RemoveEdge(Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.EraseEdge(Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.AddFace(Int32, Int32, Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.AddFace(Int32, Int32, Int32, Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.AddFace(List<Int32>)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.AddFace(Vertex<TPosition>, Vertex<TPosition>, Vertex<TPosition>)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.AddFace(Vertex<TPosition>, Vertex<TPosition>, Vertex<TPosition>, Vertex<TPosition>)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.RemoveFace(Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.EraseFace(Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.EdgeBetween(Vertex<TPosition>, Vertex<TPosition>)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.CleanMesh(Boolean)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.Clone()
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.AddVertex(TPosition)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.GetVertex(Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.TryGetVertex(Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.GetVertices()
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.RemoveVertex(Vertex<TPosition>)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.EraseVertex(Vertex<TPosition>)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.GetEdge(Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.TryGetEdge(Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.GetEdges()
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.RemoveEdge(Edge<TPosition>)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.EraseEdge(Edge<TPosition>)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.AddFace(List<Vertex<TPosition>>)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.GetFace(Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.TryGetFace(Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.GetFaces()
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.RemoveFace(Face<TPosition>)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.EraseFace(Face<TPosition>)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.Equals(Object)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.GetHashCode()
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.ToString()
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.IMesh<TPosition>.AddVertex(TPosition)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.IMesh<TPosition>.GetVertex(Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.IMesh<TPosition>.TryGetVertex(Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.IMesh<TPosition>.GetVertices()
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.IMesh<TPosition>.AddEdge(Int32, Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.IMesh<TPosition>.GetEdge(Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.IMesh<TPosition>.TryGetEdge(Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.IMesh<TPosition>.GetEdges()
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.IMesh<TPosition>.EdgeBetween(Int32, Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.IMesh<TPosition>.AddFace(Int32, Int32, Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.IMesh<TPosition>.AddFace(Int32, Int32, Int32, Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.IMesh<TPosition>.AddFace(List<Int32>)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.IMesh<TPosition>.GetFace(Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.IMesh<TPosition>.TryGetFace(Int32)
    Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>.IMesh<TPosition>.GetFaces()
    Namespace: BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh
    Assembly: BRIDGES.dll
    Syntax
    public class Mesh<TPosition> : Mesh<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>, IMesh<TPosition> where TPosition : IEquatable<TPosition>
    Type Parameters
    Name Description
    TPosition

    Type for the position of the vertex.

    Constructors

    | Improve this Doc View Source

    Mesh()

    Initialises a new instance of the Mesh<TPosition> class.

    Declaration
    public Mesh()

    Fields

    | Improve this Doc View Source

    _newEdgeIndex

    Index for a newly created edge.

    Declaration
    protected int _newEdgeIndex
    Field Value
    Type Description
    Int32
    Remarks

    This may not match with EdgeCount if edges are removed from the mesh.

    | Improve this Doc View Source

    _newFaceIndex

    Index for a newly created face.

    Declaration
    protected int _newFaceIndex
    Field Value
    Type Description
    Int32
    Remarks

    This may not match with FaceCount if faces are removed from the mesh.

    | Improve this Doc View Source

    _newVertexIndex

    Index for a newly created vertex.

    Declaration
    protected int _newVertexIndex
    Field Value
    Type Description
    Int32
    Remarks

    This may not match with VertexCount if vertices are removed from the mesh.

    Properties

    | Improve this Doc View Source

    EdgeCount

    Gets the number of edges in the current mesh.

    Declaration
    public override int EdgeCount { get; }
    Property Value
    Type Description
    Int32
    Overrides
    BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Mesh<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.EdgeCount
    | Improve this Doc View Source

    FaceCount

    Gets the number of faces in the current mesh.

    Declaration
    public override int FaceCount { get; }
    Property Value
    Type Description
    Int32
    Overrides
    BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Mesh<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.FaceCount
    | Improve this Doc View Source

    VertexCount

    Gets the number of vertices in the current mesh.

    Declaration
    public override int VertexCount { get; }
    Property Value
    Type Description
    Int32
    Overrides
    BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Mesh<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.VertexCount

    Methods

    | Improve this Doc View Source

    AddFace(List<Vertex<TPosition>>)

    Adds a new face to the current mesh from its vertices.

    Declaration
    public override Face<TPosition> AddFace(List<Vertex<TPosition>> vertices)
    Parameters
    Type Name Description
    List<Vertex<TPosition>> vertices
    Returns
    Type Description
    Face<TPosition>

    The new face if it was added, null otherwise.

    Overrides
    BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Mesh<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.AddFace(List<BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>>)
    | Improve this Doc View Source

    AddVertex(TPosition)

    Adds a vertex in the mesh from its position.

    Declaration
    public override Vertex<TPosition> AddVertex(TPosition position)
    Parameters
    Type Name Description
    TPosition position

    Position of the vertex.

    Returns
    Type Description
    Vertex<TPosition>

    The new vertex if it was added, null otherwise.

    Overrides
    BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Mesh<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.AddVertex(TPosition)
    | Improve this Doc View Source

    CleanMesh(Boolean)

    Cleans the current mesh by reindexing the faces, edges and vertices.

    Declaration
    public override void CleanMesh(bool cullIsolated = true)
    Parameters
    Type Name Description
    Boolean cullIsolated

    Evaluates whether isolated members should be removed in the process.

    Overrides
    BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Mesh<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.CleanMesh(System.Boolean)
    | Improve this Doc View Source

    Clone()

    Creates a new object that is a deep copy of the current instance.

    Declaration
    public override object Clone()
    Returns
    Type Description
    Object

    The new object that is a deep copy of the current instance.

    Overrides
    BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Mesh<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.Clone()
    | Improve this Doc View Source

    EraseEdge(Edge<TPosition>)

    Erases the edge from the mesh. The mesh may not be manifold after this operation.

    Declaration
    public override void EraseEdge(Edge<TPosition> edge)
    Parameters
    Type Name Description
    Edge<TPosition> edge
    Overrides
    BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Mesh<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.EraseEdge(BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>)
    | Improve this Doc View Source

    EraseFace(Face<TPosition>)

    Erases the face from the mesh. The mesh may not be manifold after this operation.

    Declaration
    public override void EraseFace(Face<TPosition> face)
    Parameters
    Type Name Description
    Face<TPosition> face
    Overrides
    BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Mesh<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.EraseFace(BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>)
    | Improve this Doc View Source

    EraseVertex(Vertex<TPosition>)

    Erases the vertex from the mesh. Every reference to this vertex should be deleted before it is erased.

    Declaration
    protected override void EraseVertex(Vertex<TPosition> vertex)
    Parameters
    Type Name Description
    Vertex<TPosition> vertex
    Overrides
    BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Mesh<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.EraseVertex(BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>)
    | Improve this Doc View Source

    GetEdge(Int32)

    Returns the edge at the given index in the mesh.

    Declaration
    public override Edge<TPosition> GetEdge(int index)
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    Edge<TPosition>

    The edge at the given index in the mesh.

    Overrides
    BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Mesh<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.GetEdge(System.Int32)
    | Improve this Doc View Source

    GetEdges()

    Returns the list of edges of the current mesh.

    Declaration
    public override IReadOnlyList<Edge<TPosition>> GetEdges()
    Returns
    Type Description
    IReadOnlyList<Edge<TPosition>>

    List of edges of the mesh.

    Overrides
    BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Mesh<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.GetEdges()
    Remarks

    If some edges were removed from the mesh, the index of the edge in the returned list might not match the edge index in the mesh.
    The index of the edges in the mesh is accessible through the Index property.

    | Improve this Doc View Source

    GetFace(Int32)

    Returns the face at the given index in the mesh.

    Declaration
    public override Face<TPosition> GetFace(int index)
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    Face<TPosition>

    The face at the given index in the mesh.

    Overrides
    BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Mesh<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.GetFace(System.Int32)
    | Improve this Doc View Source

    GetFaces()

    Returns the list of faces of the current mesh.

    Declaration
    public override IReadOnlyList<Face<TPosition>> GetFaces()
    Returns
    Type Description
    IReadOnlyList<Face<TPosition>>

    List of faces of the mesh.

    Overrides
    BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Mesh<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.GetFaces()
    Remarks

    If some faces were removed from the mesh, the index of the face in the returned list might not match the face index in the mesh.
    The index of the faces in the mesh is accessible through the Index property.

    | Improve this Doc View Source

    GetVertex(Int32)

    Returns the vertex at the given index in the mesh.

    Declaration
    public override Vertex<TPosition> GetVertex(int index)
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    Vertex<TPosition>

    The vertex at the given index in the mesh.

    Overrides
    BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Mesh<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.GetVertex(System.Int32)
    | Improve this Doc View Source

    GetVertices()

    Returns the list of vertices of the current mesh.

    Declaration
    public override IReadOnlyList<Vertex<TPosition>> GetVertices()
    Returns
    Type Description
    IReadOnlyList<Vertex<TPosition>>

    List of vertices of the mesh.

    Overrides
    BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Mesh<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.GetVertices()
    Remarks

    If some vertices were removed from the mesh, the index of the vertex in the returned list might not match the vertex index in the mesh.
    The index of the vertices in the mesh is accessible through the Index property.

    | Improve this Doc View Source

    RemoveEdge(Edge<TPosition>)

    Removes the edge from the mesh by keeping the mesh manifold.

    Declaration
    public override void RemoveEdge(Edge<TPosition> edge)
    Parameters
    Type Name Description
    Edge<TPosition> edge
    Overrides
    BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Mesh<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.RemoveEdge(BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>)
    | Improve this Doc View Source

    RemoveFace(Face<TPosition>)

    Removes the face from the mesh by keeping the mesh manifold.

    Declaration
    public override void RemoveFace(Face<TPosition> face)
    Parameters
    Type Name Description
    Face<TPosition> face
    Overrides
    BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Mesh<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.RemoveFace(BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>)
    | Improve this Doc View Source

    RemoveVertex(Vertex<TPosition>)

    Removes the vertex from the mesh by keeping the mesh manifold.

    Declaration
    public override void RemoveVertex(Vertex<TPosition> vertex)
    Parameters
    Type Name Description
    Vertex<TPosition> vertex
    Overrides
    BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Mesh<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.RemoveVertex(BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>)
    | Improve this Doc View Source

    ToHalfedgeMesh()

    Creates a halfedge mesh from the current face-vertex mesh.

    Declaration
    public Mesh<TPosition> ToHalfedgeMesh()
    Returns
    Type Description
    Mesh<TPosition>

    Halfedge mesh which represents the topology and geometry of the current face-vertex mesh.

    | Improve this Doc View Source

    ToString()

    Class for a polyhedral face-vertex mesh data structure.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Mesh<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.ToString()
    | Improve this Doc View Source

    TryGetEdge(Int32)

    Returns the edge at the given index in the mesh if it exists, null otherwise.

    Declaration
    public override Edge<TPosition> TryGetEdge(int index)
    Parameters
    Type Name Description
    Int32 index

    The index of the edge to look for.

    Returns
    Type Description
    Edge<TPosition>

    The edge if it exists, null otherwise.

    Overrides
    BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Mesh<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.TryGetEdge(System.Int32)
    | Improve this Doc View Source

    TryGetFace(Int32)

    Returns the face at the given index in the mesh if it exists, null otherwise.

    Declaration
    public override Face<TPosition> TryGetFace(int index)
    Parameters
    Type Name Description
    Int32 index

    The index of the face to look for.

    Returns
    Type Description
    Face<TPosition>

    The face if it exists, null otherwise.

    Overrides
    BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Mesh<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.TryGetFace(System.Int32)
    | Improve this Doc View Source

    TryGetVertex(Int32)

    Returns the vertex at the given index in the mesh if it exists, null otherwise.

    Declaration
    public override Vertex<TPosition> TryGetVertex(int index)
    Parameters
    Type Name Description
    Int32 index

    The index of the vertex to look for.

    Returns
    Type Description
    Vertex<TPosition>

    The vertex if it exists, null otherwise.

    Overrides
    BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Mesh<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.TryGetVertex(System.Int32)

    Implements

    IMesh<TPosition>
    ICloneable
    • Improve this Doc
    • View Source
    In This Article
    Back to top By ENPC and the Build'In Platform