The python export class for GeomPlateSurface. More...

#include <PlateSurfacePy.h>

Public Types

typedef GeomPlateSurfacePointerType
 
- Public Types inherited from Part::GeometrySurfacePy
typedef GeomSurfacePointerType
 
- Public Types inherited from Part::GeometryPy
typedef GeometryPointerType
 
- Public Types inherited from Base::PersistencePy
typedef PersistencePointerType
 
- Public Types inherited from Base::BaseClassPy
typedef BaseClassPointerType
 
- Public Types inherited from Base::PyObjectBase
typedef void * PointerType
 
enum  Status { Valid = 0 , Immutable = 1 , Notify = 2 , NoTrack = 3 }
 

Public Member Functions

virtual PyTypeObject * GetType (void)
 
 PlateSurfacePy (GeomPlateSurface *pcObject, PyTypeObject *T=&Type)
 
virtual int PyInit (PyObject *args, PyObject *k)
 PyInit method Override this method to initialize a newly created instance of the class (Constructor) More...
 
std::string representation (void) const
 
callbacks and implementers for the python object attributes
PyObjectgetCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
GeomPlateSurfacegetGeomPlateSurfacePtr (void) const
 getter for the object handled by this class More...
 
- Public Member Functions inherited from Part::GeometrySurfacePy
 GeometrySurfacePy (GeomSurface *pcObject, PyTypeObject *T=&Type)
 
std::string representation (void) const
 
PyObjecttoShape (PyObject *args)
 implementer for the toShape() method More...
 
PyObjectgetD0 (PyObject *args)
 implementer for the getD0() method More...
 
PyObjectgetDN (PyObject *args)
 implementer for the getDN() method More...
 
PyObjectvalue (PyObject *args)
 implementer for the value() method More...
 
PyObjecttangent (PyObject *args)
 implementer for the tangent() method More...
 
PyObjectnormal (PyObject *args)
 implementer for the normal() method More...
 
PyObjectprojectPoint (PyObject *args, PyObject *kwd)
 implementer for the projectPoint() method More...
 
PyObjectisUmbillic (PyObject *args)
 implementer for the isUmbillic() method More...
 
PyObjectcurvature (PyObject *args)
 implementer for the curvature() method More...
 
PyObjectcurvatureDirections (PyObject *args)
 implementer for the curvatureDirections() method More...
 
PyObjectbounds (PyObject *args)
 implementer for the bounds() method More...
 
PyObjectisPlanar (PyObject *args)
 implementer for the isPlanar() method More...
 
PyObjectuIso (PyObject *args)
 implementer for the uIso() method More...
 
PyObjectvIso (PyObject *args)
 implementer for the vIso() method More...
 
PyObjectisUPeriodic (PyObject *args)
 implementer for the isUPeriodic() method More...
 
PyObjectisVPeriodic (PyObject *args)
 implementer for the isVPeriodic() method More...
 
PyObjectisUClosed (PyObject *args)
 implementer for the isUClosed() method More...
 
PyObjectisVClosed (PyObject *args)
 implementer for the isVClosed() method More...
 
PyObjectUPeriod (PyObject *args)
 implementer for the UPeriod() method More...
 
PyObjectVPeriod (PyObject *args)
 implementer for the VPeriod() method More...
 
PyObjectparameter (PyObject *args)
 implementer for the parameter() method More...
 
PyObjecttoBSpline (PyObject *args, PyObject *kwd)
 implementer for the toBSpline() method More...
 
PyObjectintersect (PyObject *args)
 implementer for the intersect() method More...
 
PyObjectintersectSS (PyObject *args)
 implementer for the intersectSS() method More...
 
Py::String getContinuity (void) const
 getter for the Continuity attribute More...
 
Py::Object getRotation (void) const
 getter for the Rotation attribute More...
 
PyObjectgetCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
GeomSurfacegetGeomSurfacePtr (void) const
 getter for the object handled by this class More...
 
- Public Member Functions inherited from Part::GeometryPy
 GeometryPy (Geometry *pcObject, PyTypeObject *T=&Type)
 
std::string representation (void) const
 
PyObjectmirror (PyObject *args)
 implementer for the mirror() method More...
 
PyObjectrotate (PyObject *args)
 implementer for the rotate() method More...
 
PyObjectscale (PyObject *args)
 implementer for the scale() method More...
 
