Eyeshot 10 WinForms API Reference
Project(Point3D,Double,Boolean,Double) Method

WinForms Assembly > devDept.Eyeshot.Entities Namespace > Curve Class > Project Method : Project(Point3D,Double,Boolean,Double) Method
The 3D point to project
Relevant only when P lays on the curve. When the distance between P and its projection is smaller then this value, the projection is considered succesful.
When true, the projection is not constrained inside the curve domain
The U parametric position of the closest point on curve to P
Projects a point on the curve.
Syntax
'Declaration
 
Public Overloads Overridable Function Project( _
   ByVal P As Point3D, _
   ByVal coincTol As Double, _
   ByVal allowOutside As Boolean, _
   ByRef u As Double _
) As Boolean
public virtual bool Project( 
   Point3D P,
   double coincTol,
   bool allowOutside,
   out double u
)

Parameters

P
The 3D point to project
coincTol
Relevant only when P lays on the curve. When the distance between P and its projection is smaller then this value, the projection is considered succesful.
allowOutside
When true, the projection is not constrained inside the curve domain
u
The U parametric position of the closest point on curve to P

Return Value

True when the projection is perpendicular to the curve, false otherwise.
Remarks
When false is returned, the value of u is not reliable.
See Also

Reference

Curve Class
Curve Members
Overload List