Class cocos.euclid.Line2

Geometry --+
           |
          Line2
Known Subclasses:
LineSegment2, Ray2

Methods

  __init__(self, *args)
  __copy__(self)
  copy(self)
  __repr__(self)
  intersect(self, other)
  connect(self, other)
  __getstate__(self)
  __setstate__(self, state)
  distance(self, other) (Inherited from cocos.euclid.Geometry)

Properties

  p1
  p2
  p
  v

Method Details

intersect

intersect(self, other)
Overrides:
Geometry.intersect

connect

connect(self, other)
Overrides:
Geometry.connect

Property Details

p1

p2