Search Results for

    Show / Hide Table of Contents

    Class EdgeSpan

    An EdgeSpan is a continous set of edges in a Mesh that is not closed (that would be an EdgeLoop)

    Inheritance
    Object
    EdgeSpan
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: g3
    Assembly: cs.temp.dll.dll
    Syntax
    public class EdgeSpan

    Constructors

    EdgeSpan(DMesh3)

    Declaration
    public EdgeSpan(DMesh3 mesh)
    Parameters
    Type Name Description
    DMesh3 mesh

    EdgeSpan(DMesh3, Int32[], Int32[], Boolean)

    Declaration
    public EdgeSpan(DMesh3 mesh, int[] vertices, int[] edges, bool bCopyArrays)
    Parameters
    Type Name Description
    DMesh3 mesh
    Int32[] vertices
    Int32[] edges
    Boolean bCopyArrays

    Fields

    BowtieVertices

    Declaration
    public int[] BowtieVertices
    Field Value
    Type Description
    Int32[]

    Edges

    Declaration
    public int[] Edges
    Field Value
    Type Description
    Int32[]

    Mesh

    Declaration
    public DMesh3 Mesh
    Field Value
    Type Description
    DMesh3

    Vertices

    Declaration
    public int[] Vertices
    Field Value
    Type Description
    Int32[]

    Properties

    EdgeCount

    Declaration
    public int EdgeCount { get; }
    Property Value
    Type Description
    Int32

    VertexCount

    Declaration
    public int VertexCount { get; }
    Property Value
    Type Description
    Int32

    Methods

    CheckValidity(FailMode)

    Exhaustively check that verts and edges of this EdgeSpan are consistent. Not for production use.

    Declaration
    public bool CheckValidity(FailMode eFailMode = FailMode.Throw)
    Parameters
    Type Name Description
    FailMode eFailMode
    Returns
    Type Description
    Boolean

    CountWithinTolerance(Vector3d, Double, out Int32)

    Declaration
    public int CountWithinTolerance(Vector3d v, double tol, out int last_in_tol)
    Parameters
    Type Name Description
    Vector3d v
    Double tol
    Int32 last_in_tol
    Returns
    Type Description
    Int32

    FindNearestVertex(Vector3d)

    Declaration
    public int FindNearestVertex(Vector3d v)
    Parameters
    Type Name Description
    Vector3d v
    Returns
    Type Description
    Int32

    FromEdges(DMesh3, IList<Int32>)

    construct EdgeSpan from a list of edges of mesh

    Declaration
    public static EdgeSpan FromEdges(DMesh3 mesh, IList<int> edges)
    Parameters
    Type Name Description
    DMesh3 mesh
    IList<Int32> edges
    Returns
    Type Description
    EdgeSpan

    FromVertices(DMesh3, IList<Int32>)

    construct EdgeSpan from a list of vertices of mesh

    Declaration
    public static EdgeSpan FromVertices(DMesh3 mesh, IList<int> vertices)
    Parameters
    Type Name Description
    DMesh3 mesh
    IList<Int32> vertices
    Returns
    Type Description
    EdgeSpan

    GetBounds()

    Declaration
    public AxisAlignedBox3d GetBounds()
    Returns
    Type Description
    AxisAlignedBox3d

    GetVertex(Int32)

    Declaration
    public Vector3d GetVertex(int i)
    Parameters
    Type Name Description
    Int32 i
    Returns
    Type Description
    Vector3d

    IsBoundarySpan(DMesh3)

    Declaration
    public bool IsBoundarySpan(DMesh3 testMesh = null)
    Parameters
    Type Name Description
    DMesh3 testMesh
    Returns
    Type Description
    Boolean

    IsInternalSpan()

    Declaration
    public bool IsInternalSpan()
    Returns
    Type Description
    Boolean

    IsSameSpan(EdgeSpan, Boolean, Double)

    Declaration
    public bool IsSameSpan(EdgeSpan Spanw, bool bReverse2 = false, double tolerance = 1E-08)
    Parameters
    Type Name Description
    EdgeSpan Spanw
    Boolean bReverse2
    Double tolerance
    Returns
    Type Description
    Boolean

    ToCurve(DMesh3)

    Declaration
    public DCurve3 ToCurve(DMesh3 sourceMesh = null)
    Parameters
    Type Name Description
    DMesh3 sourceMesh
    Returns
    Type Description
    DCurve3

    VerticesToEdges(DMesh3, Int32[])

    Convert vertex span to list of edges. This should be somewhere else.

    Declaration
    public static int[] VerticesToEdges(DMesh3 mesh, int[] vertex_span)
    Parameters
    Type Name Description
    DMesh3 mesh
    Int32[] vertex_span
    Returns
    Type Description
    Int32[]
    In This Article
    Back to top ViRGIS VR GIS