Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

ccSmoothenPolyCurve

ccSmoothenPolyCurve(
o_polyCurve
n_radius
)
=> o_polyCurve2 | nil

Description

(Virtuoso Photonics Option) Returns a smoothened copy of the given ccPolyCurve.

Arguments

o_polyCurve

ID of a ccPolyCurve object.

n_radius

Radius of the turn made by the bend. With positive radius, this function smoothens concave cavities of the ccShape object. With negative radius, it smoothens convex bumps.

Value Returned

o_polyCurve2

ID of the smoothened ccPolyCurve object.

nil

An error occurred.

Example

ccSmoothenPolyCurve(pc)

=> cc@0x269c83f0

Related Topics

Curvy Core Transformations Functions


Return to top
 ⠀
X