Table Of Contents

Previous topic

LineOnlyMixin

Next topic

PointSet

This Page

phoenix_title Point

The Point class takes a 2-tuple, or a (2,) NumPy array of point coordinates.

The Diameter is in screen points, not world coordinates, So the Bounding box is just the point, and doesn’t include the Diameter.

The HitLineWidth is used as diameter for the Hit Test.


class_hierarchy Inheritance Diagram

Inheritance diagram for class Point

Inheritance diagram of Point


method_summary Methods Summary

__init__  
SetDiameter  

api Class API



class Point(XYObjectMixin, ColorOnlyMixin, DrawObject)

The Point class takes a 2-tuple, or a (2,) NumPy array of point coordinates.

The Diameter is in screen points, not world coordinates, So the Bounding box is just the point, and doesn’t include the Diameter.

The HitLineWidth is used as diameter for the Hit Test.


Methods



__init__(self, XY, Color = "Black", Diameter = 1, InForeground = False)


SetDiameter(self, Diameter)