Mesh3ClosestMeshPoint Method

Gets the point on the mesh that is closest to a given test point. Similar to the ClosestPoint function except this returns a MeshPoint class which includes extra information beyond just the location of the closest point.

Definition

Namespace: Karamba.Geometry
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
public Point3 ClosestMeshPoint(
	Point3 testPoint,
	double maximumDistance
)

Parameters

testPoint  Point3
Point to be tested for proximity.
maximumDistance  Double
Maximum distance between point and mesh.

Return Value

Point3
Closest mesh vertex.

Implements

IMeshClosestMeshPoint(Point3, Double)

See Also