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

Class NurbsPatch

 object --+                            
          |                            
??.instance --+                        
              |                        
    SceneObject --+                    
                  |                    
           Geometry --+                
                      |                
              Primitive --+            
                          |            
            ParametricModel --+        
                              |        
                          Patch --+    
                                  |    
                        BezierPatch --+
                                      |
                                     NurbsPatch

NurbsPatch describes rational and non rational Bezier surface.
It is defined by two degrees n and m and a matrix of control Points Pi,j
and using the parametric equation S(u,v) = Sum(i=0,n)Sum(j=0,m)(Ri,n(u)Rj,m(v)Pi,j) with u and v in [0,1]
where Ri,n(u) and Ri,m(v) are classical n and m-th degree rational basis function.

Instance Methods
 
__init__(...)
__init__( (object)arg1, (Point4Matrix)arg2 [, (RealArray)arg3 [, (RealArray)arg4 [, (int)arg5 [, (int)arg6 [, (int)arg7 [, (int)arg8 [, (bool)arg9]]]]]]]) -> None : NurbsPatch(Point4Matrix ctrlPoints, RealArray uKnotList,RealArray vKnotList [,uDeg, vDeg,ustride,vstride,ccw])
 
isUDegreeToDefault(...)
isUDegreeToDefault( (NurbsPatch)arg1) -> bool :
 
isUKnotListToDefault(...)
isUKnotListToDefault( (NurbsPatch)arg1) -> bool :
 
isVDegreeToDefault(...)
isVDegreeToDefault( (NurbsPatch)arg1) -> int :
 
isVKnotListToDefault(...)
isVKnotListToDefault( (NurbsPatch)arg1) -> bool :
 
setUKnotListToDefault(...)
setUKnotListToDefault( (NurbsPatch)arg1) -> bool :
 
setVKnotListToDefault(...)
setVKnotListToDefault( (NurbsPatch)arg1) -> bool :

Inherited from BezierPatch: getPointAt, getUSection, getVSection, isUStrideToDefault, isVStrideToDefault

Inherited from Patch: isCCWToDefault

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 BezierPatch: __instance_size__

Inherited from SceneObject: __safe_for_unpickling__

Properties
  udegree
  uknotList
  vdegree
  vknotList

Inherited from BezierPatch: DEFAULT_STRIDE, ctrlPointMatrix, ustride, vstride

Inherited from Patch: ccw

Inherited from SceneObject: name

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1, (Point4Matrix)arg2 [, (RealArray)arg3 [, (RealArray)arg4 [, (int)arg5 [, (int)arg6 [, (int)arg7 [, (int)arg8 [, (bool)arg9]]]]]]]) -> None :
    NurbsPatch(Point4Matrix ctrlPoints, RealArray uKnotList,RealArray vKnotList [,uDeg, vDeg,ustride,vstride,ccw])

    C++ signature :
        void __init__(struct _object *,class TOOLS::RefCountPtr<class PGL::Point4Matrix> [,class TOOLS::RefCountPtr<class TOOLS::RealArray> [,class TOOLS::RefCountPtr<class TOOLS::RealArray> [,unsigned int [,unsigned int [,unsigned int [,unsigned int [,bool]]]]]]])

Overrides: object.__init__

isUDegreeToDefault(...)

 

isUDegreeToDefault( (NurbsPatch)arg1) -> bool :

    C++ signature :
        bool isUDegreeToDefault(class PGL::NurbsPatch {lvalue})

isUKnotListToDefault(...)

 

isUKnotListToDefault( (NurbsPatch)arg1) -> bool :

    C++ signature :
        bool isUKnotListToDefault(class PGL::NurbsPatch {lvalue})

isVDegreeToDefault(...)

 

isVDegreeToDefault( (NurbsPatch)arg1) -> int :

    C++ signature :
        unsigned int isVDegreeToDefault(class PGL::NurbsPatch {lvalue})

isVKnotListToDefault(...)

 

isVKnotListToDefault( (NurbsPatch)arg1) -> bool :

    C++ signature :
        bool isVKnotListToDefault(class PGL::NurbsPatch {lvalue})

setUKnotListToDefault(...)

 

setUKnotListToDefault( (NurbsPatch)arg1) -> bool :

    C++ signature :
        bool setUKnotListToDefault(class PGL::NurbsPatch {lvalue})

setVKnotListToDefault(...)

 

setVKnotListToDefault( (NurbsPatch)arg1) -> bool :

    C++ signature :
        bool setVKnotListToDefault(class PGL::NurbsPatch {lvalue})


Property Details

udegree

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

uknotList

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

vdegree

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

vknotList

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