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

Class TriWithLines2D

 object --+            
          |            
??.instance --+        
              |        
        AVolume --+    
                  |    
          AVolume2D --+
                      |
                     TriWithLines2D

A class defining a triangular AVolume2D bounded by lines.

Instance Methods [hide private]
 
__init__(...)
Constructs a triangle with the specified corner points.
 
__str__(...)
str(x)
void
addLine(...)
Adds a line to the box for fitting particles.

Inherited from AVolume: __reduce__

Inherited from unreachable.instance: __new__

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

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

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

Constructs a triangle with the specified corner points.

Parameters:
  • vertex0 (Vector3) - Coordinate of first corner of the triangle
  • vertex1 (Vector3) - Coordinate of second corner of the triangle
  • vertex2 (Vector3) - Coordinate of third corner of the triangle
Overrides: object.__init__

__str__(...)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)

addLine(...)

 

Adds a line to the box for fitting particles.

Parameters:
  • line (Line2D) - the line to add to the box
Returns: void