Search Results for

    Show / Hide Table of Contents

    Class MeshIsoCurves

    Inheritance
    Object
    MeshIsoCurves
    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 MeshIsoCurves

    Constructors

    MeshIsoCurves(DMesh3, Func<Vector3d, Double>)

    Declaration
    public MeshIsoCurves(DMesh3 mesh, Func<Vector3d, double> valueF)
    Parameters
    Type Name Description
    DMesh3 mesh
    Func<Vector3d, Double> valueF

    Fields

    Graph

    Declaration
    public DGraph3 Graph
    Field Value
    Type Description
    DGraph3

    GraphEdges

    Declaration
    public DVector<MeshIsoCurves.GraphEdgeInfo> GraphEdges
    Field Value
    Type Description
    DVector<MeshIsoCurves.GraphEdgeInfo>

    Mesh

    Declaration
    public DMesh3 Mesh
    Field Value
    Type Description
    DMesh3

    PrecomputeVertexValues

    If true, then we internally precompute vertex values. THIS COMPUTATION IS MULTI-THREADED

    Declaration
    public bool PrecomputeVertexValues
    Field Value
    Type Description
    Boolean

    RootMode

    Which rootfinding method will be used to converge on surface along edges

    Declaration
    public MeshIsoCurves.RootfindingModes RootMode
    Field Value
    Type Description
    MeshIsoCurves.RootfindingModes

    RootModeSteps

    number of iterations of rootfinding method (ignored for SingleLerp)

    Declaration
    public int RootModeSteps
    Field Value
    Type Description
    Int32

    ValueF

    Declaration
    public Func<Vector3d, double> ValueF
    Field Value
    Type Description
    Func<Vector3d, Double>

    VertexValueF

    Optional - provide value at vertex (which may be precomputed)

    Declaration
    public Func<int, double> VertexValueF
    Field Value
    Type Description
    Func<Int32, Double>

    WantGraphEdgeInfo

    Declaration
    public bool WantGraphEdgeInfo
    Field Value
    Type Description
    Boolean

    Methods

    Compute()

    Declaration
    public void Compute()

    Compute(IEnumerable<Int32>)

    Declaration
    public void Compute(IEnumerable<int> Triangles)
    Parameters
    Type Name Description
    IEnumerable<Int32> Triangles

    compute_full(IEnumerable<Int32>, Boolean)

    Declaration
    protected void compute_full(IEnumerable<int> Triangles, bool bIsFullMeshHint = false)
    Parameters
    Type Name Description
    IEnumerable<Int32> Triangles
    Boolean bIsFullMeshHint

    ShouldReverseGraphEdge(Int32)

    DGraph3 edges are not oriented, which means they cannot inherit orientation from mesh. This function returns true if, for a given graph_eid, the vertex pair returned by Graph.GetEdgeV(graph_eid) should be reversed to be consistent with mesh orientation. Mainly inteded to be passed to DGraph3Util.ExtractCurves

    Declaration
    public bool ShouldReverseGraphEdge(int graph_eid)
    Parameters
    Type Name Description
    Int32 graph_eid
    Returns
    Type Description
    Boolean

    SplitAtIsoCrossings(Double)

    Split the mesh edges at the iso-crossings, unless edge is shorter than min_len, or inserted point would be within min_len or vertex [TODO] do we want to return any info here??

    Declaration
    public void SplitAtIsoCrossings(double min_len = 0)
    Parameters
    Type Name Description
    Double min_len
    In This Article
    Back to top ViRGIS VR GIS