phoGenWaveguide
phoGenWaveguide(o_path[ ?excludeLayersl_excludeLayers] [ ?derivedShapeSpecsl_derivedShapeSpecs] ) =>l_paths /nil
Description
(Virtuoso Photonics Option) Generates a list of derived ccShapes for the specified ccPath, using the waveguide definition of the layer-purpose pair of the specified ccPath. The derived shapes on the layers listed in excludeLayers are skipped during the generation. For derived shapes of type offset with inner value, the inner edge of the generated derived shape is coincident with the centerline of the path.
Currently, this function cannot generate derived shapes if at the same time path has variable width and offset or enclosure values in the waveguide definition are not constant.
Arguments
Value Returned
Example
arc = ccCreatePath(
cv "waveguide"
list(list(ccCreateCurve("cos(t)" "sin(t)" -3.14159265:3.14159265)
list(0:0 0)
"0.01")))
=> cc@0x209363e0
Generate a list of ccShapes using the waveguide definition of the waveguide layer. Additionally, exclude the metal layer while generating the list of ccPaths.
phoGenWaveguide(arc ?excludeLayers '("metal"))
=> (cc@0x208b2bc0 cc@0x25c99690)
Related Topics
Return to top