Package esys :: Package pycad :: Module primitives :: Class ReverseCurveLoop
[hide private]
[frames] | no frames]

Class ReverseCurveLoop

      object --+    
               |    
ReversePrimitive --+
                   |
      object --+   |
               |   |
   PrimitiveBase --+
                   |
                  ReverseCurveLoop

An oriented loop of one-dimensional manifolds (= curves and arcs).

The loop must be closed and the one-dimensional manifolds should be oriented consistently.

Instance Methods [hide private]
 
__init__(self, curve_loop)
Creates a polygon from a list of line curves.
 
__len__(self)
 
getCurves(self)
Returns the curves defining the CurveLoop.

Inherited from ReversePrimitive: __neg__, __repr__, collectPrimitiveBases, getDirectedID, getID, getUnderlyingPrimitive, hasSameOrientation, isColocated, substitute

Inherited from PrimitiveBase: __add__, __cmp__, __iadd__, __imul__, __isub__, __rmul__, __sub__, apply, copy, getConstructionPoints, getPrimitives, modifyBy, setLocalScale

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, curve_loop)
(Constructor)

 

Creates a polygon from a list of line curves. The curves must form a closed loop.

Overrides: object.__init__