The python export class for MeshObject. More...
#include <MeshPy.h>
Public Types | |
typedef MeshObject * | PointerType |
Public Member Functions | |
PyObject * | _getattr (char *attr) |
GetAttribute implementation This method implements the retriavel of object attributes. | |
virtual PyObject * | _repr (void) |
_repr method Overide this method to return a string object with some invormation about the object. | |
int | _setattr (char *attr, PyObject *value) |
SetAttribute implementation This method implements the seting of object attributes. | |
PyObject * | getCustomAttributes (const char *attr) const |
getter method for special attributes (e.g. dynamic ones) | |
MeshObject * | getMeshObjectPtr (void) const |
getter for the object handled by this class | |
virtual PyParentObject * | GetParents (void) |
virtual PyTypeObject * | GetType (void) |
MeshPy (MeshObject *pcObject, PyTypeObject *T=&Type) | |
virtual int | PyInit (PyObject *args, PyObject *k) |
PyInit method Overide this method to initialize a newly created instance of the class (Constuctor). | |
std::string | representation (void) const |
int | setCustomAttributes (const char *attr, PyObject *obj) |
setter for special attributes (e.g. dynamic ones) | |
~MeshPy () | |
Static Public Member Functions | |
static PyObject * | PyMake (struct _typeobject *, PyObject *, PyObject *) |
Static Public Attributes | |
static PyGetSetDef | GetterSetter [] |
Attribute structure of MeshPy. | |
static PyMethodDef | Methods [] |
Methods structure of MeshPy. | |
static PyParentObject | Parents [] = { PARENTSMeshMeshPy } |
static PyTypeObject | Type |
Type structure of MeshPy. | |
additional declarations and methods for the wrapper class | |
| |
class | PropertyMeshKernel |
callbacks and implementers for the python object methods | |
| |
PyObject * | addFacet (PyObject *args) |
implementer for the addFacet() method | |
PyObject * | addFacets (PyObject *args) |
implementer for the addFacets() method | |
PyObject * | addMesh (PyObject *args) |
implementer for the addMesh() method | |
PyObject * | clear (PyObject *args) |
implementer for the clear() method | |
PyObject * | coarsen (PyObject *args) |
implementer for the coarsen() method | |
PyObject * | collapseEdge (PyObject *args) |
implementer for the collapseEdge() method | |
PyObject * | collapseFacet (PyObject *args) |
implementer for the collapseFacet() method | |
PyObject * | collapseFacets (PyObject *args) |
implementer for the collapseFacets() method | |
PyObject * | copy (PyObject *args) |
implementer for the copy() method | |
PyObject * | countComponents (PyObject *args) |
implementer for the countComponents() method | |
PyObject * | countNonUniformOrientedFacets (PyObject *args) |
implementer for the countNonUniformOrientedFacets() method | |
PyObject * | countSegments (PyObject *args) |
implementer for the countSegments() method | |
PyObject * | crossSections (PyObject *args) |
implementer for the crossSections() method | |
PyObject * | difference (PyObject *args) |
implementer for the difference() method | |
PyObject * | fillupHoles (PyObject *args) |
implementer for the fillupHoles() method | |
PyObject * | fixDeformations (PyObject *args) |
implementer for the fixDeformations() method | |
PyObject * | fixDegenerations (PyObject *args) |
implementer for the fixDegenerations() method | |
PyObject * | fixIndices (PyObject *args) |
implementer for the fixIndices() method | |
PyObject * | fixSelfIntersections (PyObject *args) |
implementer for the fixSelfIntersections() method | |
PyObject * | flipNormals (PyObject *args) |
implementer for the flipNormals() method | |
PyObject * | foraminate (PyObject *args) |
implementer for the foraminate() method | |
PyObject * | getFacetSelection (PyObject *args) |
implementer for the getFacetSelection() method | |
PyObject * | getPlanes (PyObject *args) |
implementer for the getPlanes() method | |
PyObject * | getPointSelection (PyObject *args) |
implementer for the getPointSelection() method | |
PyObject * | getSegment (PyObject *args) |
implementer for the getSegment() method | |
PyObject * | getSeparateComponents (PyObject *args) |
implementer for the getSeparateComponents() method | |
PyObject * | harmonizeNormals (PyObject *args) |
implementer for the harmonizeNormals() method | |
PyObject * | hasNonManifolds (PyObject *args) |
implementer for the hasNonManifolds() method | |
PyObject * | hasNonUniformOrientedFacets (PyObject *args) |
implementer for the hasNonUniformOrientedFacets() method | |
PyObject * | hasSelfIntersections (PyObject *args) |
implementer for the hasSelfIntersections() method | |
PyObject * | inner (PyObject *args) |
implementer for the inner() method | |
PyObject * | insertVertex (PyObject *args) |
implementer for the insertVertex() method | |
PyObject * | intersect (PyObject *args) |
implementer for the intersect() method | |
PyObject * | isSolid (PyObject *args) |
implementer for the isSolid() method | |
PyObject * | meshFromSegment (PyObject *args) |
implementer for the meshFromSegment() method | |
PyObject * | nearestFacetOnRay (PyObject *args) |
implementer for the nearestFacetOnRay() method | |
PyObject * | offset (PyObject *args) |
implementer for the offset() method | |
PyObject * | offsetSpecial (PyObject *args) |
implementer for the offsetSpecial() method | |
PyObject * | optimizeEdges (PyObject *args) |
implementer for the optimizeEdges() method | |
PyObject * | optimizeTopology (PyObject *args) |
implementer for the optimizeTopology() method | |
PyObject * | outer (PyObject *args) |
implementer for the outer() method | |
PyObject * | printInfo (PyObject *args) |
implementer for the printInfo() method | |
PyObject * | read (PyObject *args) |
implementer for the read() method | |
PyObject * | refine (PyObject *args) |
implementer for the refine() method | |
PyObject * | removeComponents (PyObject *args) |
implementer for the removeComponents() method | |
PyObject * | removeDuplicatedFacets (PyObject *args) |
implementer for the removeDuplicatedFacets() method | |
PyObject * | removeDuplicatedPoints (PyObject *args) |
implementer for the removeDuplicatedPoints() method | |
PyObject * | removeFacets (PyObject *args) |
implementer for the removeFacets() method | |
PyObject * | removeFoldsOnSurface (PyObject *args) |
implementer for the removeFoldsOnSurface() method | |
PyObject * | removeNonManifolds (PyObject *args) |
implementer for the removeNonManifolds() method | |
PyObject * | rotate (PyObject *args) |
implementer for the rotate() method | |
PyObject * | setPoint (PyObject *args) |
implementer for the setPoint() method | |
PyObject * | smooth (PyObject *args) |
implementer for the smooth() method | |
PyObject * | snapVertex (PyObject *args) |
implementer for the snapVertex() method | |
PyObject * | splitEdge (PyObject *args) |
implementer for the splitEdge() method | |
PyObject * | splitEdges (PyObject *args) |
implementer for the splitEdges() method | |
PyObject * | splitFacet (PyObject *args) |
implementer for the splitFacet() method | |
PyObject * | swapEdge (PyObject *args) |
implementer for the swapEdge() method | |
PyObject * | transform (PyObject *args) |
implementer for the transform() method | |
PyObject * | transformToEigen (PyObject *args) |
implementer for the transformToEigen() method | |
PyObject * | translate (PyObject *args) |
implementer for the translate() method | |
PyObject * | unite (PyObject *args) |
implementer for the unite() method | |
PyObject * | write (PyObject *args) |
implementer for the write() method | |
PyObject * | writeInventor (PyObject *args) |
implementer for the writeInventor() method | |
static PyObject * | staticCallback_addFacet (PyObject *self, PyObject *args) |
callback for the addFacet() method | |
static PyObject * | staticCallback_addFacets (PyObject *self, PyObject *args) |
callback for the addFacets() method | |
static PyObject * | staticCallback_addMesh (PyObject *self, PyObject *args) |
callback for the addMesh() method | |
static PyObject * | staticCallback_clear (PyObject *self, PyObject *args) |
callback for the clear() method | |
static PyObject * | staticCallback_coarsen (PyObject *self, PyObject *args) |
callback for the coarsen() method | |
static PyObject * | staticCallback_collapseEdge (PyObject *self, PyObject *args) |
callback for the collapseEdge() method | |
static PyObject * | staticCallback_collapseFacet (PyObject *self, PyObject *args) |
callback for the collapseFacet() method | |
static PyObject * | staticCallback_collapseFacets (PyObject *self, PyObject *args) |
callback for the collapseFacets() method | |
static PyObject * | staticCallback_copy (PyObject *self, PyObject *args) |
callback for the copy() method | |
static PyObject * | staticCallback_countComponents (PyObject *self, PyObject *args) |
callback for the countComponents() method | |
static PyObject * | staticCallback_countNonUniformOrientedFacets (PyObject *self, PyObject *args) |
callback for the countNonUniformOrientedFacets() method | |
static PyObject * | staticCallback_countSegments (PyObject *self, PyObject *args) |
callback for the countSegments() method | |
static PyObject * | staticCallback_crossSections (PyObject *self, PyObject *args) |
callback for the crossSections() method | |
static PyObject * | staticCallback_difference (PyObject *self, PyObject *args) |
callback for the difference() method | |
static PyObject * | staticCallback_fillupHoles (PyObject *self, PyObject *args) |
callback for the fillupHoles() method | |
static PyObject * | staticCallback_fixDeformations (PyObject *self, PyObject *args) |
callback for the fixDeformations() method | |
static PyObject * | staticCallback_fixDegenerations (PyObject *self, PyObject *args) |
callback for the fixDegenerations() method | |
static PyObject * | staticCallback_fixIndices (PyObject *self, PyObject *args) |
callback for the fixIndices() method | |
static PyObject * | staticCallback_fixSelfIntersections (PyObject *self, PyObject *args) |
callback for the fixSelfIntersections() method | |
static PyObject * | staticCallback_flipNormals (PyObject *self, PyObject *args) |
callback for the flipNormals() method | |
static PyObject * | staticCallback_foraminate (PyObject *self, PyObject *args) |
callback for the foraminate() method | |
static PyObject * | staticCallback_getFacetSelection (PyObject *self, PyObject *args) |
callback for the getFacetSelection() method | |
static PyObject * | staticCallback_getPlanes (PyObject *self, PyObject *args) |
callback for the getPlanes() method | |
static PyObject * | staticCallback_getPointSelection (PyObject *self, PyObject *args) |
callback for the getPointSelection() method | |
static PyObject * | staticCallback_getSegment (PyObject *self, PyObject *args) |
callback for the getSegment() method | |
static PyObject * | staticCallback_getSeparateComponents (PyObject *self, PyObject *args) |
callback for the getSeparateComponents() method | |
static PyObject * | staticCallback_harmonizeNormals (PyObject *self, PyObject *args) |
callback for the harmonizeNormals() method | |
static PyObject * | staticCallback_hasNonManifolds (PyObject *self, PyObject *args) |
callback for the hasNonManifolds() method | |
static PyObject * | staticCallback_hasNonUniformOrientedFacets (PyObject *self, PyObject *args) |
callback for the hasNonUniformOrientedFacets() method | |
static PyObject * | staticCallback_hasSelfIntersections (PyObject *self, PyObject *args) |
callback for the hasSelfIntersections() method | |
static PyObject * | staticCallback_inner (PyObject *self, PyObject *args) |
callback for the inner() method | |
static PyObject * | staticCallback_insertVertex (PyObject *self, PyObject *args) |
callback for the insertVertex() method | |
static PyObject * | staticCallback_intersect (PyObject *self, PyObject *args) |
callback for the intersect() method | |
static PyObject * | staticCallback_isSolid (PyObject *self, PyObject *args) |
callback for the isSolid() method | |
static PyObject * | staticCallback_meshFromSegment (PyObject *self, PyObject *args) |
callback for the meshFromSegment() method | |
static PyObject * | staticCallback_nearestFacetOnRay (PyObject *self, PyObject *args) |
callback for the nearestFacetOnRay() method | |
static PyObject * | staticCallback_offset (PyObject *self, PyObject *args) |
callback for the offset() method | |
static PyObject * | staticCallback_offsetSpecial (PyObject *self, PyObject *args) |
callback for the offsetSpecial() method | |
static PyObject * | staticCallback_optimizeEdges (PyObject *self, PyObject *args) |
callback for the optimizeEdges() method | |
static PyObject * | staticCallback_optimizeTopology (PyObject *self, PyObject *args) |
callback for the optimizeTopology() method | |
static PyObject * | staticCallback_outer (PyObject *self, PyObject *args) |
callback for the outer() method | |
static PyObject * | staticCallback_printInfo (PyObject *self, PyObject *args) |
callback for the printInfo() method | |
static PyObject * | staticCallback_read (PyObject *self, PyObject *args) |
callback for the read() method | |
static PyObject * | staticCallback_refine (PyObject *self, PyObject *args) |
callback for the refine() method | |
static PyObject * | staticCallback_removeComponents (PyObject *self, PyObject *args) |
callback for the removeComponents() method | |
static PyObject * | staticCallback_removeDuplicatedFacets (PyObject *self, PyObject *args) |
callback for the removeDuplicatedFacets() method | |
static PyObject * | staticCallback_removeDuplicatedPoints (PyObject *self, PyObject *args) |
callback for the removeDuplicatedPoints() method | |
static PyObject * | staticCallback_removeFacets (PyObject *self, PyObject *args) |
callback for the removeFacets() method | |
static PyObject * | staticCallback_removeFoldsOnSurface (PyObject *self, PyObject *args) |
callback for the removeFoldsOnSurface() method | |
static PyObject * | staticCallback_removeNonManifolds (PyObject *self, PyObject *args) |
callback for the removeNonManifolds() method | |
static PyObject * | staticCallback_rotate (PyObject *self, PyObject *args) |
callback for the rotate() method | |
static PyObject * | staticCallback_setPoint (PyObject *self, PyObject *args) |
callback for the setPoint() method | |
static PyObject * | staticCallback_smooth (PyObject *self, PyObject *args) |
callback for the smooth() method | |
static PyObject * | staticCallback_snapVertex (PyObject *self, PyObject *args) |
callback for the snapVertex() method | |
static PyObject * | staticCallback_splitEdge (PyObject *self, PyObject *args) |
callback for the splitEdge() method | |
static PyObject * | staticCallback_splitEdges (PyObject *self, PyObject *args) |
callback for the splitEdges() method | |
static PyObject * | staticCallback_splitFacet (PyObject *self, PyObject *args) |
callback for the splitFacet() method | |
static PyObject * | staticCallback_swapEdge (PyObject *self, PyObject *args) |
callback for the swapEdge() method | |
static PyObject * | staticCallback_transform (PyObject *self, PyObject *args) |
callback for the transform() method | |
static PyObject * | staticCallback_transformToEigen (PyObject *self, PyObject *args) |
callback for the transformToEigen() method | |
static PyObject * | staticCallback_translate (PyObject *self, PyObject *args) |
callback for the translate() method | |
static PyObject * | staticCallback_unite (PyObject *self, PyObject *args) |
callback for the unite() method | |
static PyObject * | staticCallback_write (PyObject *self, PyObject *args) |
callback for the write() method | |
static PyObject * | staticCallback_writeInventor (PyObject *self, PyObject *args) |
callback for the writeInventor() method | |
callbacks and implementers for the python object attributes | |
| |
Py::Float | getArea (void) const |
getter for the Area attribute | |
Py::Int | getCountFacets (void) const |
getter for the CountFacets attribute | |
Py::Int | getCountPoints (void) const |
getter for the CountPoints attribute | |
Py::List | getFacets (void) const |
getter for the Facets attribute | |
Py::List | getPoints (void) const |
getter for the Points attribute | |
Py::Tuple | getTopology (void) const |
getter for the Topology attribute | |
Py::Float | getVolume (void) const |
getter for the Volume attribute | |
static PyObject * | staticCallback_getArea (PyObject *self, void *closure) |
getter callback for the Area attribute | |
static PyObject * | staticCallback_getCountFacets (PyObject *self, void *closure) |
getter callback for the CountFacets attribute | |
static PyObject * | staticCallback_getCountPoints (PyObject *self, void *closure) |
getter callback for the CountPoints attribute | |
static PyObject * | staticCallback_getFacets (PyObject *self, void *closure) |
getter callback for the Facets attribute | |
static PyObject * | staticCallback_getPoints (PyObject *self, void *closure) |
getter callback for the Points attribute | |
static PyObject * | staticCallback_getTopology (PyObject *self, void *closure) |
getter callback for the Topology attribute | |
static PyObject * | staticCallback_getVolume (PyObject *self, void *closure) |
getter callback for the Volume attribute | |
static int | staticCallback_setArea (PyObject *self, PyObject *value, void *closure) |
setter callback for the Area attribute | |
static int | staticCallback_setCountFacets (PyObject *self, PyObject *value, void *closure) |
setter callback for the CountFacets attribute | |
static int | staticCallback_setCountPoints (PyObject *self, PyObject *value, void *closure) |
setter callback for the CountPoints attribute | |
static int | staticCallback_setFacets (PyObject *self, PyObject *value, void *closure) |
setter callback for the Facets attribute | |
static int | staticCallback_setPoints (PyObject *self, PyObject *value, void *closure) |
setter callback for the Points attribute | |
static int | staticCallback_setTopology (PyObject *self, PyObject *value, void *closure) |
setter callback for the Topology attribute | |
static int | staticCallback_setVolume (PyObject *self, PyObject *value, void *closure) |
setter callback for the Volume attribute |
The python export class for MeshObject.
Definition at line 20 of file MeshPy.h.
typedef MeshObject* Mesh::MeshPy::PointerType |
Reimplemented from Data::ComplexGeoDataPy.
MeshPy::MeshPy | ( | MeshObject * | pcObject, | |
PyTypeObject * | T = &Type | |||
) |
Definition at line 5341 of file MeshPy.cpp.
Referenced by copy(), difference(), getSeparateComponents(), inner(), intersect(), meshFromSegment(), outer(), PyMake(), and unite().
MeshPy::~MeshPy | ( | ) |
Definition at line 5350 of file MeshPy.cpp.
PyObject * MeshPy::_getattr | ( | char * | attr | ) | [virtual] |
GetAttribute implementation This method implements the retriavel of object attributes.
If you want to implement attributes in your class, reimplement this method. You have to call the method of the base class. Note: if you reimplement _gettattr() in a inheriting class you need to call the method of the base class! Otherwise even the methods of the object will disapiear!
Reimplemented from Data::ComplexGeoDataPy.
Definition at line 5365 of file MeshPy.cpp.
References Base::Console(), getCustomAttributes(), Methods, Base::Exception::ReportException(), and Base::Exception::what().
PyObject * MeshPy::_repr | ( | void | ) | [virtual] |
_repr method Overide this method to return a string object with some invormation about the object.
PyObject *MeshFeaturePy::_repr(void) { std::stringstream a; a << "MeshFeature: [ "; a << "some realy important info about the object!"; a << "]" << std::endl; return Py_BuildValue("s", a.str().c_str()); }
Reimplemented from Data::ComplexGeoDataPy.
Definition at line 5357 of file MeshPy.cpp.
References representation().
int MeshPy::_setattr | ( | char * | attr, | |
PyObject * | value | |||
) | [virtual] |
SetAttribute implementation This method implements the seting of object attributes.
If you want to implement attributes in your class, reimplement this method. You have to call the method of the base class.
Reimplemented from Data::ComplexGeoDataPy.
Definition at line 5433 of file MeshPy.cpp.
References Base::Console(), Base::Exception::ReportException(), setCustomAttributes(), and Base::Exception::what().
implementer for the addFacet() method
Definition at line 440 of file MeshPyImp.cpp.
References Mesh::MeshObject::addFacet(), getMeshObjectPtr(), Py_Return, Base::VectorPy::Type, draftlibs::fcgeo::v1(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
implementer for the addFacets() method
Definition at line 470 of file MeshPyImp.cpp.
References MeshCore::MeshGeomFacet::_aclPoints, MeshCore::MeshFacet::_aulPoints, Mesh::MeshObject::addFacets(), Py::SeqBase< T >::begin(), MeshCore::MeshGeomFacet::CalcNormal(), Py::SeqBase< T >::end(), SketcherExample::f, Mesh2Shape::faces, Mesh::FacetPy::getFacetPtr(), Py::SeqBase< T >::getItem(), getMeshObjectPtr(), Py::long, PyType_Object::o, draftTools::p, Py::Object::ptr(), Py_Return, Base::Vector3< _Precision >::Set(), Py::SeqBase< T >::size(), Mesh::FacetPy::Type, Base::VectorPy::Type, Py::value(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by PyInit().
implementer for the addMesh() method
Definition at line 584 of file MeshPyImp.cpp.
References Mesh::MeshObject::addMesh(), getMeshObjectPtr(), Mesh2Shape::mesh, PY_CATCH, Py_Return, PY_TRY, and Type.
implementer for the clear() method
Definition at line 704 of file MeshPyImp.cpp.
References Mesh::MeshObject::clear(), getMeshObjectPtr(), and Py_Return.
implementer for the coarsen() method
Definition at line 381 of file MeshPyImp.cpp.
implementer for the collapseEdge() method
Definition at line 1074 of file MeshPyImp.cpp.
References MeshCore::MeshFacet::_aulNeighbours, Mesh::MeshObject::collapseEdge(), MeshCore::MeshKernel::CountFacets(), MeshCore::MeshKernel::GetFacets(), Mesh::MeshObject::getKernel(), getMeshObjectPtr(), PY_CATCH, Py_Return, and PY_TRY.
implementer for the collapseFacet() method
Definition at line 1104 of file MeshPyImp.cpp.
References Mesh::MeshObject::collapseFacet(), getMeshObjectPtr(), PY_CATCH, Py_Return, and PY_TRY.
implementer for the collapseFacets() method
Definition at line 1175 of file MeshPyImp.cpp.
References Mesh::MeshObject::collapseFacets(), getMeshObjectPtr(), Py_Error, and Py_Return.
implementer for the copy() method
Definition at line 123 of file MeshPyImp.cpp.
References Mesh::MeshObject::getKernel(), getMeshObjectPtr(), and MeshPy().
implementer for the countComponents() method
Definition at line 814 of file MeshPyImp.cpp.
References RobotExampleTrajectoryOutOfShapes::count, Mesh::MeshObject::countComponents(), and getMeshObjectPtr().
implementer for the countNonUniformOrientedFacets() method
Definition at line 793 of file MeshPyImp.cpp.
References RobotExampleTrajectoryOutOfShapes::count, Mesh::MeshObject::countNonUniformOrientedFacets(), and getMeshObjectPtr().
implementer for the countSegments() method
Definition at line 611 of file MeshPyImp.cpp.
References RobotExampleTrajectoryOutOfShapes::count, Mesh::MeshObject::countSegments(), and getMeshObjectPtr().
implementer for the crossSections() method
Definition at line 234 of file MeshPyImp.cpp.
References Py::List::append(), FemExample::b, Py::SeqBase< T >::begin(), Mesh::MeshObject::crossSections(), Py::SeqBase< T >::end(), SketcherExample::f, Py::SeqBase< T >::getItem(), getMeshObjectPtr(), Py::Object::isTuple(), Py::Object::isType(), Py::new_reference_to(), PyType_Object::o, draftTools::plane, Py::Object::ptr(), Base::VectorPy::Type, Py::value(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
implementer for the difference() method
Definition at line 330 of file MeshPyImp.cpp.
References getMeshObjectPtr(), Mesh2Shape::mesh, MeshPy(), PY_CATCH, Py_Return, PY_TRY, Mesh::MeshObject::subtract(), and Type.
implementer for the fillupHoles() method
Definition at line 838 of file MeshPyImp.cpp.
References SketcherExample::f, Mesh::MeshObject::fillupHoles(), getMeshObjectPtr(), Py_Return, and Base::Exception::what().
implementer for the fixDeformations() method
Definition at line 879 of file MeshPyImp.cpp.
References getMeshObjectPtr(), PY_CATCH, Py_Return, PY_TRY, and Mesh::MeshObject::validateDeformations().
implementer for the fixDegenerations() method
Definition at line 892 of file MeshPyImp.cpp.
References getMeshObjectPtr(), PY_CATCH, Py_Return, PY_TRY, and Mesh::MeshObject::validateDegenerations().
implementer for the fixIndices() method
Definition at line 867 of file MeshPyImp.cpp.
References getMeshObjectPtr(), PY_CATCH, Py_Return, PY_TRY, and Mesh::MeshObject::validateIndices().
implementer for the fixSelfIntersections() method
Definition at line 744 of file MeshPyImp.cpp.
References getMeshObjectPtr(), Py_Return, Mesh::MeshObject::removeSelfIntersections(), and Base::Exception::what().
implementer for the flipNormals() method
Definition at line 772 of file MeshPyImp.cpp.
References Mesh::MeshObject::flipNormals(), getMeshObjectPtr(), PY_CATCH, Py_Return, and PY_TRY.
implementer for the foraminate() method
Definition at line 1204 of file MeshPyImp.cpp.
References MeshCore::MeshFacetIterator::Begin(), Py::SeqBase< T >::getItem(), getMeshObjectPtr(), MeshCore::MeshFacetIterator::More(), Py::new_reference_to(), MeshCore::MeshFacetIterator::Next(), Py::MapBase< T >::setItem(), Py::Tuple::setItem(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Py::Float MeshPy::getArea | ( | void | ) | const |
getter for the Area attribute
Definition at line 1354 of file MeshPyImp.cpp.
References getMeshObjectPtr().
Referenced by staticCallback_getArea().
Py::Int MeshPy::getCountFacets | ( | void | ) | const |
getter for the CountFacets attribute
Definition at line 1349 of file MeshPyImp.cpp.
References getMeshObjectPtr().
Referenced by staticCallback_getCountFacets().
Py::Int MeshPy::getCountPoints | ( | void | ) | const |
getter for the CountPoints attribute
Definition at line 1344 of file MeshPyImp.cpp.
References getMeshObjectPtr().
Referenced by staticCallback_getCountPoints().
PyObject * MeshPy::getCustomAttributes | ( | const char * | attr | ) | const |
getter method for special attributes (e.g. dynamic ones)
Reimplemented from Data::ComplexGeoDataPy.
Definition at line 1364 of file MeshPyImp.cpp.
Referenced by _getattr().
Py::List MeshPy::getFacets | ( | void | ) | const |
getter for the Facets attribute
Definition at line 1385 of file MeshPyImp.cpp.
References Py::List::append(), Mesh::MeshObject::facets_begin(), Mesh::MeshObject::facets_end(), getMeshObjectPtr(), and Mesh2Shape::mesh.
Referenced by staticCallback_getFacets().
implementer for the getFacetSelection() method
Definition at line 656 of file MeshPyImp.cpp.
References Py::List::append(), Mesh::MeshObject::getFacetsFromSelection(), getMeshObjectPtr(), and Py::new_reference_to().
MeshObject * MeshPy::getMeshObjectPtr | ( | void | ) | const |
getter for the object handled by this class
Definition at line 5492 of file MeshPy.cpp.
References Base::PyObjectBase::_pcTwinPointer.
Referenced by addFacet(), addFacets(), addMesh(), best_fit_complete(), clear(), collapseEdge(), collapseFacet(), collapseFacets(), copy(), countComponents(), countNonUniformOrientedFacets(), countSegments(), crossSections(), difference(), fillupHoles(), fit_iter(), fixDeformations(), fixDegenerations(), fixIndices(), fixSelfIntersections(), flipNormals(), foraminate(), getArea(), getCountFacets(), getCountPoints(), getFacets(), getFacetSelection(), getPlanes(), getPoints(), getPointSelection(), getSegment(), getSeparateComponents(), getTopology(), getVolume(), harmonizeNormals(), hasNonManifolds(), hasNonUniformOrientedFacets(), hasSelfIntersections(), inner(), insertVertex(), intersect(), isSolid(), meshFromSegment(), nearestFacetOnRay(), offset(), offset_mesh(), offsetSpecial(), optimizeEdges(), optimizeTopology(), outer(), printInfo(), PyInit(), read(), refine(), removeComponents(), removeDuplicatedFacets(), removeDuplicatedPoints(), removeFacets(), removeFoldsOnSurface(), removeNonManifolds(), rotate(), setPoint(), Mesh::PropertyMeshKernel::setPyObject(), show(), smooth(), snapVertex(), splitEdge(), splitEdges(), splitFacet(), spring_back(), swapEdge(), transform(), transformToEigen(), translate(), unite(), useMesh(), write(), and writeInventor().
virtual PyParentObject* Mesh::MeshPy::GetParents | ( | void | ) | [inline, virtual] |
Reimplemented from Data::ComplexGeoDataPy.
implementer for the getPlanes() method
Definition at line 1321 of file MeshPyImp.cpp.
References Py::List::append(), getMeshObjectPtr(), Mesh::MeshObject::getSegmentsFromType(), Mesh2Shape::mesh, Py::new_reference_to(), Mesh::MeshObject::PLANE, and Mesh2Shape::segments.
Py::List MeshPy::getPoints | ( | void | ) | const |
getter for the Points attribute
Definition at line 1374 of file MeshPyImp.cpp.
References Py::List::append(), getMeshObjectPtr(), Mesh2Shape::mesh, Mesh::MeshObject::points_begin(), and Mesh::MeshObject::points_end().
Referenced by staticCallback_getPoints().
implementer for the getPointSelection() method
Definition at line 671 of file MeshPyImp.cpp.
References Py::List::append(), getMeshObjectPtr(), Mesh::MeshObject::getPointsFromSelection(), and Py::new_reference_to().
implementer for the getSegment() method
Definition at line 620 of file MeshPyImp.cpp.
References Py::List::append(), RobotExampleTrajectoryOutOfShapes::count, Mesh::MeshObject::countSegments(), Mesh::Segment::getIndices(), getMeshObjectPtr(), Mesh::MeshObject::getSegment(), and Py::new_reference_to().
implementer for the getSeparateComponents() method
Definition at line 641 of file MeshPyImp.cpp.
References Py::List::append(), Mesh::MeshObject::getComponents(), getMeshObjectPtr(), Mesh2Shape::mesh, Mesh::MeshObject::meshFromSegment(), MeshPy(), and Py::new_reference_to().
Py::Tuple MeshPy::getTopology | ( | void | ) | const |
getter for the Topology attribute
Definition at line 1395 of file MeshPyImp.cpp.
References Py::List::append(), SketcherExample::f, Mesh::MeshObject::getFaces(), getMeshObjectPtr(), and Py::Tuple::setItem().
Referenced by staticCallback_getTopology().
virtual PyTypeObject* Mesh::MeshPy::GetType | ( | void | ) | [inline, virtual] |
Reimplemented from Data::ComplexGeoDataPy.
Py::Float MeshPy::getVolume | ( | void | ) | const |
getter for the Volume attribute
Definition at line 1359 of file MeshPyImp.cpp.
References getMeshObjectPtr().
Referenced by staticCallback_getVolume().
implementer for the harmonizeNormals() method
Definition at line 801 of file MeshPyImp.cpp.
References getMeshObjectPtr(), Mesh::MeshObject::harmonizeNormals(), PY_CATCH, Py_Return, and PY_TRY.
implementer for the hasNonManifolds() method
Definition at line 720 of file MeshPyImp.cpp.
References getMeshObjectPtr(), and Mesh::MeshObject::hasNonManifolds().
implementer for the hasNonUniformOrientedFacets() method
Definition at line 785 of file MeshPyImp.cpp.
References Mesh::MeshObject::countNonUniformOrientedFacets(), and getMeshObjectPtr().
implementer for the hasSelfIntersections() method
Definition at line 736 of file MeshPyImp.cpp.
References getMeshObjectPtr(), and Mesh::MeshObject::hasSelfIntersections().
implementer for the inner() method
Definition at line 347 of file MeshPyImp.cpp.
References getMeshObjectPtr(), Mesh::MeshObject::inner(), Mesh2Shape::mesh, MeshPy(), PY_CATCH, Py_Return, PY_TRY, and Type.
implementer for the insertVertex() method
Definition at line 1122 of file MeshPyImp.cpp.
References getMeshObjectPtr(), Base::VectorPy::getVectorPtr(), Mesh::MeshObject::insertVertex(), PY_CATCH, Py_Return, PY_TRY, Base::VectorPy::Type, Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
implementer for the intersect() method
Definition at line 313 of file MeshPyImp.cpp.
References getMeshObjectPtr(), Mesh::MeshObject::intersect(), Mesh2Shape::mesh, MeshPy(), PY_CATCH, Py_Return, PY_TRY, and Type.
implementer for the isSolid() method
Definition at line 712 of file MeshPyImp.cpp.
References getMeshObjectPtr(), and Mesh::MeshObject::isSolid().
implementer for the meshFromSegment() method
Definition at line 686 of file MeshPyImp.cpp.
References Py::SeqBase< T >::begin(), Py::SeqBase< T >::end(), SketcherExample::f, getMeshObjectPtr(), Mesh2Shape::mesh, Mesh::MeshObject::meshFromSegment(), and MeshPy().
implementer for the nearestFacetOnRay() method
Definition at line 1258 of file MeshPyImp.cpp.
References Base::InventorBuilder::addBoundingBox(), Base::InventorBuilder::addSingleArrow(), Base::InventorBuilder::addText(), Base::BoundBox3< _Precision >::CalcCenter(), Base::InventorBuilder::close(), SketcherExample::f, MeshCore::MeshGridIterator::GetBoundBox(), MeshCore::MeshGridIterator::GetGridPos(), Py::SeqBase< T >::getItem(), getMeshObjectPtr(), MeshCore::MeshGridIterator::Init(), Base::BoundBox3< _Precision >::MaxX, Base::BoundBox3< _Precision >::MaxY, Base::BoundBox3< _Precision >::MaxZ, Base::BoundBox3< _Precision >::MinX, Base::BoundBox3< _Precision >::MinY, Base::BoundBox3< _Precision >::MinZ, MeshCore::MeshGridIterator::More(), MeshCore::MeshAlgorithm::NearestFacetOnRay(), Py::new_reference_to(), MeshCore::MeshGridIterator::Next(), Py::MapBase< T >::setItem(), Py::Tuple::setItem(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
implementer for the offset() method
Definition at line 208 of file MeshPyImp.cpp.
References getMeshObjectPtr(), Mesh::MeshObject::offsetSpecial2(), PY_CATCH, Py_Return, and PY_TRY.
implementer for the offsetSpecial() method
Definition at line 221 of file MeshPyImp.cpp.
References getMeshObjectPtr(), Mesh::MeshObject::offsetSpecial(), PY_CATCH, Py_Return, and PY_TRY.
implementer for the optimizeEdges() method
Definition at line 954 of file MeshPyImp.cpp.
References getMeshObjectPtr(), Mesh::MeshObject::optimizeEdges(), PY_CATCH, Py_Return, and PY_TRY.
implementer for the optimizeTopology() method
Definition at line 940 of file MeshPyImp.cpp.
References getMeshObjectPtr(), Mesh::MeshObject::optimizeTopology(), PY_CATCH, Py_Return, and PY_TRY.
implementer for the outer() method
Definition at line 364 of file MeshPyImp.cpp.
References getMeshObjectPtr(), Mesh2Shape::mesh, MeshPy(), Mesh::MeshObject::outer(), PY_CATCH, Py_Return, PY_TRY, and Type.
implementer for the printInfo() method
Definition at line 1168 of file MeshPyImp.cpp.
References getMeshObjectPtr().
PyInit method Overide this method to initialize a newly created instance of the class (Constuctor).
Reimplemented from Data::ComplexGeoDataPy.
Definition at line 56 of file MeshPyImp.cpp.
References addFacets(), getMeshObjectPtr(), Mesh::MeshObject::load(), Type, and Base::Exception::what().
Reimplemented from Data::ComplexGeoDataPy.
Definition at line 117 of file MeshPyImp.cpp.
References MeshPy().
implementer for the read() method
Definition at line 132 of file MeshPyImp.cpp.
References getMeshObjectPtr(), Mesh::MeshObject::load(), PY_CATCH, Py_Return, and PY_TRY.
implementer for the refine() method
Definition at line 928 of file MeshPyImp.cpp.
References getMeshObjectPtr(), PY_CATCH, Py_Return, PY_TRY, and Mesh::MeshObject::refine().
implementer for the removeComponents() method
Definition at line 823 of file MeshPyImp.cpp.
References RobotExampleTrajectoryOutOfShapes::count, getMeshObjectPtr(), PY_CATCH, Py_Return, PY_TRY, and Mesh::MeshObject::removeComponents().
implementer for the removeDuplicatedFacets() method
Definition at line 916 of file MeshPyImp.cpp.
References getMeshObjectPtr(), PY_CATCH, Py_Return, PY_TRY, and Mesh::MeshObject::removeDuplicatedFacets().
implementer for the removeDuplicatedPoints() method
Definition at line 904 of file MeshPyImp.cpp.
References getMeshObjectPtr(), PY_CATCH, Py_Return, PY_TRY, and Mesh::MeshObject::removeDuplicatedPoints().
implementer for the removeFacets() method
Definition at line 567 of file MeshPyImp.cpp.
References Py::SeqBase< T >::begin(), Mesh::MeshObject::deleteFacets(), Py::SeqBase< T >::end(), SketcherExample::f, getMeshObjectPtr(), and Py_Return.
implementer for the removeFoldsOnSurface() method
Definition at line 758 of file MeshPyImp.cpp.
References getMeshObjectPtr(), Py_Return, Mesh::MeshObject::removeFoldsOnSurface(), and Base::Exception::what().
implementer for the removeNonManifolds() method
Definition at line 728 of file MeshPyImp.cpp.
References getMeshObjectPtr(), Py_Return, and Mesh::MeshObject::removeNonManifolds().
std::string MeshPy::representation | ( | void | ) | const |
Reimplemented from Data::ComplexGeoDataPy.
Definition at line 106 of file MeshPyImp.cpp.
References Base::PyObjectBase::_pcTwinPointer, and Mesh::MeshObject::representation().
Referenced by _repr().
implementer for the rotate() method
Definition at line 402 of file MeshPyImp.cpp.
References Mesh::MeshObject::getKernel(), getMeshObjectPtr(), FemExample::m, PY_CATCH, Py_Return, PY_TRY, Base::Matrix4D::rotX(), Base::Matrix4D::rotY(), Base::Matrix4D::rotZ(), MeshCore::MeshKernel::Transform(), MovieTool::x, and MovieTool::y.
int MeshPy::setCustomAttributes | ( | const char * | attr, | |
PyObject * | obj | |||
) |
setter for special attributes (e.g. dynamic ones)
Reimplemented from Data::ComplexGeoDataPy.
Definition at line 1369 of file MeshPyImp.cpp.
Referenced by _setattr().
implementer for the setPoint() method
Definition at line 597 of file MeshPyImp.cpp.
References getMeshObjectPtr(), PY_CATCH, Py_Return, PY_TRY, Mesh::MeshObject::setPoint(), Base::VectorPy::Type, and Py::value().
implementer for the smooth() method
Definition at line 1243 of file MeshPyImp.cpp.
References FLOAT_MAX, getMeshObjectPtr(), PY_CATCH, Py_Return, PY_TRY, and Mesh::MeshObject::smooth().
implementer for the snapVertex() method
Definition at line 1145 of file MeshPyImp.cpp.
References getMeshObjectPtr(), Base::VectorPy::getVectorPtr(), PY_CATCH, Py_Return, PY_TRY, Mesh::MeshObject::snapVertex(), Base::VectorPy::Type, Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
implementer for the splitEdge() method
Definition at line 979 of file MeshPyImp.cpp.
References MeshCore::MeshFacet::_aulNeighbours, MeshCore::MeshKernel::CountFacets(), MeshCore::MeshKernel::GetFacets(), Mesh::MeshObject::getKernel(), getMeshObjectPtr(), Base::VectorPy::getVectorPtr(), PY_CATCH, Py_Return, PY_TRY, Mesh::MeshObject::splitEdge(), Base::VectorPy::Type, Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
implementer for the splitEdges() method
Definition at line 967 of file MeshPyImp.cpp.
References getMeshObjectPtr(), PY_CATCH, Py_Return, PY_TRY, and Mesh::MeshObject::splitEdges().
implementer for the splitFacet() method
Definition at line 1014 of file MeshPyImp.cpp.
References MeshCore::MeshKernel::CountFacets(), Mesh::MeshObject::getKernel(), getMeshObjectPtr(), Base::VectorPy::getVectorPtr(), PY_CATCH, Py_Return, PY_TRY, Mesh::MeshObject::splitFacet(), Base::VectorPy::Type, draftlibs::fcgeo::v1(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
callback for the addFacet() method
Definition at line 1692 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the addFacets() method
Definition at line 1768 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the addMesh() method
Definition at line 1920 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the clear() method
Definition at line 2486 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the coarsen() method
Definition at line 1312 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the collapseEdge() method
Definition at line 4040 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the collapseFacet() method
Definition at line 4116 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the collapseFacets() method
Definition at line 4192 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the copy() method
Definition at line 677 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the countComponents() method
Definition at line 3135 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
PyObject * MeshPy::staticCallback_countNonUniformOrientedFacets | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
callback for the countNonUniformOrientedFacets() method
Definition at line 3066 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the countSegments() method
Definition at line 2072 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the crossSections() method
Definition at line 898 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the difference() method
Definition at line 1105 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the fillupHoles() method
Definition at line 4696 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the fixDeformations() method
Definition at line 3356 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the fixDegenerations() method
Definition at line 3432 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the fixIndices() method
Definition at line 3280 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
PyObject * MeshPy::staticCallback_fixSelfIntersections | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
callback for the fixSelfIntersections() method
Definition at line 2845 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the flipNormals() method
Definition at line 4627 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the foraminate() method
Definition at line 4489 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
getter callback for the Area attribute
Definition at line 5270 of file MeshPy.cpp.
References getArea(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
getter callback for the CountFacets attribute
Definition at line 5206 of file MeshPy.cpp.
References getCountFacets(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
getter callback for the CountPoints attribute
Definition at line 5142 of file MeshPy.cpp.
References getCountPoints(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
getter callback for the Facets attribute
Definition at line 5174 of file MeshPy.cpp.
References getFacets(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
callback for the getFacetSelection() method
Definition at line 2279 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the getPlanes() method
Definition at line 5041 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
getter callback for the Points attribute
Definition at line 5110 of file MeshPy.cpp.
References getPoints(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
callback for the getPointSelection() method
Definition at line 2348 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the getSegment() method
Definition at line 2141 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
PyObject * MeshPy::staticCallback_getSeparateComponents | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
callback for the getSeparateComponents() method
Definition at line 2210 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
getter callback for the Topology attribute
Definition at line 5238 of file MeshPy.cpp.
References getTopology(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
getter callback for the Volume attribute
Definition at line 5302 of file MeshPy.cpp.
References getVolume(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
callback for the harmonizeNormals() method
Definition at line 4558 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the hasNonManifolds() method
Definition at line 2631 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
PyObject * MeshPy::staticCallback_hasNonUniformOrientedFacets | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
callback for the hasNonUniformOrientedFacets() method
Definition at line 2997 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
PyObject * MeshPy::staticCallback_hasSelfIntersections | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
callback for the hasSelfIntersections() method
Definition at line 2776 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the inner() method
Definition at line 1174 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the insertVertex() method
Definition at line 4268 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the intersect() method
Definition at line 1036 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the isSolid() method
Definition at line 2562 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the meshFromSegment() method
Definition at line 2417 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the nearestFacetOnRay() method
Definition at line 4972 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the offset() method
Definition at line 746 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the offsetSpecial() method
Definition at line 822 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the optimizeEdges() method
Definition at line 4903 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the optimizeTopology() method
Definition at line 4834 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the outer() method
Definition at line 1243 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the printInfo() method
Definition at line 4420 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the read() method
Definition at line 463 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the refine() method
Definition at line 3660 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the removeComponents() method
Definition at line 3204 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
PyObject * MeshPy::staticCallback_removeDuplicatedFacets | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
callback for the removeDuplicatedFacets() method
Definition at line 3584 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
PyObject * MeshPy::staticCallback_removeDuplicatedPoints | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
callback for the removeDuplicatedPoints() method
Definition at line 3508 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the removeFacets() method
Definition at line 1844 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
PyObject * MeshPy::staticCallback_removeFoldsOnSurface | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
callback for the removeFoldsOnSurface() method
Definition at line 2921 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the removeNonManifolds() method
Definition at line 2700 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the rotate() method
Definition at line 1464 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
setter callback for the Area attribute
Definition at line 5288 of file MeshPy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
int MeshPy::staticCallback_setCountFacets | ( | PyObject * | self, | |
PyObject * | value, | |||
void * | closure | |||
) | [static] |
setter callback for the CountFacets attribute
Definition at line 5224 of file MeshPy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
int MeshPy::staticCallback_setCountPoints | ( | PyObject * | self, | |
PyObject * | value, | |||
void * | closure | |||
) | [static] |
setter callback for the CountPoints attribute
Definition at line 5160 of file MeshPy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
setter callback for the Facets attribute
Definition at line 5192 of file MeshPy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
callback for the setPoint() method
Definition at line 1996 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
setter callback for the Points attribute
Definition at line 5128 of file MeshPy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
int MeshPy::staticCallback_setTopology | ( | PyObject * | self, | |
PyObject * | value, | |||
void * | closure | |||
) | [static] |
setter callback for the Topology attribute
Definition at line 5256 of file MeshPy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
setter callback for the Volume attribute
Definition at line 5320 of file MeshPy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
callback for the smooth() method
Definition at line 4765 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the snapVertex() method
Definition at line 4344 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the splitEdge() method
Definition at line 3812 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the splitEdges() method
Definition at line 3736 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the splitFacet() method
Definition at line 3888 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the swapEdge() method
Definition at line 3964 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the transform() method
Definition at line 1540 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the transformToEigen() method
Definition at line 1616 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the translate() method
Definition at line 1388 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the unite() method
Definition at line 967 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the write() method
Definition at line 539 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the writeInventor() method
Definition at line 608 of file MeshPy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
implementer for the swapEdge() method
Definition at line 1044 of file MeshPyImp.cpp.
References MeshCore::MeshFacet::_aulNeighbours, MeshCore::MeshKernel::CountFacets(), MeshCore::MeshKernel::GetFacets(), Mesh::MeshObject::getKernel(), getMeshObjectPtr(), PY_CATCH, Py_Return, PY_TRY, and Mesh::MeshObject::swapEdge().
implementer for the transform() method
Definition at line 419 of file MeshPyImp.cpp.
References Mesh::MeshObject::getKernel(), getMeshObjectPtr(), PY_CATCH, Py_Return, PY_TRY, MeshCore::MeshKernel::Transform(), Base::MatrixPy::Type, and Py::value().
implementer for the transformToEigen() method
Definition at line 432 of file MeshPyImp.cpp.
References getMeshObjectPtr(), Py_Return, and Mesh::MeshObject::transformToEigenSystem().
implementer for the translate() method
Definition at line 387 of file MeshPyImp.cpp.
References Mesh::MeshObject::getKernel(), getMeshObjectPtr(), FemExample::m, Base::Matrix4D::move(), PY_CATCH, Py_Return, PY_TRY, MeshCore::MeshKernel::Transform(), MovieTool::x, and MovieTool::y.
implementer for the unite() method
Definition at line 296 of file MeshPyImp.cpp.
References getMeshObjectPtr(), Mesh2Shape::mesh, MeshPy(), PY_CATCH, Py_Return, PY_TRY, Type, and Mesh::MeshObject::unite().
implementer for the write() method
Definition at line 145 of file MeshPyImp.cpp.
References MeshCore::MeshIO::ASTL, MeshCore::MeshIO::BMS, MeshCore::MeshIO::BSTL, Mesh2Shape::ext, format, getMeshObjectPtr(), MeshCore::MeshIO::IV, MeshCore::MeshIO::NAS, MeshCore::MeshIO::OBJ, MeshCore::MeshIO::OFF, MeshCore::MeshIO::PLY, MeshCore::MeshIO::PY, PY_CATCH, Py_Return, PY_TRY, Mesh::MeshObject::save(), MeshCore::MeshIO::Undefined, MeshCore::MeshIO::VRML, and MeshCore::MeshIO::WRZ.
implementer for the writeInventor() method
Definition at line 179 of file MeshPyImp.cpp.
References Base::InventorBuilder::addIndexedFaceSet(), Base::InventorBuilder::close(), Mesh::MeshObject::countPoints(), Mesh2Shape::faces, MeshCore::MeshKernel::GetFacets(), Mesh::MeshObject::getKernel(), getMeshObjectPtr(), Mesh2Shape::mesh, Py::new_reference_to(), Mesh::MeshObject::points_begin(), Mesh::MeshObject::points_end(), and result.
friend class PropertyMeshKernel [friend] |
PyGetSetDef MeshPy::GetterSetter [static] |
Attribute structure of MeshPy.
Reimplemented from Data::ComplexGeoDataPy.
PyMethodDef MeshPy::Methods [static] |
Methods structure of MeshPy.
Reimplemented from Data::ComplexGeoDataPy.
Definition at line 24 of file MeshPy.h.
Referenced by _getattr().
PyParentObject MeshPy::Parents = { PARENTSMeshMeshPy } [static] |
Reimplemented from Data::ComplexGeoDataPy.
PyTypeObject MeshPy::Type [static] |
Type structure of MeshPy.
Reimplemented from Data::ComplexGeoDataPy.
Definition at line 23 of file MeshPy.h.
Referenced by addMesh(), difference(), initMesh(), inner(), intersect(), outer(), PyInit(), Mesh::PropertyMeshKernel::setPyObject(), unite(), and wireFromSegment().