Module gengeo :: Class LineSegment2D
[hide private]
[frames] | no frames]

Class LineSegment2D

 object --+        
          |        
??.instance --+    
              |    
         Line2D --+
                  |
                 LineSegment2D

A class defining a line segment in 2 dimensions.

Instance Methods [hide private]
 
__init__(...)
Constructs a line with specified endpoints.
 
__str__(...)
str(x)

Inherited from Line2D: __reduce__, getNormal, getOrig, intersect, parallel

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  __instance_size__ = 104
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

Constructs a line with specified endpoints. N.B. This is not an AVolume2D so cannot be used with InsertGenerators.

Parameters:
  • startPoint (Vector3) - the starting point of the line
  • endPoint (Vector3) - the end point of the line
Overrides: object.__init__

__str__(...)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)