LibreOffice
LibreOffice 6.0 SDK API Reference
|
allows the transformation of numeric values from one coordinate-system into an other. More...
import"XTransformation.idl";
Public Member Functions | |
sequence< double > | transform ([in] sequence< double > aValues) raises ( ::com::sun::star::lang::IllegalArgumentException ) |
transforms the given input data tuple, given in the source coordinate system, according to the internal transformation rules, into a tuple of transformed coordinates in the destination coordinate system. More... | |
long | getSourceDimension () |
the dimension of the input coordinate sequence that is to be transformed by the transform() method. More... | |
long | getTargetDimension () |
the dimension of the output coordinate sequence that is the result of the transform() method. More... | |
![]() | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
allows the transformation of numeric values from one coordinate-system into an other.
Values may be transformed using any mapping.
long getSourceDimension | ( | ) |
the dimension of the input coordinate sequence that is to be transformed by the transform() method.
long getTargetDimension | ( | ) |
the dimension of the output coordinate sequence that is the result of the transform() method.
sequence< double > transform | ( | [in] sequence< double > | aValues | ) | |
raises | ( | ::com::sun::star::lang::IllegalArgumentException | |||
) |
transforms the given input data tuple, given in the source coordinate system, according to the internal transformation rules, into a tuple of transformed coordinates in the destination coordinate system.
Note that both coordinate systems may have different dimensions, e.g., if a transformation does simply a projection into a lower-dimensional space.
aValues | a source tuple of data that is to be transformed. The length of this sequence must be equivalent to the dimension of the source coordinate system. |
com::sun::star::lang::IllegalArgumentException | if the dimension of the input vector is not equal to the dimension given in getSourceDimension(). |