Data Structures | |
| class | geomField |
| Field on Geometry. More... | |
Functions | |
| CreateField (self, shape, name, type, dimension, componentNames) | |
| Creates a field. | |
| RemoveField (self, field) | |
| Removes a field from the GEOM component. | |
| CountFields (self, shape) | |
| Returns number of fields on a shape. | |
| GetFields (self, shape) | |
| Returns all fields on a shape. | |
| GetField (self, shape, name) | |
| Returns a field on a shape by its name. | |
| CreateField | ( | self, | |
| shape, | |||
| name, | |||
| type, | |||
| dimension, | |||
| componentNames | |||
| ) |
Creates a field.
| shape | the shape the field lies on |
| name | the field name |
| type | type of field data: 0 - bool, 1 - int, 2 - double, 3 - string |
| dimension | dimension of the shape the field lies on 0 - VERTEX, 1 - EDGE, 2 - FACE, 3 - SOLID, -1 - whole shape |
| componentNames | names of components |
References geomBuilder.CreateField(), geomBuilder.FieldOp, and geomBuilder.RaiseIfFailed().
| RemoveField | ( | self, | |
| field | |||
| ) |
Removes a field from the GEOM component.
| field | the field to remove |
| CountFields | ( | self, | |
| shape | |||
| ) |
Returns number of fields on a shape.
References geomBuilder.CountFields(), geomBuilder.FieldOp, and geomBuilder.RaiseIfFailed().
| GetFields | ( | self, | |
| shape | |||
| ) |
Returns all fields on a shape.
References geomBuilder.FieldOp, geomBuilder.GetFields(), and geomBuilder.RaiseIfFailed().
| GetField | ( | self, | |
| shape, | |||
| name | |||
| ) |
Returns a field on a shape by its name.
References geomBuilder.FieldOp, geomBuilder.GetField(), and geomBuilder.RaiseIfFailed().