Class TLcdGML31AffinePlacement

All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, ILcdFeatured, ILcdSelfDescribedFeatured, Serializable, Cloneable

public class TLcdGML31AffinePlacement extends TLcdFeaturedDataObject
A placement takes a standard geometric construction and places it in geographic space. It defines a transformation from a constructive parameter space to the co-ordinate space of the co-ordinate reference system being used. Parameter spaces in formulae in this International Standard are given as (u, v) in 2D and(u, v, w) in 3D. Co-ordinate reference systems positions are given in formulae, in this International Standard, by either (x, y) in 2D, or (x, y, z) in 3D.

Affine placements are defined by linear transformations from parameter space to the target co-ordiante space. 2-dimensional Cartesian parameter space,(u,v) transforms into 3-dimensional co- ordinate reference systems,(x,y,z) by using an affine transformation,(u,v)->(x,y,z) which is defined :

        x       ux vx   x0
                         u        
        y =     uy vy   + y0
                         v              
        x       uz vz   z0
        
Then, given this equation, the location element of the AffinePlacement is the direct position (x0, y0, z0), which is the target position of the origin in (u, v). The two reference directions (ux, uy, uz) and (vx, vy, vz) are the target directions of the unit vectors at the origin in (u, v).
Since:
10.0
See Also:
  • Field Details

    • LOCATION_PROPERTY

      public static final TLcdDataProperty LOCATION_PROPERTY
      Data property that maps to the location element. The possible values for this property are instances of TLcdGML31DirectPosition.
    • REF_DIRECTION_PROPERTY

      public static final TLcdDataProperty REF_DIRECTION_PROPERTY
      Data property that maps to the refDirection element. The possible values for this property are instances of List<TLcdGML31Vector>.
    • IN_DIMENSION_PROPERTY

      public static final TLcdDataProperty IN_DIMENSION_PROPERTY
      Data property that maps to the inDimension element. The possible values for this property are instances of long.
    • OUT_DIMENSION_PROPERTY

      public static final TLcdDataProperty OUT_DIMENSION_PROPERTY
      Data property that maps to the outDimension element. The possible values for this property are instances of long.
  • Constructor Details

    • TLcdGML31AffinePlacement

      public TLcdGML31AffinePlacement()
    • TLcdGML31AffinePlacement

      public TLcdGML31AffinePlacement(TLcdDataType aType)
  • Method Details

    • getLocation

      public TLcdGML31DirectPosition getLocation()
      Returns the value of the property that maps to the location element.

      The location property gives the target of the parameter space origin. This is the vector (x0, y0, z0) in the formulae above.

      Returns:
      the value of the LOCATION_PROPERTY property.
    • setLocation

      public void setLocation(TLcdGML31DirectPosition aValue)
      Sets the value of the property that maps to the location element.

      The location property gives the target of the parameter space origin. This is the vector (x0, y0, z0) in the formulae above.

      Parameters:
      aValue - the value to set for the LOCATION_PROPERTY property.
    • getRefDirection

      public List<TLcdGML31Vector> getRefDirection()
      Returns the value of the property that maps to the refDirection element.

      The attribute refDirection gives the target directions for the co-ordinate basis vectors of the parameter space. These are the columns of the matrix in the formulae given above. The number of directions given shall be inDimension. The dimension of the directions shall be outDimension.

      Returns:
      the value of the REF_DIRECTION_PROPERTY property.
    • getInDimension

      public long getInDimension()
      Returns the value of the property that maps to the inDimension element.

      Dimension of the constructive parameter space.

      Returns:
      the value of the IN_DIMENSION_PROPERTY property.
    • setInDimension

      public void setInDimension(long aValue)
      Sets the value of the property that maps to the inDimension element.

      Dimension of the constructive parameter space.

      Parameters:
      aValue - the value to set for the IN_DIMENSION_PROPERTY property.
    • getOutDimension

      public long getOutDimension()
      Returns the value of the property that maps to the outDimension element.

      Dimension of the co-ordinate space.

      Returns:
      the value of the OUT_DIMENSION_PROPERTY property.
    • setOutDimension

      public void setOutDimension(long aValue)
      Sets the value of the property that maps to the outDimension element.

      Dimension of the co-ordinate space.

      Parameters:
      aValue - the value to set for the OUT_DIMENSION_PROPERTY property.