PyObjecttransform (PyObject *args)
 implementer for the transform() method More...
 
PyObjecttranslate (PyObject *args)
 implementer for the translate() method More...
 
PyObjectcopy (PyObject *args)
 implementer for the copy() method More...
 
PyObjectclone (PyObject *args)
 implementer for the clone() method More...
 
PyObjecthasExtensionOfType (PyObject *args)
 implementer for the hasExtensionOfType() method More...
 
PyObjecthasExtensionOfName (PyObject *args)
 implementer for the hasExtensionOfName() method More...
 
PyObjectgetExtensionOfType (PyObject *args)
 implementer for the getExtensionOfType() method More...
 
PyObjectgetExtensionOfName (PyObject *args)
 implementer for the getExtensionOfName() method More...
 
PyObjectsetExtension (PyObject *args)
 implementer for the setExtension() method More...
 
PyObjectdeleteExtensionOfType (PyObject *args)
 implementer for the deleteExtensionOfType() method More...
 
PyObjectdeleteExtensionOfName (PyObject *args)
 implementer for the deleteExtensionOfName() method More...
 
PyObjectgetExtensions (PyObject *args)
 implementer for the getExtensions() method More...
 
Py::String getTag (void) const
 getter for the Tag attribute More...
 
PyObjectgetCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
GeometrygetGeometryPtr (void) const
 getter for the object handled by this class More...
 
- Public Member Functions inherited from Base::PersistencePy
 PersistencePy (Persistence *pcObject, PyTypeObject *T=&Type)
 
std::string representation (void) const
 
PyObjectdumpContent (PyObject *args, PyObject *kwd)
 implementer for the dumpContent() method More...
 
PyObjectrestoreContent (PyObject *args)
 implementer for the restoreContent() method More...
 
Py::String getContent (void) const
 getter for the Content attribute More...
 
Py::Int getMemSize (void) const
 getter for the MemSize attribute More...
 
PyObjectgetCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
PersistencegetPersistencePtr (void) const
 getter for the object handled by this class More...
 
- Public Member Functions inherited from Base::BaseClassPy
 BaseClassPy (BaseClass *pcObject, PyTypeObject *T=&Type)
 
std::string representation (void) const
 
PyObjectisDerivedFrom (PyObject *args)
 implementer for the isDerivedFrom() method More...
 
PyObjectgetAllDerivedFrom (PyObject *args)
 implementer for the getAllDerivedFrom() method More...
 
Py::String getTypeId (void) const
 getter for the TypeId attribute More...
 
Py::String getModule (void) const
 getter for the Module attribute More...
 
PyObjectgetCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
BaseClassgetBaseClassPtr (void) const
 getter for the object handled by this class More...
 
- Public Member Functions inherited from Base::PyObjectBase
PyObjectBaseDecRef (void)
 decref method wrapper (see python extending manual) More...
 
PyObjectBaseIncRef (void)
 incref method wrapper (see python extending manual) More...
 
bool isConst ()
 
bool isNotTracking () const
 
bool isValid ()
 
 PyObjectBase (void *, PyTypeObject *T)
 Constructor Sets the Type of the object (for inheritance) and decrease the the reference count of the PyObject. More...
 
void setConst ()
 
void setInvalid ()
 
void setNotTracking (bool on=true)
 
void setShouldNotify (bool on)
 
bool shouldNotify () const
 
void startNotify ()
 

Static Public Member Functions

static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
- Static Public Member Functions inherited from Part::GeometrySurfacePy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback_toShape (PyObject *self, PyObject *args)
 callback for the toShape() method More...
 
static PyObjectstaticCallback_getD0 (PyObject *self, PyObject *args)
 callback for the getD0() method More...
 
static PyObjectstaticCallback_getDN (PyObject *self, PyObject *args)
 callback for the getDN() method More...
 
static PyObjectstaticCallback_value (PyObject *self, PyObject *args)
 callback for the value() method More...
 
static PyObjectstaticCallback_tangent (PyObject *self, PyObject *args)
 callback for the tangent() method More...
 
static PyObjectstaticCallback_normal (PyObject *self, PyObject *args)
 callback for the normal() method More...
 
static PyObjectstaticCallback_projectPoint (PyObject *self, PyObject *args, PyObject *kwd)
 callback for the projectPoint() method More...
 
