LibreOffice
LibreOffice 6.2 SDK API Reference
Public Member Functions | List of all members
XTransformation Interface Reference

allows the transformation of numeric values from one coordinate-system into another. More...

import"XTransformation.idl";

Inheritance diagram for XTransformation:
XInterface

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...
 

Detailed Description

allows the transformation of numeric values from one coordinate-system into another.

Values may be transformed using any mapping.

Member Function Documentation

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.

Parameters
aValuesa 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.
Returns
the transformed data tuple. The length of this sequence is equal to the dimension of the output coordinate system.
Exceptions
com::sun::star::lang::IllegalArgumentExceptionif the dimension of the input vector is not equal to the dimension given in getSourceDimension().

The documentation for this interface was generated from the following file: