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

Class CurveBase

   object --+        
            |        
PrimitiveBase --+    
                |    
       Manifold1D --+
                    |
                   CurveBase
Known Subclasses:

Base class for curves. A Curve is defined by a set of control points.

Instance Methods [hide private]
 
__init__(self)
Initializes the curve.
 
__len__(self)
Returns the number of control points.
 
getControlPoints(self)
Returns a list of the points.
 
getEndPoint(self)
Returns the end point.
 
getStartPoint(self)
Returns the start point.

Inherited from Manifold1D: getBoundary, getElementDistribution, resetElementDistribution, setElementDistribution

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__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

 

Initializes the curve.

Overrides: object.__init__

getEndPoint(self)

 

Returns the end point.

Overrides: Manifold1D.getEndPoint

getStartPoint(self)

 

Returns the start point.

Overrides: Manifold1D.getStartPoint