Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: graphic ::

unpublished interface XPrimitive3D
Usage Restrictions
not published
Description
XPrimitive3D interface This is the basic interface for graphic 3D primitives. They need to be able - to provide a decomposition consisting of simpler graphic primitives - to provide a 3D bound rectangle as a 3D range

Methods' Summary
getDecomposition Retrieve decomposed list of simpler primitives  
getRange Retrieve bound rect of primitive This method calculates the actual bound rect of the area in world coordinates. Note that for view-dependent primitives, the necessary pixel adjustments are taken into account. For that reason the ViewParameters need to be given.  
Methods' Details
getDecomposition
sequence< XPrimitive3D >
getDecomposition( [in] sequence< ::com::sun::star::beans::PropertyValue >  aViewParameters );

Description
Retrieve decomposed list of simpler primitives
Parameter aViewParameters
3D View-specific parameter set. The defined but not mandatory parameters include: double Time Defines the point in time for which the geometry is defined. This may lead to varied results for animated objects. This value is defined in the range [0.0 .. n[, negative values are not allowed. If not given, a value of 0.0 is implied.
getRange
::com::sun::star::geometry::RealRectangle3D
getRange( [in] sequence< ::com::sun::star::beans::PropertyValue >  aViewParameters );

Description
Retrieve bound rect of primitive This method calculates the actual bound rect of the area in world coordinates. Note that for view-dependent primitives, the necessary pixel adjustments are taken into account. For that reason the ViewParameters need to be given.
Parameter aViewParameters
3D View-specific parameter set, same as in getDecomposition.
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.