Package org.robwork.sdurw_pathplanning
Class QNormalizer
- java.lang.Object
 - 
- org.robwork.sdurw_pathplanning.QNormalizer
 
 
- 
public class QNormalizer extends java.lang.Object
Normalization of configurations.
QNormalizer linearly maps configurations of a rectangular configuration
space into a square configuration space with lower corner (0, 0, ..., 0)
and upper corner (1, 1, ..., 1). 
- 
- 
Constructor Summary
Constructors Constructor Description QNormalizer(long cPtr, boolean cMemoryOwn)QNormalizer(PairQ bounds)Normalizer for the configuration space box given by bounds. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()QfromNormalized(Q q)Convert from a normalized configuration to a real
configuration.PairQgetBounds()The box of the configuration space with respect to which
normalization is done.static longgetCPtr(QNormalizer obj)static QNormalizeridentity()Normalizer for the already normalized configuration space box.voidsetFromNormalized(Q q)Convert from a normalized configuration to a real
configuration and assign the real configuration to q.voidsetToNormalized(Q q)Convert a real configuration to a normalized configuration and
write the normalized configuration to q.QtoNormalized(Q q)Convert a real configuration to a normalized configuration. 
 - 
 
- 
- 
Constructor Detail
- 
QNormalizer
public QNormalizer(long cPtr, boolean cMemoryOwn) 
- 
QNormalizer
public QNormalizer(PairQ bounds)
Normalizer for the configuration space box given by bounds. 
 - 
 
- 
Method Detail
- 
getCPtr
public static long getCPtr(QNormalizer obj)
 
- 
delete
public void delete()
 
- 
fromNormalized
public Q fromNormalized(Q q)
Convert from a normalized configuration to a real
configuration. 
- 
toNormalized
public Q toNormalized(Q q)
Convert a real configuration to a normalized configuration. 
- 
setFromNormalized
public void setFromNormalized(Q q)
Convert from a normalized configuration to a real
configuration and assign the real configuration to q. 
- 
setToNormalized
public void setToNormalized(Q q)
Convert a real configuration to a normalized configuration and
write the normalized configuration to q. 
- 
getBounds
public PairQ getBounds()
The box of the configuration space with respect to which
normalization is done. 
- 
identity
public static QNormalizer identity()
Normalizer for the already normalized configuration space box. 
 - 
 
 -