Class EdgeSpan
An EdgeSpan is a continous set of edges in a Mesh that is not closed
(that would be an EdgeLoop)
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
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
Fields
BowtieVertices
Declaration
public int[] BowtieVertices
Field Value
Edges
Declaration
Field Value
Mesh
Declaration
Field Value
Vertices
Declaration
Field Value
Properties
EdgeCount
Declaration
public int EdgeCount { get; }
Property Value
VertexCount
Declaration
public int VertexCount { get; }
Property Value
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
CountWithinTolerance(Vector3d, Double, out Int32)
Declaration
public int CountWithinTolerance(Vector3d v, double tol, out int last_in_tol)
Parameters
Returns
FindNearestVertex(Vector3d)
Declaration
public int FindNearestVertex(Vector3d v)
Parameters
Returns
FromEdges(DMesh3, IList<Int32>)
construct EdgeSpan from a list of edges of mesh
Declaration
public static EdgeSpan FromEdges(DMesh3 mesh, IList<int> edges)
Parameters
Returns
FromVertices(DMesh3, IList<Int32>)
construct EdgeSpan from a list of vertices of mesh
Declaration
public static EdgeSpan FromVertices(DMesh3 mesh, IList<int> vertices)
Parameters
Returns
GetBounds()
Declaration
public AxisAlignedBox3d GetBounds()
Returns
GetVertex(Int32)
Declaration
public Vector3d GetVertex(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
IsBoundarySpan(DMesh3)
Declaration
public bool IsBoundarySpan(DMesh3 testMesh = null)
Parameters
Type |
Name |
Description |
DMesh3 |
testMesh |
|
Returns
IsInternalSpan()
Declaration
public bool IsInternalSpan()
Returns
IsSameSpan(EdgeSpan, Boolean, Double)
Declaration
public bool IsSameSpan(EdgeSpan Spanw, bool bReverse2 = false, double tolerance = 1E-08)
Parameters
Returns
ToCurve(DMesh3)
Declaration
public DCurve3 ToCurve(DMesh3 sourceMesh = null)
Parameters
Type |
Name |
Description |
DMesh3 |
sourceMesh |
|
Returns
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
Returns