LibreOffice
LibreOffice 7.2 SDK API Reference

Interface defining an arbitrary bijective mapping from R^2 to R^2. More...
import"XMapping2D.idl";
Public Member Functions  
RealPoint2D  map ([in] RealPoint2D aPoint) 
Forward 2D mapping function. More...  
RealPoint2D  mapInverse ([in] RealPoint2D aPoint) 
Inverse 2D mapping function. 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...  
Interface defining an arbitrary bijective mapping from R^2 to R^2.
This interface provides methods to define an arbitrary bijective mapping from R^2 to R^2, i.e. from the twodimensional space of real numbers onto itself, as is representable by the double floating point type. The mapping must be bijective, i.e. map a pair of real numbers to exactly one other pair of real numbers and vice versa, to facilitate a working inverse. Bijectiveness also implies completeness, i.e. for every pair of real numbers there must be another pair that is mapped upon them.
RealPoint2D map  (  [in] RealPoint2D  aPoint  ) 
Forward 2D mapping function.
RealPoint2D mapInverse  (  [in] RealPoint2D  aPoint  ) 
Inverse 2D mapping function.
The following invariant must hold: map(mapInverse(p))=p
. This effectively rules out nonbijective mappings.