All Downloads are FREE. Search and download functionalities are using the official Maven repository.

generated.docs.javadoc.org.eclipse.dawnsci.nexus.NXshape.html Maven / Gradle / Ivy






NXshape (h5jan API)












org.eclipse.dawnsci.nexus

Interface NXshape

  • All Superinterfaces:
    GroupNode, java.lang.Iterable<NodeLink>, Node, NXobject
    All Known Implementing Classes:
    NXshapeImpl


    public interface NXshape
    extends NXobject
    legacy class - (used by :ref:`NXgeometry`) - the shape and size of a component. This is the description of the general shape and size of a component, which may be made up of ``numobj`` separate elements - it is used by the :ref:`NXgeometry` class
    • Method Detail

      • getShape

        IDataset getShape()
        general shape of a component

        Enumeration:

        • nxflat
        • nxcylinder
        • nxbox
        • nxsphere
        • nxcone
        • nxelliptical
        • nxtoroidal
        • nxparabolic
        • nxpolynomial

        Returns:
        the value.
      • setShape

        DataNode setShape(IDataset shape)
        general shape of a component

        Enumeration:

        • nxflat
        • nxcylinder
        • nxbox
        • nxsphere
        • nxcone
        • nxelliptical
        • nxtoroidal
        • nxparabolic
        • nxpolynomial

        Parameters:
        shape - the shape
      • getShapeScalar

        java.lang.String getShapeScalar()
        general shape of a component

        Enumeration:

        • nxflat
        • nxcylinder
        • nxbox
        • nxsphere
        • nxcone
        • nxelliptical
        • nxtoroidal
        • nxparabolic
        • nxpolynomial

        Returns:
        the value.
      • setShapeScalar

        DataNode setShapeScalar(java.lang.String shape)
        general shape of a component

        Enumeration:

        • nxflat
        • nxcylinder
        • nxbox
        • nxsphere
        • nxcone
        • nxelliptical
        • nxtoroidal
        • nxparabolic
        • nxpolynomial

        Parameters:
        shape - the shape
      • getSize

        IDataset getSize()
        physical extent of the object along its local axes (after NXorientation) with the center of mass at the local origin (after NXtranslation). The meaning and location of these axes will vary according to the value of the "shape" variable. ``nshapepar`` defines how many parameters: - For "nxcylinder" type the parameters are (diameter,height) and a three value orientation vector of the cylinder. - For the "nxbox" type the parameters are (length,width,height). - For the "nxsphere" type the parameters are (diameter). - For nxcone cone half aperture - For nxelliptical, semi-major axis, semi-minor-axis, angle of major axis and pole - For nxtoroidal, major radius, minor radius - For nxparabolic, parabolic parameter a - For nxpolynomial, an array of polynom coefficients, the dimension of the array encodes the degree of the polynom

        Type: NX_FLOAT Units: NX_LENGTH Dimensions: 1: numobj; 2: nshapepar;

        Returns:
        the value.
      • setSize

        DataNode setSize(IDataset size)
        physical extent of the object along its local axes (after NXorientation) with the center of mass at the local origin (after NXtranslation). The meaning and location of these axes will vary according to the value of the "shape" variable. ``nshapepar`` defines how many parameters: - For "nxcylinder" type the parameters are (diameter,height) and a three value orientation vector of the cylinder. - For the "nxbox" type the parameters are (length,width,height). - For the "nxsphere" type the parameters are (diameter). - For nxcone cone half aperture - For nxelliptical, semi-major axis, semi-minor-axis, angle of major axis and pole - For nxtoroidal, major radius, minor radius - For nxparabolic, parabolic parameter a - For nxpolynomial, an array of polynom coefficients, the dimension of the array encodes the degree of the polynom

        Type: NX_FLOAT Units: NX_LENGTH Dimensions: 1: numobj; 2: nshapepar;

        Parameters:
        size - the size
      • getSizeScalar

        java.lang.Double getSizeScalar()
        physical extent of the object along its local axes (after NXorientation) with the center of mass at the local origin (after NXtranslation). The meaning and location of these axes will vary according to the value of the "shape" variable. ``nshapepar`` defines how many parameters: - For "nxcylinder" type the parameters are (diameter,height) and a three value orientation vector of the cylinder. - For the "nxbox" type the parameters are (length,width,height). - For the "nxsphere" type the parameters are (diameter). - For nxcone cone half aperture - For nxelliptical, semi-major axis, semi-minor-axis, angle of major axis and pole - For nxtoroidal, major radius, minor radius - For nxparabolic, parabolic parameter a - For nxpolynomial, an array of polynom coefficients, the dimension of the array encodes the degree of the polynom

        Type: NX_FLOAT Units: NX_LENGTH Dimensions: 1: numobj; 2: nshapepar;

        Returns:
        the value.
      • setSizeScalar

        DataNode setSizeScalar(java.lang.Double size)
        physical extent of the object along its local axes (after NXorientation) with the center of mass at the local origin (after NXtranslation). The meaning and location of these axes will vary according to the value of the "shape" variable. ``nshapepar`` defines how many parameters: - For "nxcylinder" type the parameters are (diameter,height) and a three value orientation vector of the cylinder. - For the "nxbox" type the parameters are (length,width,height). - For the "nxsphere" type the parameters are (diameter). - For nxcone cone half aperture - For nxelliptical, semi-major axis, semi-minor-axis, angle of major axis and pole - For nxtoroidal, major radius, minor radius - For nxparabolic, parabolic parameter a - For nxpolynomial, an array of polynom coefficients, the dimension of the array encodes the degree of the polynom

        Type: NX_FLOAT Units: NX_LENGTH Dimensions: 1: numobj; 2: nshapepar;

        Parameters:
        size - the size
      • getDirection

        IDataset getDirection()

        Enumeration:

        • concave
        • convex

        Returns:
        the value.
      • setDirection

        DataNode setDirection(IDataset direction)

        Enumeration:

        • concave
        • convex

        Parameters:
        direction - the direction
      • getDirectionScalar

        java.lang.String getDirectionScalar()

        Enumeration:

        • concave
        • convex

        Returns:
        the value.
      • setDirectionScalar

        DataNode setDirectionScalar(java.lang.String direction)

        Enumeration:

        • concave
        • convex

        Parameters:
        direction - the direction




© 2015 - 2024 Weber Informatics LLC | Privacy Policy