Package nl.b3p.csw.jaxb.gml
Class AffinePlacementType
- java.lang.Object
-
- nl.b3p.csw.jaxb.gml.AffinePlacementType
-
public class AffinePlacementType extends Object
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).Java class for AffinePlacementType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AffinePlacementType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="location" type="{http://www.opengis.net/gml}DirectPositionType"/> <element name="refDirection" type="{http://www.opengis.net/gml}VectorType" maxOccurs="unbounded"/> <element name="inDimension" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> <element name="outDimension" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected BigIntegerinDimensionprotected DirectPositionTypelocationprotected BigIntegeroutDimensionprotected List<VectorType>refDirection
-
Constructor Summary
Constructors Constructor Description AffinePlacementType()Default no-arg constructorAffinePlacementType(DirectPositionType location, List<VectorType> refDirection, BigInteger inDimension, BigInteger outDimension)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigIntegergetInDimension()Gets the value of the inDimension property.DirectPositionTypegetLocation()Gets the value of the location property.BigIntegergetOutDimension()Gets the value of the outDimension property.List<VectorType>getRefDirection()Gets the value of the refDirection property.voidsetInDimension(BigInteger value)Sets the value of the inDimension property.voidsetLocation(DirectPositionType value)Sets the value of the location property.voidsetOutDimension(BigInteger value)Sets the value of the outDimension property.
-
-
-
Field Detail
-
location
protected DirectPositionType location
-
refDirection
protected List<VectorType> refDirection
-
inDimension
protected BigInteger inDimension
-
outDimension
protected BigInteger outDimension
-
-
Constructor Detail
-
AffinePlacementType
public AffinePlacementType()
Default no-arg constructor
-
AffinePlacementType
public AffinePlacementType(DirectPositionType location, List<VectorType> refDirection, BigInteger inDimension, BigInteger outDimension)
Fully-initialising value constructor
-
-
Method Detail
-
getLocation
public DirectPositionType getLocation()
Gets the value of the location property.- Returns:
- possible object is
DirectPositionType
-
setLocation
public void setLocation(DirectPositionType value)
Sets the value of the location property.- Parameters:
value- allowed object isDirectPositionType
-
getRefDirection
public List<VectorType> getRefDirection()
Gets the value of the refDirection property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the refDirection property.For example, to add a new item, do as follows:
getRefDirection().add(newItem);Objects of the following type(s) are allowed in the list
VectorType
-
getInDimension
public BigInteger getInDimension()
Gets the value of the inDimension property.- Returns:
- possible object is
BigInteger
-
setInDimension
public void setInDimension(BigInteger value)
Sets the value of the inDimension property.- Parameters:
value- allowed object isBigInteger
-
getOutDimension
public BigInteger getOutDimension()
Gets the value of the outDimension property.- Returns:
- possible object is
BigInteger
-
setOutDimension
public void setOutDimension(BigInteger value)
Sets the value of the outDimension property.- Parameters:
value- allowed object isBigInteger
-
-