Search Results for

    Show / Hide Table of Contents

    Class MeshMeshCut

    TODO:

    • track descendant triangles of each input face
    • for missing segments, can resolve in 2D in plane of face
    Inheritance
    Object
    MeshMeshCut
    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 MeshMeshCut

    Fields

    CutMesh

    Declaration
    public DMesh3 CutMesh
    Field Value
    Type Description
    DMesh3

    CutVertices

    Declaration
    public List<int> CutVertices
    Field Value
    Type Description
    List<Int32>

    Target

    Declaration
    public DMesh3 Target
    Field Value
    Type Description
    DMesh3

    VertexSnapTol

    Declaration
    public double VertexSnapTol
    Field Value
    Type Description
    Double

    Methods

    AppendSegments(Double)

    Declaration
    public void AppendSegments(double r)
    Parameters
    Type Name Description
    Double r

    ColorFaces()

    Declaration
    public void ColorFaces()

    Compute()

    Declaration
    public void Compute()

    find_existing_vertex(Vector3d)

    find existing vertex at point, if it exists

    Declaration
    protected int find_existing_vertex(Vector3d pt)
    Parameters
    Type Name Description
    Vector3d pt
    Returns
    Type Description
    Int32

    find_nearest_vertex(Vector3d, Double, Int32)

    find closest vertex, within searchRadius

    Declaration
    protected int find_nearest_vertex(Vector3d pt, double searchRadius, int ignore_vid = -1)
    Parameters
    Type Name Description
    Vector3d pt
    Double searchRadius
    Int32 ignore_vid
    Returns
    Type Description
    Int32

    is_in_triangle(Int32, Vector3d)

    Declaration
    protected bool is_in_triangle(int tid, Vector3d v)
    Parameters
    Type Name Description
    Int32 tid
    Vector3d v
    Returns
    Type Description
    Boolean

    is_on_edge(Int32, Vector3d)

    Declaration
    protected bool is_on_edge(int eid, Vector3d v)
    Parameters
    Type Name Description
    Int32 eid
    Vector3d v
    Returns
    Type Description
    Boolean

    on_edge(ref Triangle3d, ref Vector3d)

    Declaration
    protected int on_edge(ref Triangle3d tri, ref Vector3d v)
    Parameters
    Type Name Description
    Triangle3d tri
    Vector3d v
    Returns
    Type Description
    Int32

    on_edge_eid(Int32, Vector3d)

    Declaration
    protected int on_edge_eid(int tid, Vector3d v)
    Parameters
    Type Name Description
    Int32 tid
    Vector3d v
    Returns
    Type Description
    Int32

    RemoveContained()

    Declaration
    public void RemoveContained()
    In This Article
    Back to top ViRGIS VR GIS