Click or drag to resize

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.

Namespace:  Karamba.Geometry
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
public Point3 ClosestMeshPoint(
	Point3 testPoint,
	double maximumDistance
)

Parameters

testPoint
Type: Karamba.GeometryPoint3
Point to be tested for proximity.
maximumDistance
Type: SystemDouble
Maximum distance between point and mesh.

Return Value

Type: Point3
Closest mesh vertex.

Implements

IMeshClosestMeshPoint(Point3, Double)
See Also