2.3.3.1.36. NXoff_geometry¶
Status:
base class, extends NXobject
Description:
Geometry (shape) description. ...
Geometry (shape) description. The format closely matches the Object File Format (OFF) which can be output by most CAD software. It can be used to describe the shape of any beamline component, including detectors. In the case of detectors it can be used to define the shape of a single pixel, or, if the pixel shapes are non-uniform, to describe the shape of the whole detector.
Symbols:
These symbols will be used below.
i: number of vertices in the shape
k: number of faces in the shape
l: number faces which are detecting surfaces or form the boundary of detecting volumes
- Groups cited:
none
Structure:
@default: (optional) NX_CHAR
Declares which child group contains a path leading ...
Declares which child group contains a path leading to a NXdata group.
It is recommended (as of NIAC2014) to use this attribute to help define the path to the default dataset to be plotted. See https://www.nexusformat.org/2014_How_to_find_default_data.html for a summary of the discussion.
vertices: (optional) NX_NUMBER (Rank: 2, Dimensions: [i, 3]) {units=NX_LENGTH}
List of x,y,z coordinates for vertices. ...
List of x,y,z coordinates for vertices. The origin of the coordinates is the position of the parent component, for example the NXdetector which the geometry describes. If the shape describes a single pixel for a detector with uniform pixel shape then the origin is the position of each pixel as described by the
x/y/z_pixel_offset
datasets inNXdetector
.winding_order: (optional) NX_INT (Rank: 1, Dimensions: [j])
List of indices of vertices in the ``vertices`` dataset to form each face, ...
List of indices of vertices in the
vertices
dataset to form each face, right-hand rule for face normal.faces: (optional) NX_INT (Rank: 1, Dimensions: [k])
The start index in
winding_order
for each face.detector_faces: (optional) NX_INT (Rank: 2, Dimensions: [l, 2])
List of pairs of index in the "faces" dataset and detector id. Face IDs in ...
List of pairs of index in the “faces” dataset and detector id. Face IDs in the first column, and corresponding detector IDs in the second column. This dataset should only be used only if the
NXoff_geometry
group is describing a detector. Note, the face indices must be in ascending order but need not be consecutive as not every face in faces need be a detecting surface or boundary of detecting volume. Can use multiple entries with the same detector id to define detector volumes.
Hypertext Anchors¶
List of hypertext anchors for all groups, fields, attributes, and links defined in this class.