Class MeshProjectionTarget
MeshProjectionTarget provides an IProjectionTarget interface to a mesh + spatial data structure.
Use to project points to mesh surface.
Inheritance
MeshProjectionTarget
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
Properties
Mesh
Declaration
public DMesh3 Mesh { get; set; }
Property Value
Spatial
Declaration
public ISpatial Spatial { get; set; }
Property Value
Methods
Auto(DMesh3, Boolean)
Automatically construct fastest projection target for mesh
Declaration
public static MeshProjectionTarget Auto(DMesh3 mesh, bool bForceCopy = true)
Parameters
Returns
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
Returns
Project(Vector3d, out Vector3d, Int32)
Declaration
public virtual Vector3d Project(Vector3d vPoint, out Vector3d vProjectNormal, int identifier = -1)
Parameters
Returns
Project(Vector3d, Int32)
Declaration
public virtual Vector3d Project(Vector3d vPoint, int identifier = -1)
Parameters
Returns
Implements