original_docstring: Draws a camera wireframe onto the axes.
docstring: Draws a camera wireframe onto the axes.
docstring_tokens: Draws a camera wireframe onto the axes .
code: def draw_camera_wireframe(ax: plt.Axes, wireframe: Wireframe) -> None:
    """Draws a camera wireframe onto the axes."""
    ax.add_collection(
        mc.LineCollection(
            segments=[[l.start, l.end] for l in wireframe.lines],
            colors=[l.color for l in wireframe.lines],
            linewidths=[l.width for l in wireframe.lines],
            antialiased=True))
    dots_sizes = [d.size for d in wireframe.dots]
    ax.add_collection(
        mc.EllipseCollection(
            widths=dots_sizes,
            heights=dots_sizes,
            angles=0,
            units='xy',
            offsets=[d.location for d in wireframe.dots],
            facecolors=[d.color for d in wireframe.dots],
            edgecolors=[d.actual_border_color for d in wireframe.dots],
            linewidth=OCCLUDED_BORDER_WIDTH,
            transOffset=ax.transData,
            antialiased=True))
code_tokens: def draw_camera_wireframe ( ax : plt . Axes , wireframe : Wireframe ) -> None : ax . add_collection ( mc . LineCollection ( segments = [ [ l . start , l . end ] for l in wireframe . lines ] , colors = [ l . color for l in wireframe . lines ] , linewidths = [ l . width for l in wireframe . lines ] , antialiased = True ) ) dots_sizes = [ d . size for d in wireframe . dots ] ax . add_collection ( mc . EllipseCollection ( widths = dots_sizes , heights = dots_sizes , angles = 0 , units = 'xy' , offsets = [ d . location for d in wireframe . dots ] , facecolors = [ d . color for d in wireframe . dots ] , edgecolors = [ d . actual_border_color for d in wireframe . dots ] , linewidth = OCCLUDED_BORDER_WIDTH , transOffset = ax . transData , antialiased = True ) )
short_docstring: Draws a camera wireframe onto the axes.
short_docstring_tokens: Draws a camera wireframe onto the axes .
comment: """Draws a camera wireframe onto the axes."""