Point interpolating spline connector segment type
pw:: | Point interpolating spline connector segment type |
Static Actions | |
create | This action creates a new connector spline segment object. |
Instance Attributes | |
ProjectToCommon | This attribute controls whether the segment should be automatically projected to a database entity if all of the control points are constrained to the same database entity. |
Instance Actions | |
getCommonEntity | This action gets the entity that is common to all control points. |
getSlope | This action gets the method for calculating the slope vector of all control points. |
setSlope | This action sets the method for calculating the slope vector of all control points. |
getSlopeIn | This action gets the incoming slope vector of the given control point. |
setSlopeIn | This action sets the incoming slope vector of the given control point. |
getSlopeOut | This action gets the outgoing slope vector of the given control point. |
setSlopeOut | This action sets the outgoing slope vector of the given control point. |
smoothPoints | This action modifies the control points of this segment by smoothing. |
pw::SegmentSpline create
This action creates a new connector spline segment object.
none
This action returns a new pw::SegmentSpline object.
$segment get/setProjectToCommon project
This attribute controls whether the segment should be automatically projected to a database entity if all of the control points are constrained to the same database entity.
A boolean where true indicates that the segment should be projected to a common pw::DatabaseEntity.
The default for this attribute is false.
$segment getCommonEntity
This action gets the entity that is common to all control points.
none
This action returns a pw::DatabaseEntity object. An error is raised if there is no common entity.
$segment getSlope
This action gets the method for calculating the slope vector of all control points.
none
The action returns the string type of slope calculation with options < Linear | Akima | CatmullRom | Free >.
$segment setSlope type
This action sets the method for calculating the slope vector of all control points.
type | This required parameter is the string type of slope calculation with options < Linear | Akima | CatmullRom | Free >. |
This action returns nothing.
Setting the slope to type Free, converts all slopes to Free using the current actual slope vector as the explicit slope vectors
$segment setSlopeIn ?-continuous? index xyz
This action sets the incoming slope vector of the given control point.
-continuous | If this optional flag is present the outgoing slope vector of the control point will be forced to be continuous. |
index | This required parameter is the integer index of the control point in the range (1, number of points]. |
xyz | This required parameter is the slope vector. |
This action returns nothing.
If this action is called on a segment whose slope type is not Free, it will first be converted to a Free slope segment.
$segment setSlopeOut ?-continuous? index xyz
This action sets the outgoing slope vector of the given control point.
-continuous | If this optional flag is present the incoming slope vector of the control point will be forced to be continuous. |
index | This required parameter is the integer index of the control point in the range [1, number of points). |
xyz | This required parameter is the slope vector. |
This action returns nothing.
If this is called on a segment whose slope type is not Free, it will first be converted to a Free slope segment
This action creates a new connector spline segment object.
pw::SegmentSpline create
This attribute controls whether the segment should be automatically projected to a database entity if all of the control points are constrained to the same database entity.
$segment get/setProjectToCommon project
This action gets the entity that is common to all control points.
$segment getCommonEntity
This action gets the method for calculating the slope vector of all control points.
$segment getSlope
This action sets the method for calculating the slope vector of all control points.
$segment setSlope type
This action gets the incoming slope vector of the given control point.
$segment getSlopeIn index
This action sets the incoming slope vector of the given control point.
$segment setSlopeIn ?-continuous? index xyz
This action gets the outgoing slope vector of the given control point.
$segment getSlopeOut index
This action sets the outgoing slope vector of the given control point.
$segment setSlopeOut ?-continuous? index xyz
This action modifies the control points of this segment by smoothing.
$segment smoothPoints