Search Results for

    Show / Hide Table of Contents

    Class MeshProjectionTarget

    MeshProjectionTarget provides an IProjectionTarget interface to a mesh + spatial data structure. Use to project points to mesh surface.

    Inheritance
    Object
    MeshProjectionTarget
    TransformedMeshProjectionTarget
    Implements
    IOrientedProjectionTarget
    IProjectionTarget
    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 MeshProjectionTarget : IOrientedProjectionTarget, IProjectionTarget

    Constructors

    MeshProjectionTarget()

    Declaration
    public MeshProjectionTarget()

    MeshProjectionTarget(DMesh3)

    Declaration
    public MeshProjectionTarget(DMesh3 mesh)
    Parameters
    Type Name Description
    DMesh3 mesh

    MeshProjectionTarget(DMesh3, ISpatial)

    Declaration
    public MeshProjectionTarget(DMesh3 mesh, ISpatial spatial)
    Parameters
    Type Name Description
    DMesh3 mesh
    ISpatial spatial

    Properties

    Mesh

    Declaration
    public DMesh3 Mesh { get; set; }
    Property Value
    Type Description
    DMesh3

    Spatial

    Declaration
    public ISpatial Spatial { get; set; }
    Property Value
    Type Description
    ISpatial

    Methods

    Auto(DMesh3, Boolean)

    Automatically construct fastest projection target for mesh

    Declaration
    public static MeshProjectionTarget Auto(DMesh3 mesh, bool bForceCopy = true)
    Parameters
    Type Name Description
    DMesh3 mesh
    Boolean bForceCopy
    Returns
    Type Description
    MeshProjectionTarget

    Auto(DMesh3, IEnumerable<Int32>, Int32)

    Automatically construct fastest projection target for region of mesh

    Declaration
    public static MeshProjectionTarget Auto(DMesh3 mesh, IEnumerable<int> triangles, int nExpandRings = 5)
    Parameters
    Type Name Description
    DMesh3 mesh
    IEnumerable<Int32> triangles
    Int32 nExpandRings
    Returns
    Type Description
    MeshProjectionTarget

    Project(Vector3d, out Vector3d, Int32)

    Declaration
    public virtual Vector3d Project(Vector3d vPoint, out Vector3d vProjectNormal, int identifier = -1)
    Parameters
    Type Name Description
    Vector3d vPoint
    Vector3d vProjectNormal
    Int32 identifier
    Returns
    Type Description
    Vector3d

    Project(Vector3d, Int32)

    Declaration
    public virtual Vector3d Project(Vector3d vPoint, int identifier = -1)
    Parameters
    Type Name Description
    Vector3d vPoint
    Int32 identifier
    Returns
    Type Description
    Vector3d

    Implements

    IOrientedProjectionTarget
    IProjectionTarget
    In This Article
    Back to top ViRGIS VR GIS