public class TLcdGML31AffinePlacement extends TLcdFeaturedDataObject
->
(x,y,z) which is defined :
x ux vx x0 u y = uy vy + y0 v x uz vz z0Then, 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).
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
IN_DIMENSION_PROPERTY
Data property that maps to the
inDimension element. |
static TLcdDataProperty |
LOCATION_PROPERTY
Data property that maps to the
location element. |
static TLcdDataProperty |
OUT_DIMENSION_PROPERTY
Data property that maps to the
outDimension element. |
static TLcdDataProperty |
REF_DIRECTION_PROPERTY
Data property that maps to the
refDirection element. |
Constructor and Description |
---|
TLcdGML31AffinePlacement() |
TLcdGML31AffinePlacement(TLcdDataType aType) |
Modifier and Type | Method and Description |
---|---|
long |
getInDimension()
Returns the value of the property that maps to the
inDimension element. |
TLcdGML31DirectPosition |
getLocation()
Returns the value of the property that maps to the
location element. |
long |
getOutDimension()
Returns the value of the property that maps to the
outDimension element. |
List<TLcdGML31Vector> |
getRefDirection()
Returns the value of the property that maps to the
refDirection element. |
void |
setInDimension(long aValue)
Sets the value of the property that maps to the
inDimension element. |
void |
setLocation(TLcdGML31DirectPosition aValue)
Sets the value of the property that maps to the
location element. |
void |
setOutDimension(long aValue)
Sets the value of the property that maps to the
outDimension element. |
canSetFeature, getFeature, getFeature, getFeatureCount, getFeaturedDescriptor, setFeature, setFeature
public static final TLcdDataProperty LOCATION_PROPERTY
location
element.
The possible values for this property are instances of TLcdGML31DirectPosition
.public static final TLcdDataProperty REF_DIRECTION_PROPERTY
refDirection
element.
The possible values for this property are instances of List<TLcdGML31Vector>
.public static final TLcdDataProperty IN_DIMENSION_PROPERTY
inDimension
element.
The possible values for this property are instances of long
.public static final TLcdDataProperty OUT_DIMENSION_PROPERTY
outDimension
element.
The possible values for this property are instances of long
.public TLcdGML31AffinePlacement()
public TLcdGML31AffinePlacement(TLcdDataType aType)
public TLcdGML31DirectPosition getLocation()
location
element.
The location property gives the target of the parameter space origin. This is the vector (x0, y0, z0) in the formulae above.
LOCATION_PROPERTY
property.public void setLocation(TLcdGML31DirectPosition aValue)
location
element.
The location property gives the target of the parameter space origin. This is the vector (x0, y0, z0) in the formulae above.
aValue
- the value to set for the LOCATION_PROPERTY
property.public List<TLcdGML31Vector> getRefDirection()
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.
REF_DIRECTION_PROPERTY
property.public long getInDimension()
inDimension
element.
Dimension of the constructive parameter space.
IN_DIMENSION_PROPERTY
property.public void setInDimension(long aValue)
inDimension
element.
Dimension of the constructive parameter space.
aValue
- the value to set for the IN_DIMENSION_PROPERTY
property.public long getOutDimension()
outDimension
element.
Dimension of the co-ordinate space.
OUT_DIMENSION_PROPERTY
property.public void setOutDimension(long aValue)
outDimension
element.
Dimension of the co-ordinate space.
aValue
- the value to set for the OUT_DIMENSION_PROPERTY
property.