RingSegment

ipkiss3.all.RingSegment(layer, center=(0.0, 0.0), angle_start=0.0, angle_end=90.0, inner_radius=1.0, outer_radius=2.0, angle_step=1.0)

Returns a Boundary Element with a ring segment shape.

Parameters:
layer: Layer object, required

Layer on which the shape is drawn

centerCoord2 or Tuple

Center coordinate of the circle, defaults to (0,0)

angle_startFloat, required

Starting angle (in degrees) of the ring segment. Defaults to 0.0

angle_endFloat, required

End angle (in degrees) of the ring segment. Defaults to 90.0

inner_radiusPositive number, required.

Inner Radius of the ring segment. defaults to 1.0

outer_radiusPositive number, required.

Outer Radius of the ring segment. Defaults to 2.0

angle_steppositive angle (in degrees)

The angle step for the discretisation of the circle. Default is extracted from TECH.METRICS.ANGLE_STEP

Returns:
Boundary element.