Click or drag to resize

SurfaceLocalClosestPoint Method

Find parameters of the point on a surface that is locally closest to the testPoint. The search for a local close point starts at seed parameters.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.3
Syntax
public bool LocalClosestPoint(
	Point3d testPoint,
	double seedU,
	double seedV,
	out double u,
	out double v
)

Parameters

testPoint
Type: Rhino.GeometryPoint3d
A point to test against.
seedU
Type: SystemDouble
The seed parameter in the U direction.
seedV
Type: SystemDouble
The seed parameter in the V direction.
u
Type: SystemDouble
U parameter of the surface that is closest to testPoint.
v
Type: SystemDouble
V parameter of the surface that is closest to testPoint.

Return Value

Type: Boolean
true if the search is successful, false if the search fails.
See Also