Package openalea :: Package plantgl :: Package scenegraph :: Module _pglsg :: Class Curve2D
[frames] | no frames]

Class Curve2D

 object --+                        
          |                        
??.instance --+                    
              |                    
    SceneObject --+                
                  |                
           Geometry --+            
                      |            
              Primitive --+        
                          |        
            ParametricModel --+    
                              |    
                    PlanarModel --+
                                  |
                                 Curve2D
Known Subclasses:

Abstract base class for objects of type of 2D parametric curve.

Instance Methods
 
getArcLengthToUMapping(...)
getArcLengthToUMapping( (Curve2D)arg1) -> QuantisedFunction : getArcLengthToUMapping() : Return a function that gives for each arc length the u parametrization of the curve.
 
getLength(...)
getLength( (Curve2D)arg1) -> float :
 
getPointAt(...)
getPointAt( (Curve2D)arg1, (float)u) -> Vector2 :
 
getStride(...)
getStride( (Curve2D)arg1) -> int :
 
getUToArcLengthMapping(...)
getUToArcLengthMapping( (Curve2D)arg1) -> QuantisedFunction : getUToArcLengthMapping() : Return a function that gives for each u the arc length parametrization of the curve.

Inherited from Geometry: deepcopy, isACurve, isASurface, isAVolume, isExplicit

Inherited from SceneObject: __init__, __reduce__, apply, getId, getName, isNamed, isValid, setName

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables

Inherited from SceneObject: __safe_for_unpickling__

Properties
  firstKnot
  lastKnot

Inherited from SceneObject: name

Inherited from object: __class__

Method Details

getArcLengthToUMapping(...)

 

getArcLengthToUMapping( (Curve2D)arg1) -> QuantisedFunction :
    getArcLengthToUMapping() : Return a function that gives for each arc length the u parametrization of the curve.

    C++ signature :
        class TOOLS::RefCountPtr<class PGL::QuantisedFunction> getArcLengthToUMapping(class PGL::Curve2D {lvalue})

getLength(...)

 

getLength( (Curve2D)arg1) -> float :

    C++ signature :
        double getLength(class PGL::Curve2D {lvalue})

getLength( (Curve2D)arg1, (float)begin) -> float :

    C++ signature :
        double getLength(class PGL::Curve2D {lvalue},double)

getLength( (Curve2D)arg1, (float)begin, (float)end) -> float :
    getLength([begin,end]) : Return length of the curve from u = begin to u = end.

    C++ signature :
        double getLength(class PGL::Curve2D {lvalue},double,double)

getPointAt(...)

 

getPointAt( (Curve2D)arg1, (float)u) -> Vector2 :

    C++ signature :
        class TOOLS::Vector2 getPointAt(class PGL::Curve2D const *,double)

getStride(...)

 

getStride( (Curve2D)arg1) -> int :

    C++ signature :
        unsigned int getStride(class PGL::Curve2D {lvalue})

getUToArcLengthMapping(...)

 

getUToArcLengthMapping( (Curve2D)arg1) -> QuantisedFunction :
    getUToArcLengthMapping() : Return a function that gives for each u the arc length parametrization of the curve.

    C++ signature :
        class TOOLS::RefCountPtr<class PGL::QuantisedFunction> getUToArcLengthMapping(class PGL::Curve2D {lvalue})


Property Details

firstKnot

Get Method:
unreachable(...)

lastKnot

Get Method:
unreachable(...)