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

Class Swung

 object --+                        
          |                        
??.instance --+                    
              |                    
    SceneObject --+                
                  |                
           Geometry --+            
                      |            
              Primitive --+        
                          |        
            ParametricModel --+    
                              |    
                            SOR --+
                                  |
                                 Swung

A surface defined by the revolution and interpolation of several 2D profiles along Z axis.

Instance Methods
 
__init__(...)
__init__( (object)arg1, (list)profiles, (list)angles, (int)slices, (bool)ccw, (int)degree, (int)stride) -> object : Swung([Curve2D] profiles,list angles [,slices,ccw,degree,stride])
 
isCCWToDefault(...)
isCCWToDefault( (Swung)arg1) -> bool :
 
isDegreeToDefault(...)
isDegreeToDefault( (Swung)arg1) -> bool :
 
isStrideToDefault(...)
isStrideToDefault( (Swung)arg1) -> bool :

Inherited from SOR: isSlicesToDefault

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

Inherited from SceneObject: __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
  DEFAULT_CCW
  DEFAULT_DEGREE
  DEFAULT_STRIDE
  angleList
  ccw
  degree
  interpolator
  profileList
  stride

Inherited from SOR: slices

Inherited from SceneObject: name

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1, (list)profiles, (list)angles, (int)slices, (bool)ccw, (int)degree, (int)stride) -> object :
    Swung([Curve2D] profiles,list angles [,slices,ccw,degree,stride])

    C++ signature :
        void * __init__(class boost::python::api::object,class boost::python::list,class boost::python::list,unsigned char,bool,unsigned int,unsigned int)

__init__( (object)arg1, (list)profiles, (list)angles [, (int)slices [, (bool)ccw [, (int)degree]]]) -> object :

    C++ signature :
        void * __init__(class boost::python::api::object,class boost::python::list,class boost::python::list [,unsigned char [,bool [,unsigned int]]])

Overrides: object.__init__

isCCWToDefault(...)

 

isCCWToDefault( (Swung)arg1) -> bool :

    C++ signature :
        bool isCCWToDefault(class PGL::Swung {lvalue})

isDegreeToDefault(...)

 

isDegreeToDefault( (Swung)arg1) -> bool :

    C++ signature :
        bool isDegreeToDefault(class PGL::Swung {lvalue})

isStrideToDefault(...)

 

isStrideToDefault( (Swung)arg1) -> bool :

    C++ signature :
        bool isStrideToDefault(class PGL::Swung {lvalue})


Property Details

DEFAULT_CCW

Get Method:
unreachable(...)

DEFAULT_DEGREE

Get Method:
unreachable(...)

DEFAULT_STRIDE

Get Method:
unreachable(...)

angleList

Get Method:
unreachable(...)
Set Method:
unreachable(...)

ccw

Get Method:
unreachable(...)
Set Method:
unreachable(...)

degree

Get Method:
unreachable(...)
Set Method:
unreachable(...)

interpolator

Get Method:
unreachable(...)

profileList

Get Method:
unreachable(...)
Set Method:
unreachable(...)

stride

Get Method:
unreachable(...)
Set Method:
unreachable(...)