Rectangle

 

__init__(self, pts, **opts): 

LLM Docstring

Set up a Rectangle primitive.

  • pts: Any

    the rectangle corners

  • 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_rect.

  • 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