LibreOffice Module basegfx (master) 1
Namespaces | Functions
b3dpolypolygontools.hxx File Reference
#include <basegfx/point/b3dpoint.hxx>
#include <basegfx/basegfxdllapi.h>
Include dependency graph for b3dpolypolygontools.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::drawing
 
namespace  basegfx
 
namespace  basegfx::utils
 

Functions

B3DRange basegfx::utils::getRange (const B3DPolyPolygon &rCandidate)
 
B3DPolyPolygon const & basegfx::utils::createUnitCubePolyPolygon ()
 Create a unit 3D line polyPolygon which defines a cube. More...
 
B3DPolyPolygon const & basegfx::utils::createUnitCubeFillPolyPolygon ()
 Create a unit 3D fill polyPolygon which defines a cube. More...
 
B3DPolyPolygon basegfx::utils::createCubePolyPolygonFromB3DRange (const B3DRange &rRange)
 Create a 3D line polyPolygon from a B3DRange which defines a cube. More...
 
B3DPolyPolygon basegfx::utils::createCubeFillPolyPolygonFromB3DRange (const B3DRange &rRange)
 Create a 3D fill polyPolygon from a B3DRange which defines a cube. More...
 
B3DPolyPolygon basegfx::utils::createUnitSpherePolyPolygon (sal_uInt32 nHorSeg, sal_uInt32 nVerSeg, double fVerStart=M_PI_2, double fVerStop=-M_PI_2, double fHorStart=0.0, double fHorStop=2 *M_PI)
 Create a unit 3D line polyPolygon which defines a sphere with the given count of hor and ver segments. More...
 
B3DPolyPolygon basegfx::utils::createSpherePolyPolygonFromB3DRange (const B3DRange &rRange, sal_uInt32 nHorSeg, sal_uInt32 nVerSeg, double fVerStart=M_PI_2, double fVerStop=-M_PI_2, double fHorStart=0.0, double fHorStop=2 *M_PI)
 Create a 3D line polyPolygon from a B3DRange which defines a sphere with the given count of hor and ver segments. More...
 
B3DPolyPolygon basegfx::utils::createUnitSphereFillPolyPolygon (sal_uInt32 nHorSeg, sal_uInt32 nVerSeg, bool bNormals=false, double fVerStart=M_PI_2, double fVerStop=-M_PI_2, double fHorStart=0.0, double fHorStop=2 *M_PI)
 same as createUnitSpherePolyPolygon, but creates filled polygons (closed and oriented) There is one extra, the bool bNormals defines if normals will be set, default is false More...
 
B3DPolyPolygon basegfx::utils::createSphereFillPolyPolygonFromB3DRange (const B3DRange &rRange, sal_uInt32 nHorSeg, sal_uInt32 nVerSeg, bool bNormals=false, double fVerStart=M_PI_2, double fVerStop=-M_PI_2, double fHorStart=0.0, double fHorStop=2 *M_PI)
 same as createSpherePolyPolygonFromB3DRange, but creates filled polygons (closed and oriented) There is one extra, the bool bNormals defines if normals will be set, default is false More...
 
B3DPolyPolygon basegfx::utils::applyDefaultNormalsSphere (const B3DPolyPolygon &rCandidate, const B3DPoint &rCenter)
 Create/replace normals for given 3d geometry with default normals from given center to outside. More...
 
B3DPolyPolygon basegfx::utils::invertNormals (const B3DPolyPolygon &rCandidate)
 invert normals for given 3d geometry. More...
 
B3DPolyPolygon basegfx::utils::applyDefaultTextureCoordinatesParallel (const B3DPolyPolygon &rCandidate, const B3DRange &rRange, bool bChangeX=true, bool bChangeY=true)
 Create/replace texture coordinates for given 3d geometry with parallel projected one rRange: the full range of the 3d geometry If bChangeX, x texture coordinate will be recalculated. More...
 
B3DPolyPolygon basegfx::utils::applyDefaultTextureCoordinatesSphere (const B3DPolyPolygon &rCandidate, const B3DPoint &rCenter, bool bChangeX=true, bool bChangeY=true)
 Create/replace texture coordinates for given 3d geometry with spherical one rCenter: the centre of the used 3d geometry If bChangeX, x texture coordinate will be recalculated. More...
 
bool basegfx::utils::isInside (const B3DPolyPolygon &rCandidate, const B3DPoint &rPoint)
 
B3DPolyPolygon basegfx::utils::UnoPolyPolygonShape3DToB3DPolyPolygon (const css::drawing::PolyPolygonShape3D &rPolyPolygonShape3DSource)
 converters for css::drawing::PolyPolygonShape3D More...
 
void basegfx::utils::B3DPolyPolygonToUnoPolyPolygonShape3D (const B3DPolyPolygon &rPolyPolygonSource, css::drawing::PolyPolygonShape3D &rPolyPolygonShape3DRetval)