pw:: SegmentSpline

Point interpolating spline connector segment type

Derives From

pw::Object pw::Segment

Summary
Point interpolating spline connector segment type
This action creates a new connector spline segment object.
This action gets the method for calculating the slope vector of all control points.
This action sets the method for calculating the slope vector of all control points.
This action gets the incoming slope vector of the given control point.
This action sets the incoming slope vector of the given control point.
This action gets the outgoing slope vector of the given control point.
This action sets the outgoing slope vector of the given control point.
This action modifies the control points of this segment by smoothing.

Static Actions

create

pw::SegmentSpline create

This action creates a new connector spline segment object.

Parameters

none

Returns

This action returns a new pw::SegmentSpline object.

Instance Actions

getSlope

$segment getSlope

This action gets the method for calculating the slope vector of all control points.

Parameters

none

Returns

The action returns the type of slope calculation; Linear | Akima | CatmullRom | Free

setSlope

$segment setSlope type

This action sets the method for calculating the slope vector of all control points.

Parameters

typeThis parameter is the type of slope calculation; Linear | Akima | CatmullRom | Free.

Returns

This action returns nothing.

Information

Setting the slope to type Free, converts all slopes to Free using the current actual slope vector as the explicit slope vectors

getSlopeIn

$segment getSlopeIn index

This action gets the incoming slope vector of the given control point.

Parameters

indexThis parameter is the index of the control point; (1, number of points]

Returns

This action returns the xyz vector of the incoming slope at the given point.

setSlopeIn

$segment setSlopeIn ?-continuous? index xyz

This action sets the incoming slope vector of the given control point.

Parameters

-continuousIf this optional flag is present the outgoing slope vector of the control point will be forced to be continuous.
indexThis parameter the index of the control point; (1, number of points].
xyzThis parameter is the slope vector.

Returns

This action returns nothing.

Information

If this action is called on a segment whose slope type is not Free, it will first be converted to a Free slope segment.

getSlopeOut

$segment getSlopeOut index

This action gets the outgoing slope vector of the given control point.

Parameters

indexThis parameter is the index of the control point; [1, number of points).  Returns: This action returns the xyz vector of the outgoing slope at the given point.

setSlopeOut

$segment setSlopeOut ?-continuous? index xyz

This action sets the outgoing slope vector of the given control point.

Parameters

-continuousIf this optional flag is present the incoming slope vector of the control point will be forced to be continuous.
indexThis parameter is the index of the control point; [1, number of points).
xyzThis parameter is the slope vector.

Returns

This action returns nothing.

Information

If this is called on a segment whose slope type is not Free, it will first be converted to a Free slope segment

smoothPoints

$segment smoothPoints

This action modifies the control points of this segment by smoothing.

Parameters

none

Returns

This action returns nothing.

pw::SegmentSpline create
This action creates a new connector spline segment object.
$segment getSlope
This action gets the method for calculating the slope vector of all control points.
$segment setSlope type
This action sets the method for calculating the slope vector of all control points.
$segment getSlopeIn index
This action gets the incoming slope vector of the given control point.
$segment setSlopeIn ?-continuous? index xyz
This action sets the incoming slope vector of the given control point.
$segment getSlopeOut index
This action gets the outgoing slope vector of the given control point.
$segment setSlopeOut ?-continuous? index xyz
This action sets the outgoing slope vector of the given control point.
$segment smoothPoints
This action modifies the control points of this segment by smoothing.
Base type for all glyph types
Connector and Curve segment type
Point interpolating spline connector segment type