Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: chart2 ::

unpublished interface XTransformation
Usage Restrictions
not published
Description
allows the transformation of numeric values from one coordinate-system into an other. Values may be transformed using any mapping.

Methods' Summary
transform 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.  
getSourceDimension the dimension of the input coordinate sequence that is to be transformed by the transform method.  
getTargetDimension the dimension of the output coordinate sequence that is the result of the transform method.  
Methods' Details
transform
sequence< double >
transform( [in] sequence< double >  aValues )
raises( ::com::sun::star::lang::IllegalArgumentException );

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

Parameter 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.
Returns
the transformed data tuple. The length of this sequence is equal to the dimension of the output coordinate system.
Throws
::com::sun::star::lang::IllegalArgumentException if the dimension of the input vector is not equal to the dimension given in getSourceDimension.
getSourceDimension
long
getSourceDimension();

Description
the dimension of the input coordinate sequence that is to be transformed by the transform method.
getTargetDimension
long
getTargetDimension();

Description
the dimension of the output coordinate sequence that is the result of the transform method.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.