PolygonArtist.draw
- PolygonArtist.draw(color=None, show_points=False, show_edges=False, show_face=True)[source]
Draw the polygon.
- Parameters
color (tuple[int, int, int] | tuple[float, float, float] |
Color
, optional) – The RGB color of the polygon. Default iscompas.artists.PrimitiveArtist.color
.show_points (bool, optional) – If True, draw the points of the polygon.
show_edges (bool, optional) – If True, draw the edges of the polygon.
show_face (bool, optional) – If True, draw the face of the polygon.
- Returns
list[Rhino.Geometry.Point3d, Rhino.Geometry.Line, Rhino.Geometry.Mesh] – The Rhino points, lines and face.