Search Results for

    Show / Hide Table of Contents

    Class EditMeshSpatial

    For use case where we are making local edits to a source mesh. We mask out removed triangles from base mesh SpatialDS, and raycast new triangles separately.

    Inheritance
    Object
    EditMeshSpatial
    Namespace: gs
    Assembly: cs.temp.dll.dll
    Syntax
    public class EditMeshSpatial : ISpatial

    Fields

    EditMesh

    Declaration
    public DMesh3 EditMesh
    Field Value
    Type Description
    DMesh3

    SourceMesh

    Declaration
    public DMesh3 SourceMesh
    Field Value
    Type Description
    DMesh3

    SourceSpatial

    Declaration
    public DMeshAABBTree3 SourceSpatial
    Field Value
    Type Description
    DMeshAABBTree3

    Properties

    SupportsNearestTriangle

    Declaration
    public bool SupportsNearestTriangle { get; }
    Property Value
    Type Description
    Boolean

    SupportsPointContainment

    Declaration
    public bool SupportsPointContainment { get; }
    Property Value
    Type Description
    Boolean

    SupportsTriangleRayIntersection

    Declaration
    public bool SupportsTriangleRayIntersection { get; }
    Property Value
    Type Description
    Boolean

    Methods

    AddTriangle(Int32)

    Declaration
    public void AddTriangle(int tid)
    Parameters
    Type Name Description
    Int32 tid

    FindNearestHitTriangle(Ray3d, Double)

    Declaration
    public int FindNearestHitTriangle(Ray3d ray, double fMaxDist = 1.7976931348623157E+308)
    Parameters
    Type Name Description
    Ray3d ray
    Double fMaxDist
    Returns
    Type Description
    Int32

    FindNearestTriangle(Vector3d, Double)

    Declaration
    public int FindNearestTriangle(Vector3d p, double fMaxDist = 1.7976931348623157E+308)
    Parameters
    Type Name Description
    Vector3d p
    Double fMaxDist
    Returns
    Type Description
    Int32

    IsInside(Vector3d)

    Declaration
    public bool IsInside(Vector3d p)
    Parameters
    Type Name Description
    Vector3d p
    Returns
    Type Description
    Boolean

    RemoveTriangle(Int32)

    Declaration
    public void RemoveTriangle(int tid)
    Parameters
    Type Name Description
    Int32 tid
    In This Article
    Back to top ViRGIS VR GIS