ccTransformPolyCurve
ccTransformPolyCurve(o_polyCurve l_transform) =>o_polycurve2| nil
Description
(Virtuoso Photonics Option) Returns a transformed copy of the given ccPolyCurve.
Arguments
|
A transformation object specified by an offset specified by n_offsetX and n_offsetY and a rotation angle n_angle around |
Value Returned
Example
pc = ccCreatePolyCurve(ccCreateCurve("t" "0" 0:1))
=> cc@0xa1d42cee
tpc = ccTransformPolyCurve(pc list(0:0 90))
=> cc@0xe9835dc
pc~>segments
=> ((cc@0x4fe6429d ((0.0 0.0) 0.0)))
tpc~>segments
=> ((cc@0x4fe6429d ((0.0 0.0) 90.0)))
Related Topics
Return to top