Click or drag to resize

BrepFaceClosestPointOnFace Method

Get the closest point to this face. Closest point finding respects the trims on the face.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool ClosestPointOnFace(
	Point3d testPoint,
	out double u,
	out double v,
	double maximumDistance
)

Parameters

testPoint
Type: Rhino.GeometryPoint3d

[Missing <param name="testPoint"/> documentation for "M:Rhino.Geometry.BrepFace.ClosestPointOnFace(Rhino.Geometry.Point3d,System.Double@,System.Double@,System.Double)"]

u
Type: SystemDouble
The surface u-parameter for the closest point
v
Type: SystemDouble
The surface v-parameter for the closest point
maximumDistance
Type: SystemDouble
The maximum allowed distance.

Past this distance, the search is given up and false is returned.

Use 0 to turn off this parameter.

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Rhino.Geometry.BrepFace.ClosestPointOnFace(Rhino.Geometry.Point3d,System.Double@,System.Double@,System.Double)"]

See Also