iGeom API

iGeom_Object

This subtype of iBase_Object represents an iGeom instance object.

iGeomIter_Object

This subtype of PyObject represents an iGeom iterator object.

iGeomEntitySet_Object

This subtype of iBaseEntitySet_Object represents an iGeom entity set object.

iGeomTag_Object

This subtype of iBaseTag_Object represents an iGeom tag object.

PyTypeObject iGeom_Type

This instance of PyTypeObject represents the iGeom instance type. This is the same object as itaps.iGeom.Geom.

PyTypeObject iGeomIter_Type

This instance of PyTypeObject represents the iGeom iterator type. This is the same object as itaps.iGeom.Iterator.

PyTypeObject iGeomEntitySet_Type

This instance of PyTypeObject represents the iGeom entity set type. This is the same object as itaps.iGeom.EntitySet.

PyTypeObject iGeomTag_Type

This instance of PyTypeObject represents the iGeom tag type. This is the same object as itaps.iGeom.Tag.

PyTypeObject NormalPl_Type

(Python 2.6+ only.) This instance of PyTypeObject represents the named tuple type returned from getEntNormalPl(). This is the same object as itaps.iGeom.normal_pl.

PyTypeObject FaceEval_Type

(Python 2.6+ only.) This instance of PyTypeObject represents the named tuple type returned from getEntEval() for faces. This is the same object as itaps.iGeom.face_eval.

PyTypeObject EdgeEval_Type

(Python 2.6+ only.) This instance of PyTypeObject represents the named tuple type returned from getEntEval() for edges. This is the same object as itaps.iGeom.edge_eval.

PyTypeObject Deriv1st_Type

(Python 2.6+ only.) This instance of PyTypeObject represents the named tuple type returned from getEnt1stDerivative() for edges. This is the same object as itaps.iGeom.deriv_1st.

PyTypeObject Deriv2nd_Type

(Python 2.6+ only.) This instance of PyTypeObject represents the named tuple type returned from getEnt2ndDerivative() for edges. This is the same object as itaps.iGeom.deriv_2nd.

PyTypeObject Intersect_Type

(Python 2.6+ only.) This instance of PyTypeObject represents the named tuple type returned from getPtRayIntersect(). This is the same object as itaps.iGeom.intersect.

PyTypeObject Tolerance_Type

(Python 2.6+ only.) This instance of PyTypeObject represents the named tuple type returned from tolerance.This is the same object as itaps.iGeom.tolerance.

PyTypeObject MinMax_Type

(Python 2.6+ only.) This instance of PyTypeObject represents the named tuple type returned from getEntBoundBox() and getEntRange(). This is the same object as itaps.iGeom.min_max.

int iGeom_Check(PyObject *p)

Return true if its argument is a Geom or a subtype of Geom.

int iGeomEntitySet_Check(PyObject *p)

Return true if its argument is a EntitySet or a subtype of EntitySet.

int iGeomTag_Check(PyObject *p)

Return true if its argument is a Tag or a subtype of Tag.

PyObject* iGeomEntitySet_New()

Return a new uninitialized EntitySet, or NULL on failure.

PyObject* iGeomTag_New()

Return a new uninitialized Tag, or NULL on failure.

PyObject* iGeom_FromInstance(iGeom_Instance instance)

Return a new (unowned) Geom, or NULL on failure.

PyObject* iGeomEntitySet_FromHandle(iGeom_Object *m, iBase_EntitySetHandle h)

Return a new itaps.iGeom.EntitySet from a Geom object and a C iBase_EntitySetHandle, or NULL on failure.

PyObject* iGeomTag_FromHandle(iGeom_Object *m, iBase_TagHandle h)

Return a new itaps.iGeom.Tag from a Geom object and a C iBase_TagHandle, or NULL on failure.

iGeom_Object* iGeomEntitySet_GetInstance(PyObject *p)

Attempt to return the Geom object of the object p. If there is an error, an exception is raised and NULL is returned.

iGeom_Object* iGeomEntitySet_GET_INSTANCE(PyObject *p)

Return the Geom object of the object p. No error checking is performed.

iGeom_Object* iGeomTag_GetInstance(PyObject *p)

Attempt to return the Geom object of the object p. If there is an error, an exception is raised and NULL is returned.

iGeom_Object * iGeomTag_GET_INSTANCE(PyObject *p)

Return the Geom object of the object p. No error checking is performed.

int iGeomBasis_Cvt(PyObject *obj, int *val)

Convert any compatible Python object, obj, to a value in the enumeration iGeomExt_Basis. Return 1 on success, and 0 on failure. This function can be used with the "O&" character code in PyArg_ParseTuple() processing.

Previous topic

iMesh API

This Page