|
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)
Syntaxpublic Point3 ClosestMeshPoint(
Point3 testPoint,
double maximumDistance
)
Public Function ClosestMeshPoint (
testPoint As Point3,
maximumDistance As Double
) As Point3
public:
virtual Point3 ClosestMeshPoint(
Point3 testPoint,
double maximumDistance
) sealed
abstract ClosestMeshPoint :
testPoint : Point3 *
maximumDistance : float -> Point3
override ClosestMeshPoint :
testPoint : Point3 *
maximumDistance : float -> Point3
Parameters
- testPoint
- Type: Karamba.GeometryPoint3
Point to be tested for proximity. - maximumDistance
- Type: SystemDouble
Maximum distance between point and mesh.
Return Value
Type:
Point3Closest mesh vertex.
Implements
IMeshClosestMeshPoint(Point3, Double)
See Also