pw:: SegmentConic

Conic segment type

Derives From

pw::Object pw::Segment

Summary
Conic segment type
This action creates a new conic segment object.
This action gets the type of the alternate point.
This action removes the alternate point of the conic.
This action gets the shoulder point of the conic.
This action sets the shoulder point of the conic.
This action gets the tangent intersection point of the conic.
This action sets the intersection point of the conic.
This actions gets the rho value of the conic.
This action sets the rho value of the conic.

Static Actions

create

pw::SegmentConic create

This action creates a new conic segment object.

Parameters

none

Returns

This action returns a new pw::SegmentConic object.

Instance Actions

getAlternatePointType

$segment getAlternatePointType

This action gets the type of the alternate point.

Parameters

none

Returns

This action returns one of None | Shoulder | Intersect.

removeAlternatePoint

$segment removeAlternatePoint

This action removes the alternate point of the conic.

Parameters

none

Returns

This action returns nothing.

getShoulderPoint

$segment getShoulderPoint

This action gets the shoulder point of the conic.

Parameters

none

Returns

This action returns the shoulder point.

Information

If the shoulder point has not been set, or has been removed, this action will return the shoulder (point at u = 0.5) of the conic.

setShoulderPoint

$segment setShoulderPoint point

This action sets the shoulder point of the conic.

Parameters

pointThis parameter is the point to set.

Returns

This action returns nothing.

getIntersectPoint

$segment getIntersectPoint

This action gets the tangent intersection point of the conic.

Parameters

none

Returns

This action returns the intersection point.

Information

If the intersect point has not been set, or has been removed, this action will return the intersection of the end tangents

setIntersectPoint

$segment setIntersectPoint point

This action sets the intersection point of the conic.

Parameters

pointThis parameter is the point to set.

Returns

This action returns nothing.

getRho

$segment getRho

This actions gets the rho value of the conic.

Parameters

none

Returns

This action returns the rho value of this conic, where [0, .5) = ellipse, .5 = parabola, (.5, 1] = hyperbola.

setRho

$segment setRho rho

This action sets the rho value of the conic.

Parameters

rhoThis parameter is the rho value of the conic, where [0, .5) = ellipse, .5 = parabola, (.5, 1] = hyperbola

Returns

This action returns nothing.

pw::SegmentConic create
This action creates a new conic segment object.
$segment getAlternatePointType
This action gets the type of the alternate point.
$segment removeAlternatePoint
This action removes the alternate point of the conic.
$segment getShoulderPoint
This action gets the shoulder point of the conic.
$segment setShoulderPoint point
This action sets the shoulder point of the conic.
$segment getIntersectPoint
This action gets the tangent intersection point of the conic.
$segment setIntersectPoint point
This action sets the intersection point of the conic.
$segment getRho
This actions gets the rho value of the conic.
$segment setRho rho
This action sets the rho value of the conic.
Base type for all glyph types
Connector and Curve segment type
Conic segment type