ccGetPathEdge
ccGetPathEdge(o_path S_side) =>o_edge/ nil
Description
(Virtuoso Photonics Option) Creates a new ccPolyCurve that is either the left or the right edge of the boundary of the specified path.
Arguments
Value Returned
|
ID of a ccPolyCurve object forming the specified edge of the boundary. |
|
Example
path = ccCreatePath(cv "waveguide"
list(list(ccCreateCurve("t" "0" 0:10)
list(0:0 0) "sqrt(t)"))))
=> cc@0x262f8170
caar(ccGetPathEdge(path 'left)~>segments)~>??
(cc@0x28f45441 objType "ccCurve" xExpr "t" yExpr "(0.5*sqrt(t))" range (0.0 10.0))
caar(ccGetPathEdge(path 'right)~>segments)~>??
(cc@0xe9c99bef objType "ccCurve" xExpr "t" yExpr "((-0.5)*sqrt(t))" range (0.0 10.0))
Related Topics
Curvy Core Shape Object Attribute Query Functions
Return to top