LibreOffice Module chart2 (master) 1
Public Member Functions | List of all members
chart::XTransformation2 Class Referenceabstract

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

#include <PlottingPositionHelper.hxx>

Inheritance diagram for chart::XTransformation2:
[legend]

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~XTransformation2()

chart::XTransformation2::~XTransformation2 ( )
virtual

Definition at line 39 of file PlottingPositionHelper.cxx.

Member Function Documentation

◆ transform() [1/2]

virtual css::drawing::Position3D chart::XTransformation2::transform ( const css::drawing::Position3D &  rSourceValues) const
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.

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

Implemented in chart::Linear3DTransformation, and chart::VPolarTransformation.

Referenced by chart::addLine2D(), chart::addLine3D(), chart::BarChart::doXSlot(), and chart::PlottingPositionHelper::transformScaledLogicToScene().

◆ transform() [2/2]

virtual css::drawing::Position3D chart::XTransformation2::transform ( const css::uno::Sequence< double > &  rSourceValues) const
pure virtual

The documentation for this class was generated from the following files: