CurveEvaluator3D Object

Derived from: Base Object
Defined in namespace "adsk::core" and the header file is <Core/Geometry/CurveEvaluator3D.h>

Description

3D curve evaluator that is obtained from a transient curve and allows you to perform various evaluations on the curve.

Methods

Name Description
classType Static function that all classes support that returns the type of the class as a string. The returned string matches the string returned by the objectType property. For example if you have a reference to an object and you want to check if it's a SketchLine you can use myObject.objectType == fusion.SketchLine.classType().
getCurvature Get the curvature value at a parameter position on the curve.
getCurvatures Get the curvature values at a number of parameter positions on the curve.
getEndPoints Get the end points of the curve.
getFirstDerivative Get the first derivative of the curve at the specified parameter position.
getFirstDerivatives Get the first derivatives of the curve at the specified parameter positions.
getLengthAtParameter Get the length of the curve between two parameter positions on the curve.
getParameterAtLength Get the parameter position on the curve that is the specified curve length from the specified starting parameter position.
getParameterAtPoint Get the parameter position that correspond to a point on the curve. For reliable results, the point should lie on the curve within model tolerance. If the point does not lie on the curve, the parameter of the nearest point on the curve will generally be returned.
getParameterExtents Get the parametric range of the curve.
getParametersAtPoints Get the parameter positions that correspond to a set of points on the curve. For reliable results, the points should lie on the curve within model tolerance. If the points do not lie on the curve, the parameter of the nearest point on the curve will generally be returned.
getPointAtParameter Get the point on the curve that corresponds to evaluating a parameter position on the curve.
getPointsAtParameters Get the points on the curve that correspond to evaluating a set of parameter positions on the curve.
getSecondDerivative Get the second derivative of the curve at the specified parameter position.
getSecondDerivatives Get the second derivatives of the curve at the specified parameter positions.
getStrokes Get a sequence of points between two curve parameter positions. The points will be a linear interpolation along the curve between these two parameter positions where the maximum deviation between the curve and each line segment will not exceed the specified tolerance value.
getTangent Get the tangent to the curve at a parameter position on the curve.
getTangents Get the tangent to the curve at a number of parameter positions on the curve.
getThirdDerivative Get the third derivative of the curve at the specified parameter position.
getThirdDerivatives Get the third derivatives of the curve at the specified parameter positions.

Properties

Name Description
isValid Indicates if this object is still valid, i.e. hasn't been deleted or some other action done to invalidate the reference.
objectType This property is supported by all objects in the API and returns a string that contains the full name (namespace::objecttype) describing the type of the object.

It's often useful to use this in combination with the classType method to see if an object is a certain type. For example: if obj.objectType == adsk.core.Point3D.classType():

Accessed From

Arc3D.evaluator, BRepEdge.evaluator, Circle3D.evaluator, Curve3D.evaluator, Ellipse3D.evaluator, EllipticalArc3D.evaluator, InfiniteLine3D.evaluator, Line3D.evaluator, NurbsCurve3D.evaluator, Polyline3D.evaluator, SketchConicCurve.evaluator, SketchControlPointSpline.evaluator, SketchFixedSpline.evaluator

Samples

Name Description
SketchArcs.split Demonstrates the SketchArc.split method.

Version

Introduced in version August 2014