Share

BSplineCurve2d Object


Description

The BSplineCurve2d object. For more information, see the Transient Geometry overview.

Methods

Name Description
Copy Creates a copy of this BSplineCurve2d object. The result is entirely independent and can be edited without affecting the original BSplineCurve2d object.
ExtractPartial Creates a new curve by extracting a portion of an existing curve.
GetBSplineData Get the data defining this B-spline.
GetBSplineInfo Gets general information about the definition of the spline, including its order, number of poles and knots, and its rational, periodic, closed, and planar states.
PutBSplineInfoAndData Sets the definition data of the spline.
Split Creates two new curves that are the result of splitting this curve at the specified point. The original curve is left unchanged.

Properties

Name Description
Evaluator Gets the Curve2dEvaluator for this curve.
PoleAtIndex Indicates the pole coordinate point at the specified index into the spline's pole vector.

Accessed From

BSplineCurve2d.Copy, BSplineCurve2d.ExtractPartial, BSplineCurve2d.Split, SketchControlPointSpline.Geometry, SketchControlPointSplineProxy.Geometry, SketchEquationCurve.Geometry, SketchEquationCurveProxy.Geometry, SketchFixedSpline.Geometry, SketchFixedSplineProxy.Geometry, SketchOffsetSpline.Geometry, SketchOffsetSplineProxy.Geometry, SketchSpline.Geometry, SketchSplineProxy.Geometry, TransientGeometry.CreateBSplineCurve2d, TransientGeometry.CreateFittedBSplineCurve2d

Samples

Name Description
Create Approximate Polyline to 3D Curve Draws a polyline that is an approximation of the selected curve. To use this have a part open that contains a 3D skech that contains curves.
Extract a Partial Curve from a Curve Demonstrates the ability to extract partial curves from a transient geometry curve. This sample has you select an existing sketch spline and extracts three curves from the curve. It then creates real curves using the extracted curves and deletes the original sketch curve.
Spline - create NURBS This sample demonstrates the creation of a sketch spline using a geometry definition (a NURB). The API also supports creation of 3D sketch splines in a similar way.
Split a 2D Curve Demonstrates the ability to extract split curves from a transient geometry curve. This sample has you select an existing sketch spline and splits it at the midpoint of parametric space. It then creates real curves using the split curve results and deletes the original sketch curve.

Version

Introduced in version 4

Was this information helpful?