LibreOffice Module basegfx (master) 1
Namespaces | Functions
b2dpolypolygontools.cxx File Reference
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <osl/diagnose.h>
#include <com/sun/star/drawing/PolyPolygonBezierCoords.hpp>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/numeric/ftools.hxx>
#include <rtl/math.hxx>
#include <algorithm>
#include <numeric>
Include dependency graph for b2dpolypolygontools.cxx:

Go to the source code of this file.

Namespaces

namespace  basegfx
 
namespace  basegfx::utils
 

Functions

B2DPolyPolygon basegfx::utils::correctOrientations (const B2DPolyPolygon &rCandidate)
 
B2DPolyPolygon basegfx::utils::correctOutmostPolygon (const B2DPolyPolygon &rCandidate)
 
B2DPolyPolygon basegfx::utils::adaptiveSubdivideByDistance (const B2DPolyPolygon &rCandidate, double fDistanceBound, int nRecurseLimit)
 
B2DPolyPolygon basegfx::utils::adaptiveSubdivideByAngle (const B2DPolyPolygon &rCandidate, double fAngleBound)
 
bool basegfx::utils::isInside (const B2DPolyPolygon &rCandidate, const B2DPoint &rPoint, bool bWithBorder)
 
B2DRange basegfx::utils::getRange (const B2DPolyPolygon &rCandidate)
 Get the range of a polyPolygon. More...
 
double basegfx::utils::getSignedArea (const B2DPolyPolygon &rCandidate)
 
double basegfx::utils::getArea (const B2DPolyPolygon &rCandidate)
 
void basegfx::utils::applyLineDashing (const B2DPolyPolygon &rCandidate, const std::vector< double > &rDotDashArray, B2DPolyPolygon *pLineTarget, double fFullDashDotLen)
 
bool basegfx::utils::isInEpsilonRange (const B2DPolyPolygon &rCandidate, const B2DPoint &rTestPosition, double fDistance)
 
B3DPolyPolygon basegfx::utils::createB3DPolyPolygonFromB2DPolyPolygon (const B2DPolyPolygon &rCandidate, double fZCoordinate)
 
B2DPolyPolygon basegfx::utils::createB2DPolyPolygonFromB3DPolyPolygon (const B3DPolyPolygon &rCandidate, const B3DHomMatrix &rMat)
 
double basegfx::utils::getSmallestDistancePointToPolyPolygon (const B2DPolyPolygon &rCandidate, const B2DPoint &rTestPoint, sal_uInt32 &rPolygonIndex, sal_uInt32 &rEdgeIndex, double &rCut)
 
B2DPolyPolygon basegfx::utils::distort (const B2DPolyPolygon &rCandidate, const B2DRange &rOriginal, const B2DPoint &rTopLeft, const B2DPoint &rTopRight, const B2DPoint &rBottomLeft, const B2DPoint &rBottomRight)
 
B2DPolyPolygon basegfx::utils::expandToCurve (const B2DPolyPolygon &rCandidate)
 
B2DPolyPolygon basegfx::utils::growInNormalDirection (const B2DPolyPolygon &rCandidate, double fValue)
 
B2DPolyPolygon basegfx::utils::reSegmentPolyPolygon (const B2DPolyPolygon &rCandidate, sal_uInt32 nSegments)
 
B2DPolyPolygon basegfx::utils::interpolate (const B2DPolyPolygon &rOld1, const B2DPolyPolygon &rOld2, double t)
 
bool basegfx::utils::isRectangle (const B2DPolyPolygon &rPoly)
 Predicate whether a given poly-polygon is a rectangle. More...
 
B2DPolyPolygon basegfx::utils::simplifyCurveSegments (const B2DPolyPolygon &rCandidate)
 
B2DPolyPolygon basegfx::utils::snapPointsOfHorizontalOrVerticalEdges (const B2DPolyPolygon &rCandidate)
 snap some polygon coordinates to discrete coordinates More...
 
B2DPolyPolygon basegfx::utils::createSevenSegmentPolyPolygon (char cNumber, bool bLitSegments)
 Creates polypolygon for seven-segment display number. More...
 
B2DPolyPolygon basegfx::utils::UnoPointSequenceSequenceToB2DPolyPolygon (const css::drawing::PointSequenceSequence &rPointSequenceSequenceSource)
 converters for css::drawing::PointSequence More...
 
void basegfx::utils::B2DPolyPolygonToUnoPointSequenceSequence (const B2DPolyPolygon &rPolyPolygon, css::drawing::PointSequenceSequence &rPointSequenceSequenceRetval)
 
B2DPolyPolygon basegfx::utils::UnoPolyPolygonBezierCoordsToB2DPolyPolygon (const css::drawing::PolyPolygonBezierCoords &rPolyPolygonBezierCoordsSource)
 converters for css::drawing::PolyPolygonBezierCoords (curved polygons) More...
 
void basegfx::utils::B2DPolyPolygonToUnoPolyPolygonBezierCoords (const B2DPolyPolygon &rPolyPolygon, css::drawing::PolyPolygonBezierCoords &rPolyPolygonBezierCoordsRetval)