Search Results for

    Show / Hide Table of Contents

    Interface ISpatial

    Namespace: g3
    Assembly: cs.temp.dll.dll
    Syntax
    public interface ISpatial

    Properties

    SupportsNearestTriangle

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

    SupportsPointContainment

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

    SupportsTriangleRayIntersection

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

    Methods

    FindNearestHitTriangle(Ray3d, Double)

    Find id of triangle intersected by ray, where intersection point is within distance fMaxDist, or return DMesh3.InvalidID if not found

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

    FindNearestTriangle(Vector3d, Double)

    Find id of triangle nearest to p within distance fMaxDist, or return DMesh3.InvalidID if not found

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

    IsInside(Vector3d)

    return true if query point is inside mesh

    Declaration
    bool IsInside(Vector3d p)
    Parameters
    Type Name Description
    Vector3d p
    Returns
    Type Description
    Boolean
    In This Article
    Back to top ViRGIS VR GIS