Field on Geometry. More...
Public Member Functions | |
| def | __init__ (self, *args) |
| def | getShape (self) |
| Returns the shape the field lies on. More... | |
| def | getName (self) |
| Returns the field name. More... | |
| def | getType (self) |
| Returns type of field data as integer [0-3]. More... | |
| def | getTypeEnum (self) |
| Returns type of field data: one of GEOM.FDT_Bool, GEOM.FDT_Int, GEOM.FDT_Double, GEOM.FDT_String. More... | |
| def | getDimension (self) |
| Returns dimension of the shape the field lies on: 0 - VERTEX, 1 - EDGE, 2 - FACE, 3 - SOLID, -1 - whole shape. More... | |
| def | getComponents (self) |
| Returns names of components. More... | |
| def | addStep (self, step, stamp, values) |
| Adds a time step to the field. More... | |
| def | removeStep (self, step) |
| Remove a time step from the field. More... | |
| def | countSteps (self) |
| Returns number of time steps in the field. More... | |
| def | getSteps (self) |
| Returns a list of time step IDs in the field. More... | |
| def | getStep (self, step) |
| Returns a time step by its ID. More... | |
| def | getStamp (self, step) |
| Returns the time of the field step. More... | |
| def | setStamp (self, step, stamp) |
| Changes the time of the field step. More... | |
| def | getValues (self, step) |
| Returns values of the field step. More... | |
| def | setValues (self, step, values) |
| Changes values of the field step. More... | |
Data Fields | |
| field | |
Field on Geometry.
| def __init__ | ( | self, | |
| * | args | ||
| ) |
| def getShape | ( | self | ) |
Returns the shape the field lies on.
References geomField.field.
| def getName | ( | self | ) |
Returns the field name.
References geomField.field.
| def getType | ( | self | ) |
Returns type of field data as integer [0-3].
References geomBuilder.EnumToLong(), and geomField.field.
| def getTypeEnum | ( | self | ) |
Returns type of field data: one of GEOM.FDT_Bool, GEOM.FDT_Int, GEOM.FDT_Double, GEOM.FDT_String.
References geomField.field.
| def getDimension | ( | self | ) |
Returns dimension of the shape the field lies on: 0 - VERTEX, 1 - EDGE, 2 - FACE, 3 - SOLID, -1 - whole shape.
References geomField.field.
| def getComponents | ( | self | ) |
Returns names of components.
References geomField.field.
| def addStep | ( | self, | |
| step, | |||
| stamp, | |||
| values | |||
| ) |
Adds a time step to the field.
| step | the time step number further used as the step identifier |
| stamp | the time step time |
| values | the values of the time step |
References geomField.field, and geomField.setValues().
| def removeStep | ( | self, | |
| step | |||
| ) |
Remove a time step from the field.
References geomField.field.
| def countSteps | ( | self | ) |
Returns number of time steps in the field.
References geomField.field.
| def getSteps | ( | self | ) |
Returns a list of time step IDs in the field.
References geomField.field.
| def getStep | ( | self, | |
| step | |||
| ) |
Returns a time step by its ID.
References geomField.field.
| def getStamp | ( | self, | |
| step | |||
| ) |
Returns the time of the field step.
References geomField.getStep().
| def setStamp | ( | self, | |
| step, | |||
| stamp | |||
| ) |
Changes the time of the field step.
References geomField.getStep().
| def getValues | ( | self, | |
| step | |||
| ) |
Returns values of the field step.
References geomField.getStep().
| def setValues | ( | self, | |
| step, | |||
| values | |||
| ) |
Changes values of the field step.
References geomField.field, geomField.getStep(), and geomField.getTypeEnum().
| field |