PointExtender.IsOnCurve (Point3D, ICurve, Double, out Point3D, out Double) Method

Checks if the point is on the specified ICurve.
Public Shared Function IsOnCurve( _ 
ByVal point As Point3D, _ 
ByVal curve As ICurve, _ 
ByVal maxGap As Double, _ 
ByRef closestPt As Point3D, _ 
ByRef closestParam As Double
) As Boolean
This language is not supported or no code example is available.
public static bool IsOnCurve( 
this Point3D point
ICurve curve
double maxGap
out Point3D closestPt
out double closestParam 
)
This language is not supported or no code example is available.

Parameters

point
Point3D

curve
ICurve

The curve to test

maxGap
double

The maximum accepted distance to consider the point on the curve

closestPt
Point3D

Outputs the closest point on the curve

closestParam
double

Outputs the parameter along the curve corresponding to the closest point

Return Value

bool

True if the distance between the point and the curve is smaller than maxGap, false otherwise.

.NET Framework

Supported in: 4.8

In this article

Definition