Hexagon

ipkiss3.all.Hexagon(layer, center=(0.0, 0.0), radius=1.0)

Returns a Boundary Element with a hexagon shape.

Parameters
layer: Layer object, required

Layer on which the shape is drawn

centerCoord2 or Tuple

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

radiusPositive number

Radius of the hexagon (distance from center to vertex). defaults to 1.0

Returns
Boundary element.