LibreOffice Module chart2 (master) 1
|
allows the transformation of numeric values from one coordinate-system into another. More...
#include <PlottingPositionHelper.hxx>
Public Member Functions | |
virtual | ~XTransformation2 () |
virtual css::drawing::Position3D | transform (const css::drawing::Position3D &rSourceValues) const =0 |
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... | |
virtual css::drawing::Position3D | transform (const css::uno::Sequence< double > &rSourceValues) const =0 |
allows the transformation of numeric values from one coordinate-system into another.
Values may be transformed using any mapping. This is a non-UNO variant of the css::chart2::XTransformation interface, but using more efficient calling and returning types.
Definition at line 52 of file PlottingPositionHelper.hxx.
|
virtual |
Definition at line 39 of file PlottingPositionHelper.cxx.
|
pure virtual |
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(). |
Implemented in chart::Linear3DTransformation, and chart::VPolarTransformation.
Referenced by chart::addLine2D(), chart::addLine3D(), chart::BarChart::doXSlot(), and chart::PlottingPositionHelper::transformScaledLogicToScene().
|
pure virtual |
Implemented in chart::Linear3DTransformation, and chart::VPolarTransformation.