ccReversePolyCurve
ccReversePolyCurve(o_polyCurve) =>o_polyCurve2/ nil
Description
(Virtuoso Photonics Option) Returns a reversed copy of the given polyCurve, which is the polyCurve with the same geometry but in the opposite direction, which is from the end of the original polyCurve to its beginning.
This function can be used to turn positive-closed polyCurves into negative polyCurves, and negative-closed polyCurves into positive polyCurves.
Arguments
Value Returned
Example
rpc = ccReversePolyCurve(ccCreatePolyCurve(ccCreateCurve("t" "0" 0:1)))
=> cc@0x269c83f0
caar(rpc~>segments)~>??
=> (cc@0x7a0766dd objType "ccCurve" xExpr "t" yExpr "0" range (1.0 0.0))
Related Topics
Return to top