ccOffsetPolyCurve
ccOffsetPolyCurve(o_polyCurve n_value[ ?keyg_key] ) =>o_polyCurve2
Description
(Virtuoso Photonics Option) Returns a copy of the specified polyCurve that is expanded by the specified offset value.
Arguments
Value Returned
Example
arc = ccCreatePolyCurve(list(list(ccCreateCurve("cos(t)" "sin(t)" 0:3.14159265))))
> cc@0xc70cee6c
arc2 = ccOffsetPolyCurve(arc 1)
> cc@0x86ca13ca
; A circle arc of radius 1 gets expanded to an arc of radius 2.
arc2~>beginPt
> (2.0 0.0)
arc2~>endPt
> (-2.0 0.0)
Related Topics
Return to top