62 sal_uInt32 nHorSeg, sal_uInt32 nVerSeg,
63 double fVerStart = M_PI_2,
double fVerStop = -M_PI_2,
64 double fHorStart = 0.0,
double fHorStop = 2 * M_PI);
71 const B3DRange& rRange,
72 sal_uInt32 nHorSeg, sal_uInt32 nVerSeg,
73 double fVerStart = M_PI_2,
double fVerStop = -M_PI_2,
74 double fHorStart = 0.0,
double fHorStop = 2 * M_PI);
80 sal_uInt32 nHorSeg, sal_uInt32 nVerSeg,
81 bool bNormals =
false,
82 double fVerStart = M_PI_2,
double fVerStop = -M_PI_2,
83 double fHorStart = 0.0,
double fHorStop = 2 * M_PI);
89 const B3DRange& rRange,
90 sal_uInt32 nHorSeg, sal_uInt32 nVerSeg,
91 bool bNormals =
false,
92 double fVerStart = M_PI_2,
double fVerStop = -M_PI_2,
93 double fHorStart = 0.0,
double fHorStop = 2 * M_PI);
125 const css::drawing::PolyPolygonShape3D& rPolyPolygonShape3DSource);
127 const B3DPolyPolygon& rPolyPolygonSource,
128 css::drawing::PolyPolygonShape3D& rPolyPolygonShape3DRetval);
#define BASEGFX_DLLPUBLIC
B3DPolyPolygon createCubePolyPolygonFromB3DRange(const B3DRange &rRange)
Create a 3D line polyPolygon from a B3DRange which defines a cube.
B3DPolygon applyDefaultTextureCoordinatesSphere(const B3DPolygon &rCandidate, const B3DPoint &rCenter, bool bChangeX, bool bChangeY)
Create/replace texture coordinates for given 3d geometry with spherical one rCenter: the centre of th...
B3DPolyPolygon createSphereFillPolyPolygonFromB3DRange(const B3DRange &rRange, sal_uInt32 nHorSeg, sal_uInt32 nVerSeg, bool bNormals, double fVerStart, double fVerStop, double fHorStart, double fHorStop)
same as createSpherePolyPolygonFromB3DRange, but creates filled polygons (closed and oriented) There ...
B3DPolyPolygon createCubeFillPolyPolygonFromB3DRange(const B3DRange &rRange)
Create a 3D fill polyPolygon from a B3DRange which defines a cube.
bool isInside(const B2DPolygon &rCandidate, const B2DPoint &rPoint, bool bWithBorder)
B3DPolygon applyDefaultNormalsSphere(const B3DPolygon &rCandidate, const B3DPoint &rCenter)
Create/replace normals for given 3d geometry with default normals from given center to outside.
B3DPolyPolygon createSpherePolyPolygonFromB3DRange(const B3DRange &rRange, sal_uInt32 nHorSeg, sal_uInt32 nVerSeg, double fVerStart, double fVerStop, double fHorStart, double fHorStop)
Create a 3D line polyPolygon from a B3DRange which defines a sphere with the given count of hor and v...
void B3DPolyPolygonToUnoPolyPolygonShape3D(const B3DPolyPolygon &rPolyPolygonSource, css::drawing::PolyPolygonShape3D &rPolyPolygonShape3DRetval)
B3DPolyPolygon const & createUnitCubeFillPolyPolygon()
Create a unit 3D fill polyPolygon which defines a cube.
B3DPolyPolygon createUnitSphereFillPolyPolygon(sal_uInt32 nHorSeg, sal_uInt32 nVerSeg, bool bNormals, double fVerStart, double fVerStop, double fHorStart, double fHorStop)
same as createUnitSpherePolyPolygon, but creates filled polygons (closed and oriented) There is one e...
B3DPolyPolygon UnoPolyPolygonShape3DToB3DPolyPolygon(const css::drawing::PolyPolygonShape3D &rPolyPolygonShape3DSource)
converters for css::drawing::PolyPolygonShape3D
B3DPolyPolygon const & createUnitCubePolyPolygon()
Create a unit 3D line polyPolygon which defines a cube.
B3DPolygon invertNormals(const B3DPolygon &rCandidate)
invert normals for given 3d geometry.
B3DPolygon applyDefaultTextureCoordinatesParallel(const B3DPolygon &rCandidate, const B3DRange &rRange, bool bChangeX, bool bChangeY)
Create/replace texture coordinates for given 3d geometry with parallel projected one rRange: the full...
B3DPolyPolygon createUnitSpherePolyPolygon(sal_uInt32 nHorSeg, sal_uInt32 nVerSeg, double fVerStart, double fVerStop, double fHorStart, double fHorStop)
Create a unit 3D line polyPolygon which defines a sphere with the given count of hor and ver segments...
B2DRange getRange(const B2DPolygon &rCandidate)
Get the range of a polygon.