PolygonObject

class compas_ghpython.scene.PolygonObject[source]

Bases: GHSceneObject, GeometryObject

Scene object for drawing polygons.

Parameters:
polygoncompas.geometry.Polygon

A COMPAS polygon.

**kwargsdict, optional

Additional keyword arguments.

Methods

draw

Draw the polygon.

Inherited Methods

add

Add a child item to the scene object.

clear

The main clearing method.