static PyObjectstaticCallback_isUmbillic (PyObject *self, PyObject *args)
 callback for the isUmbillic() method More...
 
static PyObjectstaticCallback_curvature (PyObject *self, PyObject *args)
 callback for the curvature() method More...
 
static PyObjectstaticCallback_curvatureDirections (PyObject *self, PyObject *args)
 callback for the curvatureDirections() method More...
 
static PyObjectstaticCallback_bounds (PyObject *self, PyObject *args)
 callback for the bounds() method More...
 
static PyObjectstaticCallback_isPlanar (PyObject *self, PyObject *args)
 callback for the isPlanar() method More...
 
static PyObjectstaticCallback_uIso (PyObject *self, PyObject *args)
 callback for the uIso() method More...
 
static PyObjectstaticCallback_vIso (PyObject *self, PyObject *args)
 callback for the vIso() method More...
 
static PyObjectstaticCallback_isUPeriodic (PyObject *self, PyObject *args)
 callback for the isUPeriodic() method More...
 
static PyObjectstaticCallback_isVPeriodic (PyObject *self, PyObject *args)
 callback for the isVPeriodic() method More...
 
static PyObjectstaticCallback_isUClosed (PyObject *self, PyObject *args)
 callback for the isUClosed() method More...
 
static PyObjectstaticCallback_isVClosed (PyObject *self, PyObject *args)
 callback for the isVClosed() method More...
 
static PyObjectstaticCallback_UPeriod (PyObject *self, PyObject *args)
 callback for the UPeriod() method More...
 
static PyObjectstaticCallback_VPeriod (PyObject *self, PyObject *args)
 callback for the VPeriod() method More...
 
static PyObjectstaticCallback_parameter (PyObject *self, PyObject *args)
 callback for the parameter() method More...
 
static PyObjectstaticCallback_toBSpline (PyObject *self, PyObject *args, PyObject *kwd)
 callback for the toBSpline() method More...
 
static PyObjectstaticCallback_intersect (PyObject *self, PyObject *args)
 callback for the intersect() method More...
 
static PyObjectstaticCallback_intersectSS (PyObject *self, PyObject *args)
 callback for the intersectSS() method More...
 
static PyObjectstaticCallback_getContinuity (PyObject *self, void *closure)
 getter callback for the Continuity attribute More...
 
static int staticCallback_setContinuity (PyObject *self, PyObject *value, void *closure)
 setter callback for the Continuity attribute More...
 
static PyObjectstaticCallback_getRotation (PyObject *self, void *closure)
 getter callback for the Rotation attribute More...
 
static int staticCallback_setRotation (PyObject *self, PyObject *value, void *closure)
 setter callback for the Rotation attribute More...
 
- Static Public Member Functions inherited from Part::GeometryPy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback_mirror (PyObject *self, PyObject *args)
 callback for the mirror() method More...
 
static PyObjectstaticCallback_rotate (PyObject *self, PyObject *args)
 callback for the rotate() method More...
 
static PyObjectstaticCallback_scale (PyObject *self, PyObject *args)
 callback for the scale() method More...
 
static PyObjectstaticCallback_transform (PyObject *self, PyObject *args)
 callback for the transform() method More...
 
static PyObjectstaticCallback_translate (PyObject *self, PyObject *args)
 callback for the translate() method More...
 
static PyObjectstaticCallback_copy (PyObject *self, PyObject *args)
 callback for the copy() method More...
 
static PyObjectstaticCallback_clone (PyObject *self, PyObject *args)
 callback for the clone() method More...
 
static PyObjectstaticCallback_hasExtensionOfType (PyObject *self, PyObject *args)
 callback for the hasExtensionOfType() method More...
 
static PyObjectstaticCallback_hasExtensionOfName (PyObject *self, PyObject *args)
 callback for the hasExtensionOfName() method More...
 
static PyObjectstaticCallback_getExtensionOfType (PyObject *self, PyObject *args)
 callback for the getExtensionOfType() method More...
 
static PyObjectstaticCallback_getExtensionOfName (PyObject *self, PyObject *args)
 callback for the getExtensionOfName() method More...
 
static PyObjectstaticCallback_setExtension (PyObject *self, PyObject *args)
 callback for the setExtension() method More...
 
static PyObjectstaticCallback_deleteExtensionOfType (PyObject *self, PyObject *args)
 callback for the deleteExtensionOfType() method More...
 
