NXgeometry

From NeXus

Jump to: navigation, search

For information on using NXgeometry see Coordinate_Systems

Contents

XML Meta-DTD Definition for NXgeometry.xml

This follows the XML Meta-DTD Definition format and can be downloaded from http://svn.nexusformat.org/definitions/tags/PRE_NXDL/base_classes/NXgeometry.xml

<?xml version="1.0" encoding="UTF-8"?>
<!--
URL:     http://www.nexus.anl.gov/classes/xml/NXgeometry.xml
Editor:  NIAC
$Id: NXgeometry.xml 4 2005-07-19 04:10:26Z rio $

This is the description for a general position of a component.
Note that every instance of an NXgeometry should be 
named "geometry" so that it can be linked to (linked items 
must share the same name in HDF)
-->
<NXgeometry name="">
	<NXshape name="{shape}">
		{shape/size information of component}?
	</NXshape>
	<NXtranslation name="{translation}">
		{translation of component}?
	</NXtranslation>
	<NXorientation name="{orientation}">
		{orientation of component}?
	</NXorientation>
	<description type="NX_CHAR">
		{Optional description/label}{Probably only present if we are an additional reference point for components rather than the location of a real component}?
	</description>
	<component_index type="NX_INT">
		{Position of the component along the beam path.}{The sample is at 0, components upstream have negative component_index, components downstream have positive component_index.}?
	</component_index>
</NXgeometry>

Tabular Representation of XML Meta-DTD

(automatically generated from http://svn.nexusformat.org/definitions/tags/PRE_NXDL/base_classes/NXgeometry.xml)

NXgeometry

Name Type Description Attributes
{shape}NXshapeshape/size information of component
{translation}NXtranslationtranslation of component
{orientation}NXorientationorientation of component
descriptionNX_CHAROptional description/label
{Probably only present if we are an additional reference point for components rather than the location of a real component}
component_indexNX_INTPosition of the component along the beam path.
{The sample is at 0, components upstream have negative component_index, components downstream have positive component_index.}

Personal tools