AddBasicBSplineByInterpolation method


Your Ad Here


Topsolid online Help Index

Created : v6.5

 

ICurve = ICurves.AddBasicBSplineByInterpolation(Pxs, Pys, Pzs, Sx, Sy, Sz, Tx, Ty, Tz)

Description

This method creates a non associative B-spline by interpolation.

Parameters

IN:

 

Variant Pxs

X coordinates of points to interpolate.

IN:

 

Variant Pys

Y coordinates of points to interpolate.

 

IN:

 

Variant Pzs

Z coordinates of points to interpolate.

 

IN:

 

Double Sx

 

X coordinate of start tangent vector (optional, default = 0).

 

IN:

 

Double Sy

 

Y coordinate of start tangent vector (optional, default = 0).

 

IN:

Double Sz

Z coordinate of start tangent vector (optional, default = 0).

 

IN:

 

Double Tx

 

X coordinate of termination tangent vector (optional, default = 0).

 

IN:

 

Double Ty

 

Y coordinate of termination tangent vector (optional, default = 0).

 

IN:

 

Double Tz

 

Z coordinate of termination tangent vector (optional, default = 0).

 

RET:

ICurve

Created B-spline curve.

 

 

Remarks

To create a B-spline curve with null curvature as an end condition, the tangent vector must be set to (0,0,0).

 

There must be at least two points to interpolate.

Examples

Creating a basic B-spline curve.

 

 

Topsolid online Help Index

Your Ad Here