LibreOffice
LibreOffice 7.2 SDK API Reference

allows the transformation of numeric values from one coordinatesystem into another. 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...  
Public Member Functions inherited from XInterface  
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 coordinatesystem into another.
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 lowerdimensional 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(). 