Polygon

 

__init__(self, points, **opts): 

LLM Docstring

Set up a Polygon primitive.

  • points: Any

    the polygon vertices

  • opts: Any

    extra styling options

 

get_bbox(self): 

LLM Docstring

Not implemented: this primitive has no bounding-box computation.

 

plot(self, axes, *args, sphere_points=None, graphics=None, **kwargs): 

LLM Docstring

Draw the primitive onto the axes via axes.draw_poly.

  • axes: Any

    the axes (or graphics) to draw onto

  • args: Any

    extra positional arguments

  • graphics: Any

    the owning graphics object

  • kwargs: Any

    extra styling options

  • :returns: _

    the drawn backend object


Feedback

Examples

Templates

Documentation