Click or drag to resize

IObjectsAddBSpline Method

Adds a B-spline that is passing through a list of points. If isPeriodic is set to true the curve will be closed and the junction will be the first point given. The distances between two consecutive points must be greater than precision. The B-spline edge name is "BSpline".

Namespace:  EMInvent.InventSim.COMServer
Assembly:  InventSim (in InventSim.exe) Version: 5.1.12.6+develop
Syntax
ISimObject AddBSpline(
	string name,
	string points,
	bool isPeriodic
)

Parameters

name
Type: SystemString
Name of the B-spline.
points
Type: SystemString
List of points separated by '|' character.
isPeriodic
Type: SystemBoolean
If true the created B-spline will be closed.

Return Value

Type: ISimObject
Reference to the B-spline.
See Also