ccCreateFacet
ccCreateFacet(l_origin[ ?anglen_angle] [ ?radiusn_radius] [ ?offsetsl_offsets] [ ?namet_name] ) =>o_facet/ nil
Description
(Virtuoso Photonics Option) Creates a ccFacet object. A facet is a special type of straight segment that is specified by the origin point, offsets, curvature, and rotation angle. It can be used to implement a smooth stitching between two ccShape objects.

Arguments
|
Origin points of the facet specified by n_x and n_y on the X-axis and Y-axis, respectively. |
|
|
Offsets from the origin point to the endpoints of the facet. |
|
Value Returned
Example
ccCreateFacet(-2:0 ?offsets 2:2 ?angle 90)
> cc@0x269c83e0
Related Topics
Curvy Core Mathematical Object Creation Functions
Return to top