Geom1
Current Version
2
Subtype of
Serializable
Fields
Entity/Object
Variable
Description
integer
Version.
integer
type
Object type: 0 for a point object, 1 for a curve object, 2 for a solid object, and -1 for a mixed object.
Boolean
1 if void regions are labeled; 0 otherwise.
double
Relative geometry tolerance.
integer
nv
Number of vertices.
double[nv]
vtx
Vector of vertex coordinates.
integer[nv][2]
ud
Matrix of integers giving domains on upside and downside of each vertex.
integer
na
Number of attributes.
Attributes[na]
Attributes. The Attribute type is undocumented because it is only used internally.
Description
The Geom1 type represents a geometry object in 1D that is not an assembly.
Example
A solid 1D object (an interval):
# Major & minor version
0 1
1 # number of tags
# Tags
5 geom1
1 # number of types
# Types
3 obj
0 0 1
5 Geom1 # class
2 # version
1 # type
1 # voidsLabeled
1e-010 # gtol
3 # number of vertices
# Vertex coordinates
0
1
3
# Vertex up/down
1 0
2 1
0 2