The python export class for GeomSurface. More...
#include <GeometrySurfacePy.h>
Public Types | |
typedef GeomSurface * | PointerType |
Public Types inherited from Part::GeometryPy | |
typedef Geometry * | PointerType |
Public Types inherited from Base::PyObjectBase | |
typedef void * | PointerType |
enum | Status { Valid = 0, Immutable = 1, Notify = 2, NoTrack = 3 } |
Public Member Functions | |
GeometrySurfacePy (GeomSurface *pcObject, PyTypeObject *T=&Type) | |
virtual PyTypeObject * | GetType (void) |
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 |
Public Member Functions inherited from Part::GeometryPy | |
GeometryPy (Geometry *pcObject, PyTypeObject *T=&Type) | |
std::string | representation (void) const |
PyObject * | mirror (PyObject *args) |
implementer for the mirror() method More... | |
PyObject * | rotate (PyObject *args) |
implementer for the rotate() method More... | |
PyObject * | scale (PyObject *args) |
implementer for the scale() method More... | |
PyObject * | transform (PyObject *args) |
implementer for the transform() method More... | |
PyObject * | translate (PyObject *args) |
implementer for the translate() method More... | |
PyObject * | copy (PyObject *args) |
implementer for the copy() method More... | |
PyObject * | clone (PyObject *args) |
implementer for the clone() method More... | |
PyObject * | hasExtensionOfType (PyObject *args) |
implementer for the hasExtensionOfType() method More... | |
PyObject * | hasExtensionOfName (PyObject *args) |
implementer for the hasExtensionOfName() method More... | |
PyObject * | getExtensionOfType (PyObject *args) |
implementer for the getExtensionOfType() method More... | |
PyObject * | getExtensionOfName (PyObject *args) |
implementer for the getExtensionOfName() method More... | |
PyObject * | setExtension (PyObject *args) |
implementer for the setExtension() method More... | |
PyObject * | deleteExtensionOfType (PyObject *args) |
implementer for the deleteExtensionOfType() method More... | |
PyObject * | deleteExtensionOfName (PyObject *args) |
implementer for the deleteExtensionOfName() method More... | |
PyObject * | getExtensions (PyObject *args) |
implementer for the getExtensions() method More... | |
Py::Boolean | getConstruction (void) const |
getter for the Construction attribute More... | |
void | setConstruction (Py::Boolean arg) |
setter for the Construction attribute More... | |
Py::String | getTag (void) const |
getter for the Tag attribute More... | |
PyObject * | getCustomAttributes (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... | |
Geometry * | getGeometryPtr (void) const |
getter for the object handled by this class More... | |
Public Member Functions inherited from Base::PyObjectBase | |
PyObjectBase * | DecRef (void) |
decref method wrapper (see python extending manual) More... | |
PyObjectBase * | IncRef (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 PyObject * | PyMake (struct _typeobject *, PyObject *, PyObject *) |
Static Public Member Functions inherited from Part::GeometryPy | |
static PyObject * | PyMake (struct _typeobject *, PyObject *, PyObject *) |
static PyObject * | staticCallback_mirror (PyObject *self, PyObject *args) |
callback for the mirror() method More... | |
static PyObject * | staticCallback_rotate (PyObject *self, PyObject *args) |
callback for the rotate() method More... | |
static PyObject * | staticCallback_scale (PyObject *self, PyObject *args) |
callback for the scale() method More... | |
static PyObject * | staticCallback_transform (PyObject *self, PyObject *args) |
callback for the transform() method More... | |
static PyObject * | staticCallback_translate (PyObject *self, PyObject *args) |
callback for the translate() method More... | |
static PyObject * | staticCallback_copy (PyObject *self, PyObject *args) |
callback for the copy() method More... | |
static PyObject * | staticCallback_clone (PyObject *self, PyObject *args) |
callback for the clone() method More... | |
static PyObject * | staticCallback_hasExtensionOfType (PyObject *self, PyObject *args) |
callback for the hasExtensionOfType() method More... | |
static PyObject * | staticCallback_hasExtensionOfName (PyObject *self, PyObject *args) |
callback for the hasExtensionOfName() method More... | |
static PyObject * | staticCallback_getExtensionOfType (PyObject *self, PyObject *args) |
callback for the getExtensionOfType() method More... | |
static PyObject * | staticCallback_getExtensionOfName (PyObject *self, PyObject *args) |
callback for the getExtensionOfName() method More... | |
static PyObject * | staticCallback_setExtension (PyObject *self, PyObject *args) |
callback for the setExtension() method More... | |
static PyObject * | staticCallback_deleteExtensionOfType (PyObject *self, PyObject *args) |
callback for the deleteExtensionOfType() method More... | |
static PyObject * | staticCallback_deleteExtensionOfName (PyObject *self, PyObject *args) |
callback for the deleteExtensionOfName() method More... | |
static PyObject * | staticCallback_getExtensions (PyObject *self, PyObject *args) |
callback for the getExtensions() method More... | |
static PyObject * | staticCallback_getConstruction (PyObject *self, void *closure) |
getter callback for the Construction attribute More... | |
static int | staticCallback_setConstruction (PyObject *self, PyObject *value, void *closure) |
setter callback for the Construction attribute More... | |
static PyObject * | staticCallback_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::PyObjectBase | |
static void | PyDestructor (PyObject *P) |
Wrapper for the Python destructor. More... | |
Static Public Attributes | |
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::PyObjectBase | |
static PyMethodDef | Methods [] |
static PyTypeObject | Type |
Py_Header struct from python.h. More... | |
Protected Member Functions | |
~GeometrySurfacePy () | |
Protected Member Functions inherited from Part::GeometryPy | |
~GeometryPy () | |
Protected Member Functions inherited from Base::PyObjectBase | |
virtual | ~PyObjectBase () |
destructor More... | |
callbacks and implementers for the python object attributes | |
Py::String | getContinuity (void) const |
getter for the Continuity attribute More... | |
PyObject * | getCustomAttributes (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... | |
GeomSurface * | getGeomSurfacePtr (void) const |
getter for the object handled by this class More... | |
static PyObject * | staticCallback_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... | |
Additional Inherited Members | |
Protected Attributes inherited from Base::PyObjectBase | |
std::bitset< 32 > | StatusBits |
Detailed Description
The python export class for GeomSurface.
Member Typedef Documentation
◆ PointerType
Constructor & Destructor Documentation
◆ ~GeometrySurfacePy()
|
protected |
◆ GeometrySurfacePy()
GeometrySurfacePy::GeometrySurfacePy | ( | GeomSurface * | pcObject, |
PyTypeObject * | T = &Type |
||
) |
Member Function Documentation
◆ bounds()
implementer for the bounds() method
References Part::GeometryPy::getGeometryPtr().
Referenced by staticCallback_bounds().
◆ curvature()
implementer for the curvature() method
References Part::GeomSurface::Gaussian, getGeomSurfacePtr(), Part::GeomSurface::Maximum, Part::GeomSurface::Mean, Part::GeomSurface::Minimum, and Part::PartExceptionOCCError.
Referenced by staticCallback_curvature().
◆ curvatureDirections()
implementer for the curvatureDirections() method
References getGeomSurfacePtr(), and Part::PartExceptionOCCError.
Referenced by staticCallback_curvatureDirections().
◆ getContinuity()
Py::String GeometrySurfacePy::getContinuity | ( | void | ) | const |
getter for the Continuity attribute
References Part::GeometryPy::getGeometryPtr().
Referenced by staticCallback_getContinuity().
◆ getCustomAttributes()
PyObject * GeometrySurfacePy::getCustomAttributes | ( | const char * | attr | ) | const |
getter method for special attributes (e.g. dynamic ones)
◆ getGeomSurfacePtr()
GeomSurface * GeometrySurfacePy::getGeomSurfacePtr | ( | void | ) | const |
getter for the object handled by this class
Referenced by curvature(), curvatureDirections(), isUmbillic(), normal(), and Part::RectangularTrimmedSurfacePy::PyInit().
◆ GetType()
|
virtual |
Reimplemented from Part::GeometryPy.
Reimplemented in Part::BezierSurfacePy, Part::BSplineSurfacePy, Part::ConePy, Part::CylinderPy, Part::OffsetSurfacePy, Part::PlanePy, Part::PlateSurfacePy, Part::RectangularTrimmedSurfacePy, Part::SpherePy, Part::SurfaceOfExtrusionPy, Part::SurfaceOfRevolutionPy, and Part::ToroidPy.
◆ intersect()
implementer for the intersect() method
References Part::GeometryPy::getGeometryPtr(), Part::GeometryCurvePy::intersectCS(), intersectSS(), Part::GeometryCurvePy::Type, and Type.
Referenced by staticCallback_intersect().
◆ intersectSS()
implementer for the intersectSS() method
References Part::GeometryPy::getGeometryPtr(), Part::makeGeometryCurvePy(), and Type.
Referenced by intersect(), and staticCallback_intersectSS().
◆ isPlanar()
implementer for the isPlanar() method
References Part::GeometryPy::getGeometryPtr(), and Part::PartExceptionOCCError.
Referenced by staticCallback_isPlanar().
◆ isUClosed()
implementer for the isUClosed() method
References Part::GeometryPy::getGeometryPtr().
Referenced by staticCallback_isUClosed().
◆ isUmbillic()
implementer for the isUmbillic() method
References getGeomSurfacePtr(), and Part::PartExceptionOCCError.
Referenced by staticCallback_isUmbillic().
◆ isUPeriodic()
implementer for the isUPeriodic() method
References Part::GeometryPy::getGeometryPtr().
Referenced by staticCallback_isUPeriodic().
◆ isVClosed()
implementer for the isVClosed() method
References Part::GeometryPy::getGeometryPtr().
Referenced by staticCallback_isVClosed().
◆ isVPeriodic()
implementer for the isVPeriodic() method
References Part::GeometryPy::getGeometryPtr().
Referenced by staticCallback_isVPeriodic().
◆ normal()
implementer for the normal() method
References getGeomSurfacePtr(), and Part::PartExceptionOCCError.
Referenced by staticCallback_normal().
◆ parameter()
implementer for the parameter() method
References Part::GeometryPy::getGeometryPtr(), Part::PartExceptionOCCError, and Base::VectorPy::Type.
Referenced by staticCallback_parameter().
◆ PyInit()
PyInit method Override this method to initialize a newly created instance of the class (Constructor)
Reimplemented from Part::GeometryPy.
Reimplemented in Part::BezierSurfacePy, Part::BSplineSurfacePy, Part::ConePy, Part::CylinderPy, Part::OffsetSurfacePy, Part::PlanePy, Part::PlateSurfacePy, Part::RectangularTrimmedSurfacePy, Part::SpherePy, Part::SurfaceOfExtrusionPy, Part::SurfaceOfRevolutionPy, and Part::ToroidPy.
◆ PyMake()
◆ representation()
std::string GeometrySurfacePy::representation | ( | void | ) | const |
Referenced by config_control_design.pcurve::wr1(), config_control_design.degenerate_pcurve::wr1(), automotive_design.motion_link_relationship::wr1(), automotive_design.pcurve::wr1(), automotive_design.degenerate_pcurve::wr1(), config_control_design.pcurve::wr2(), config_control_design.degenerate_pcurve::wr2(), automotive_design.pcurve::wr2(), and automotive_design.degenerate_pcurve::wr2().
◆ setCustomAttributes()
int GeometrySurfacePy::setCustomAttributes | ( | const char * | attr, |
PyObject * | obj | ||
) |
setter for special attributes (e.g.
dynamic ones) Output: Success=1, Failure=-1, Ignore=0
◆ staticCallback_bounds()
callback for the bounds() method
References Base::BaseExceptionFreeCADError, bounds(), Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_curvature()
callback for the curvature() method
References Base::BaseExceptionFreeCADError, Base::Console(), curvature(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_curvatureDirections()
|
static |
callback for the curvatureDirections() method
References Base::BaseExceptionFreeCADError, Base::Console(), curvatureDirections(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getContinuity()
|
static |
getter callback for the Continuity attribute
References Base::BaseExceptionFreeCADError, getContinuity(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_intersect()
callback for the intersect() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), intersect(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_intersectSS()
|
static |
callback for the intersectSS() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), intersectSS(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_isPlanar()
callback for the isPlanar() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), isPlanar(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_isUClosed()
callback for the isUClosed() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), isUClosed(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_isUmbillic()
callback for the isUmbillic() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), isUmbillic(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_isUPeriodic()
|
static |
callback for the isUPeriodic() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), isUPeriodic(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_isVClosed()
callback for the isVClosed() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isValid(), isVClosed(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_isVPeriodic()
|
static |
callback for the isVPeriodic() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isValid(), isVPeriodic(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_normal()
callback for the normal() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isValid(), normal(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_parameter()
callback for the parameter() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isValid(), parameter(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setContinuity()
|
static |
setter callback for the Continuity attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_tangent()
callback for the tangent() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and tangent().
◆ staticCallback_toBSpline()
callback for the toBSpline() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and toBSpline().
◆ staticCallback_toShape()
callback for the toShape() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and toShape().
◆ staticCallback_uIso()
callback for the uIso() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and uIso().
◆ staticCallback_UPeriod()
callback for the UPeriod() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and UPeriod().
◆ staticCallback_value()
callback for the value() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and value().
◆ staticCallback_vIso()
callback for the vIso() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and vIso().
◆ staticCallback_VPeriod()
callback for the VPeriod() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and VPeriod().
◆ tangent()
implementer for the tangent() method
References Part::GeometryPy::getGeometryPtr(), and Part::PartExceptionOCCError.
Referenced by staticCallback_tangent().
◆ toBSpline()
implementer for the toBSpline() method
References Part::GeometryPy::getGeometryPtr(), and Part::PartExceptionOCCError.
Referenced by staticCallback_toBSpline().
◆ toShape()
implementer for the toShape() method
References Part::GeometryPy::getGeometryPtr(), and Part::PartExceptionOCCError.
Referenced by staticCallback_toShape().
◆ uIso()
implementer for the uIso() method
References Part::GeometryPy::getGeometryPtr(), Part::makeGeometryCurvePy(), and Part::PartExceptionOCCError.
Referenced by staticCallback_uIso(), and Part::SpherePy::uIso().
◆ UPeriod()
implementer for the UPeriod() method
References Part::GeometryPy::getGeometryPtr(), and Part::PartExceptionOCCError.
Referenced by staticCallback_UPeriod().
◆ value()
implementer for the value() method
References Part::GeometryPy::getGeometryPtr(), and Part::PartExceptionOCCError.
Referenced by Part::BSplineSurfacePy::movePoint(), Part::ConePy::PyInit(), Part::CylinderPy::PyInit(), Part::SurfaceOfExtrusionPy::PyInit(), Part::SurfaceOfRevolutionPy::PyInit(), Part::PlanePy::PyInit(), Part::PlanePy::setAxis(), Part::CylinderPy::setAxis(), Part::ToroidPy::setAxis(), Part::SpherePy::setAxis(), Part::ConePy::setAxis(), Part::CylinderPy::setCenter(), Part::ToroidPy::setCenter(), Part::SpherePy::setCenter(), Part::ConePy::setCenter(), Part::SurfaceOfExtrusionPy::setDirection(), Part::SurfaceOfRevolutionPy::setDirection(), Part::SurfaceOfRevolutionPy::setLocation(), Part::BezierSurfacePy::setPole(), Part::BSplineSurfacePy::setPole(), Part::PlanePy::setPosition(), and staticCallback_value().
◆ vIso()
implementer for the vIso() method
References Part::GeometryPy::getGeometryPtr(), Part::makeGeometryCurvePy(), and Part::PartExceptionOCCError.
Referenced by staticCallback_vIso(), and Part::SpherePy::vIso().
◆ VPeriod()
implementer for the VPeriod() method
References Part::GeometryPy::getGeometryPtr(), and Part::PartExceptionOCCError.
Referenced by staticCallback_VPeriod().
Member Data Documentation
◆ GetterSetter
|
static |
Attribute structure of GeometrySurfacePy.
◆ Methods
|
static |
Methods structure of GeometrySurfacePy.
◆ Type
|
static |
Type structure of GeometrySurfacePy.
Referenced by ArchPanel.CommandPanelSheet::Activated(), ArchStructure.StructSelectionObserver::addSelection(), ArchSite.Compass::buildCoordinates(), Part::GeometryCurvePy::intersect(), intersect(), Part::GeometryCurvePy::intersectCS(), intersectSS(), ArchSchedule.CommandArchSchedule::IsActive(), ArchAxis.CommandArchGrid::IsActive(), Part::RectangularTrimmedSurfacePy::PyInit(), Part::TopoShapeFacePy::PyInit(), and Part::Curve2dPy::toShape().
The documentation for this class was generated from the following files:
- build/webdoc/src/Mod/Part/App/GeometrySurfacePy.h
- src/Mod/Part/App/GeometrySurfacePyImp.cpp
- build/webdoc/src/Mod/Part/App/GeometrySurfacePy.cpp