Geom3
Current Version
3
Subtype of
Serializable
Fields
Data Type
Variable
Description
integer
Version.
integer
type
Object type: 0 for a point object, 1 for a curve object, 2 for a surface object, 3 for a solid object, and -1 for a mixed object..
Boolean
1 if void regions are labeled; 0 otherwise.
double
Relative geometry tolerance.
double
Relative resolution tolerance.
integer
nv
Number of vertices.
VertexData[nv]
vertex
Matrix of vertex data.
integer
npv
Number of parameter vertices.
ParamVertexData[npv]
pvertex
Matrix of parameter vertex data.
integer
ne
Number of edges.
EdgeData[ne]
edge
Matrix of edge data.
integer
npe
Number of parameter edges.
ParamEdgeData[npe]
pedge
Matrix of parameter edge data.
integer
nf
Number of faces.
FaceData[nf]
face
Matrix of face data.
integer
nc
Number of curves.
GeomCurve[nc]
curves
Vector of curves.
integer
ns
Number of surfaces.
GeomSurf[ns]
surfaces
Vector of surfaces.
integer
npc
Number of parameter curves.
GeomCurve[npc]
pcurves
Vector of parameter curves.
integer
na
Number of attributes.
Attributes[na]
Attributes. The Attribute type is undocumented because it is only used internally.
In the table above, the entity types are defined as follows:
VertexData
Entity/Object
Variable
Description
double[3]
Coordinates of the vertex.
int
The domain number if the vertex is isolated. If the vertex is not isolated this value is unspecified.
double
Relative tolerance of the vertex.
ParamVertexData
Entity/Object
Variable
Description
int
Vertex index (1-based).
double[2]
Parameter values in the surface.
int
Face index (1-based).
int
Surface index (1-based).
double
Relative tolerance for the vertex.
EdgeData
Entity/Object
Variable
Description
int[2]
Start and end vertex of the edge, respectively (1-based).
double[2]
Parameter values of the start and end vertices.
int
Index of a domain if the edge is not adjacent to a face, and is unspecified otherwise.
int
Signed index of the underlying curve (1-based). The sign indicates the direction of the edge relative to the curve. Is 0 if there is no curve.
double
Relative tolerance of the edge.
ParamEdgeData
Entity/Object
Variable
Description
int
Index of the corresponding 3D edge (1-based).
int[2]
Indices of the start and end parameter vertices (1-based index in the vector of ParamVertexData).
double[2]
Parameter values of the start and end vertices.
int[2]
Indices of the left and right faces, respectively (1-based). This is 0 if there is no face.
int
Signed index of the underlying parameter curve. The sign indicates the direction of the edge relative to the curve.
int
Index of the surface (1-based).
double
Relative tolerance of the edge.
FaceData
Entity/Object
Variable
Description
int[2]
The up and down domain index of the face.
int
Surface index of the face (1-based).
double
Relative tolerance of the edge.
Description
The Geom3 type represents a geometry object in 3D represented using the COMSOL kernel that is not an assembly and is not virtual.