pw:: SegmentSurfaceSpline

Database constrained point interpolating segment type

Derives From

pw::Object pw::Segment

Summary
Database constrained point interpolating segment type
This action creates a new database constrained point interpolating segment object.
This action gets the surface to which this curve is constrained.
This action gets the quilt to which this curve is constrained.
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 method 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 curve by smoothing.
This 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 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 method 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 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 parameter is the index of the control point; (1, number of points].
uvThis parameter is the slope 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 parameter is the index of the control point; [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 index of the control point; [1, number of points).
uvThis parameter is the slope vector specified in the parametric space of the unnderlying 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