pw::SegmentSurfaceSpline

Database constrained point interpolating segment type

Derives From

pw::Object pw::Segment

Summary
pw::SegmentSurfaceSplineDatabase constrained point interpolating segment type
Static Actions
createThis action creates a new database constrained point interpolating segment object.
Instance Actions
getSurfaceThis action gets the surface to which this curve is constrained.
getQuiltThis action gets the quilt to which this curve is constrained.
getSlopeThis action gets the method for calculating the slope vector of all control points.
setSlopeThis action sets the method for calculating the slope vector of all control points.
getSlopeInThis method gets the incoming slope vector of the given control point.
setSlopeInThis action sets the incoming slope vector of the given control point.
getSlopeOutThis action gets the outgoing slope vector of the given control point.
setSlopeOutThis action sets the outgoing slope vector of the given control point.
smoothPointsThis action modifies the control points of this curve by smoothing.
projectInteriorThis action projects the segment shape onto the surface it is defined on, which may require adding points and/or switching the slope type.

Static Actions

create

pw::SegmentSurfaceSpline create

This action creates a new database constrained point interpolating segment object.

Parameters

none

Returns

This action returns a new pw::SegmentSurfaceSpline object.

Instance Actions

getSurface

$segment getSurface

This action gets the surface to which this curve is constrained.

Parameters

none

Returns

This action returns a pw::Surface or pw::SurfaceTrim object.

getQuilt

$segment getQuilt

This action gets the quilt to which this curve is constrained.

Parameters

none

Returns

This action returns a pw::Quilt object.

getSlope

$segment getSlope

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

Parameters

none

Returns

This action returns the string type of slope calculation with options < Linear | Akima | CatmullRom | Free >.

setSlope

$segment setSlope type

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

Parameters

typeThis required parameter is the string type of slope calculation with options < 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 method gets the incoming slope vector of the given control point.

Parameters

indexThis required parameter is the integer index of the control point in the range (1, number of points].

Returns

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

setSlopeIn

$segment setSlopeIn ?-continuous? index uv

This action sets the incoming 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 required parameter is the integer index of the control point in the range (1, number of points].
uvThis parameter is the slope vector represented as a UV vector in the parametric space of the underlying surface.

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.

getSlopeOut

$segment getSlopeOut index

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

Parameters

indexThis required parameter is the integer index of the control point in the range [1, number of points).

Returns

This action returns the uv vector of the outgoing slope at the given point.

setSlopeOut

$segment setSlopeOut ?-continuous? index uv

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 integer index of the control point in the range [1, number of points).
uvThis parameter is the slope vector specified as a UV vector in the parametric space of the underlying surface.

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 curve by smoothing.

Parameters

none

Returns

This action returns nothing.

projectInterior

$segment projectInterior

This action projects the segment shape onto the surface it is defined on, which may require adding points and/or switching the slope type.

Parameters

none

Returns

This action returns nothing.

pw::SegmentSurfaceSpline create
This action creates a new database constrained point interpolating segment object.
$segment getSurface
This action gets the surface to which this curve is constrained.
$segment getQuilt
This action gets the quilt to which this curve is constrained.
$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 method gets the incoming slope vector of the given control point.
$segment setSlopeIn ?-continuous? index uv
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 uv
This action sets the outgoing slope vector of the given control point.
$segment smoothPoints
This action modifies the control points of this curve by smoothing.
$segment projectInterior
This action projects the segment shape onto the surface it is defined on, which may require adding points and/or switching the slope type.
Base type for all glyph types
Connector and Curve segment type
Database constrained point interpolating segment type
Database surface type
Database trim surface type
Database quilt type
A string is an array of characters.
An integer is a whole number.
A vector is a list of float values.
Close