ccGetPathCenterLine
ccGetPathCenterLine(
o_path
)
=> o_centerLine / nil
Description
(Virtuoso Photonics Option) Returns the center line of the path as an open ccPolyCurve.
Arguments
Value Returned
Example
path = ccCreatePath(cv "waveguide"
list(list(ccCreateCurve("t" "1" -1:0)
list(0:0 0))
list(ccCreateCurve("sin(t)" "cos(t)" 0:3.14)
list(0:0 0)))
?defaultWidth 0.01
)
=> cc@0x2596b240
ccGetPathCenterLine(path)
=> cc@0x15a2820b
Related Topics
Curvy Core Shape Object Attribute Query Functions
Return to top