Class cocos.euclid.LineSegment2

Geometry --+    
           |    
       Line2 --+
               |
              LineSegment2

Methods

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

Properties

  length
  p (Inherited from cocos.euclid.Line2)
  p1 (Inherited from cocos.euclid.Line2)
  p2 (Inherited from cocos.euclid.Line2)
  v (Inherited from cocos.euclid.Line2)

Method Details

__repr__

(Representation operator) __repr__(self)
Overrides:
Line2.__repr__

Property Details

length