static PyObjectstaticCallback_deleteExtensionOfName (PyObject *self, PyObject *args)
 callback for the deleteExtensionOfName() method More...
 
static PyObjectstaticCallback_getExtensions (PyObject *self, PyObject *args)
 callback for the getExtensions() method More...
 
static PyObjectstaticCallback_getTag (PyObject *self, void *closure)
 getter callback for the Tag attribute More...
 
static int staticCallback_setTag (PyObject *self, PyObject *value, void *closure)
 setter callback for the Tag attribute More...
 
- Static Public Member Functions inherited from Base::PersistencePy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback_dumpContent (PyObject *self, PyObject *args, PyObject *kwd)
 callback for the dumpContent() method More...
 
static PyObjectstaticCallback_restoreContent (PyObject *self, PyObject *args)
 callback for the restoreContent() method More...
 
static PyObjectstaticCallback_getContent (PyObject *self, void *closure)
 getter callback for the Content attribute More...
 
static int staticCallback_setContent (PyObject *self, PyObject *value, void *closure)
 setter callback for the Content attribute More...
 
static PyObjectstaticCallback_getMemSize (PyObject *self, void *closure)
 getter callback for the MemSize attribute More...
 
static int staticCallback_setMemSize (PyObject *self, PyObject *value, void *closure)
 setter callback for the MemSize attribute More...
 
- Static Public Member Functions inherited from Base::BaseClassPy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback_isDerivedFrom (PyObject *self, PyObject *args)
 callback for the isDerivedFrom() method More...
 
static PyObjectstaticCallback_getAllDerivedFrom (PyObject *self, PyObject *args)
 callback for the getAllDerivedFrom() method More...
 
static PyObjectstaticCallback_getTypeId (PyObject *self, void *closure)
 getter callback for the TypeId attribute More...
 
static int staticCallback_setTypeId (PyObject *self, PyObject *value, void *closure)
 setter callback for the TypeId attribute More...
 
static PyObjectstaticCallback_getModule (PyObject *self, void *closure)
 getter callback for the Module attribute More...
 
static int staticCallback_setModule (PyObject *self, PyObject *value, void *closure)
 setter callback for the Module attribute More...
 
- Static Public Member Functions inherited from Base::PyObjectBase
static void PyDestructor (PyObject *P)
 Wrapper for the Python destructor. More...
 

Static Public Attributes

static PyGetSetDef GetterSetter []
 Attribute structure of PlateSurfacePy. More...
 
static PyMethodDef Methods []
 Methods structure of PlateSurfacePy. More...
 
static PyTypeObject Type
 Type structure of PlateSurfacePy. More...
 
- Static Public Attributes inherited from Part::GeometrySurfacePy
static PyGetSetDef GetterSetter []
 Attribute structure of GeometrySurfacePy. More...
 
static PyMethodDef Methods []
 Methods structure of GeometrySurfacePy. More...
 
static PyTypeObject Type
 Type structure of GeometrySurfacePy. More...
 
- Static Public Attributes inherited from Part::GeometryPy
static PyGetSetDef GetterSetter []
 Attribute structure of GeometryPy. More...
 
static PyMethodDef Methods []
 Methods structure of GeometryPy. More...
 
static PyTypeObject Type
 Type structure of GeometryPy. More...
 
- Static Public Attributes inherited from Base::PersistencePy
static PyGetSetDef GetterSetter []
 Attribute structure of PersistencePy. More...
 
static PyMethodDef Methods []
 Methods structure of PersistencePy. More...
 
static PyTypeObject Type
 Type structure of PersistencePy. More...
 
- Static Public Attributes inherited from Base::BaseClassPy
static PyGetSetDef GetterSetter []
 Attribute structure of BaseClassPy. More...
 
static PyMethodDef Methods []
 Methods structure of BaseClassPy. More...
 
static PyTypeObject Type
 Type structure of BaseClassPy. More...
 
- Static Public Attributes inherited from Base::PyObjectBase
static PyMethodDef Methods []
 
static PyTypeObject Type
 Py_Header struct from python.h. More...
 

Protected Member Functions

 ~PlateSurfacePy ()
 
- Protected Member Functions inherited from Part::GeometrySurfacePy
 ~GeometrySurfacePy ()
 
- Protected Member Functions inherited from Part::GeometryPy
 ~GeometryPy ()
 
- Protected Member Functions inherited from Base::PersistencePy
 ~PersistencePy ()
 
- Protected Member Functions inherited from Base::BaseClassPy
 ~BaseClassPy ()
 
- Protected Member Functions inherited from Base::PyObjectBase
void setTwinPointer (void *ptr)
 Overrides the pointer to the twin object. More...
 
virtual ~PyObjectBase ()
 destructor More...
 

callbacks and implementers for the python object methods

PyObjectmakeApprox (PyObject *args, PyObject *kwd)
 implementer for the makeApprox() method More...
 
static PyObjectstaticCallback_makeApprox (PyObject *self, PyObject *args, PyObject *kwd)
 callback for the makeApprox() method More...
 

Additional Inherited Members

- Protected Attributes inherited from Base::PyObjectBase
std::bitset< 32 > StatusBits
 

Detailed Description

The python export class for GeomPlateSurface.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~PlateSurfacePy()

PlateSurfacePy::~PlateSurfacePy ( )
protected

◆ PlateSurfacePy()

PlateSurfacePy::PlateSurfacePy ( GeomPlateSurface pcObject,
PyTypeObject *  T = &Type 
)

Referenced by PyMake().

Member Function Documentation

◆ getCustomAttributes()

PyObject * PlateSurfacePy::getCustomAttributes ( const char *  attr) const

getter method for special attributes (e.g. dynamic ones)

◆ getGeomPlateSurfacePtr()

GeomPlateSurface * PlateSurfacePy::getGeomPlateSurfacePtr ( void  ) const

getter for the object handled by this class

Referenced by makeApprox(), and PyInit().

◆ GetType()

virtual PyTypeObject* Part::PlateSurfacePy::GetType ( void  )
virtual

Reimplemented from Part::GeometrySurfacePy.

◆ makeApprox()

PyObject * PlateSurfacePy::makeApprox ( PyObject args,
PyObject kwd 
)

implementer for the makeApprox() method

References getGeomPlateSurfacePtr().

Referenced by staticCallback_makeApprox().

◆ PyInit()

int PlateSurfacePy::PyInit ( PyObject ,
PyObject  
)
virtual

PyInit method Override this method to initialize a newly created instance of the class (Constructor)

Reimplemented from Part::GeometrySurfacePy.

References Part::GeometryPy::getGeometryPtr(), getGeomPlateSurfacePtr(), Part::PartExceptionOCCError, Part::GeomPlateSurface::setHandle(), Part::GeometryPy::Type, and draftgeoutils.general::vec().

◆ PyMake()

PyObject * PlateSurfacePy::PyMake ( struct _typeobject *  ,
PyObject ,
PyObject  
)
static

References PlateSurfacePy().

◆ representation()

◆ setCustomAttributes()

int PlateSurfacePy::setCustomAttributes ( const char *  attr,
PyObject obj 
)

setter for special attributes (e.g.

dynamic ones) Output: Success=1, Failure=-1, Ignore=0

◆ staticCallback_makeApprox()

Member Data Documentation

◆ GetterSetter

PyGetSetDef PlateSurfacePy::GetterSetter
static
Initial value:
= {
{NULL, NULL, NULL, NULL, NULL}
}

Attribute structure of PlateSurfacePy.

◆ Methods

PyMethodDef PlateSurfacePy::Methods
static
Initial value:
= {
{"makeApprox",
reinterpret_cast<PyCFunction>(reinterpret_cast<void (*) (void)>( staticCallback_makeApprox )),
METH_VARARGS|METH_KEYWORDS,
"Approximate the plate surface to a B-Spline surface"
},
{NULL, NULL, 0, NULL}
}
static PyObject * staticCallback_makeApprox(PyObject *self, PyObject *args, PyObject *kwd)
callback for the makeApprox() method
Definition: PlateSurfacePy.cpp:110

Methods structure of PlateSurfacePy.

◆ Type


The documentation for this class was generated from the following files:
  • Sources/FreeCAD-SourceDocs/src/Mod/Part/App/PlateSurfacePy.h
  • Sources/FreeCAD/src/Mod/Part/App/PlateSurfacePyImp.cpp
  • Sources/FreeCAD-SourceDocs/src/Mod/Part/App/PlateSurfacePy.cpp