LibreOffice Module basegfx (master) 1
Classes | Namespaces | Typedefs | Functions
b2dpolypolygontools.hxx File Reference
#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/polygon/b3dpolypolygon.hxx>
#include <com/sun/star/drawing/PointSequenceSequence.hpp>
#include <vector>
#include <basegfx/basegfxdllapi.h>
#include <o3tl/sorted_vector.hxx>
Include dependency graph for b2dpolypolygontools.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  basegfx::utils::PointIndex
 Helper class to transport PointIndices to a PolyPolygon, with an operator< for convenient sorting in a std::set usage. More...
 

Namespaces

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

Typedefs

typedef o3tl::sorted_vector< PointIndex > basegfx::utils::PointIndexSet
 the PointIndexSet itself; it allows to define a 'selection'of points in a tools::PolyPolygon by giving the polygon and point index. More...
 

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)
 
BASEGFX_DLLPUBLIC void basegfx::utils::applyLineDashing (const B2DPolyPolygon &rCandidate, const ::std::vector< double > &rDotDashArray, B2DPolyPolygon *pLineTarget, double fFullDashDotLen=0.0)
 Apply given LineDashing to given polyPolygon. More...
 
bool basegfx::utils::isInEpsilonRange (const B2DPolyPolygon &rCandidate, const B2DPoint &rTestPosition, double fDistance)
 
bool basegfx::utils::importFromSvgD (B2DPolyPolygon &o_rPolyPoly, std::u16string_view rSvgDAttribute, bool bHandleRelativeNextPointCompatible, PointIndexSet *pHelpPointIndexSet)
 Read poly-polygon from SVG. More...
 
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)
 
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)
 
bool basegfx::utils::isRectangle (const B2DPolyPolygon &rPoly)
 Predicate whether a given poly-polygon is a rectangle. More...
 
OUString basegfx::utils::exportToSvgD (const B2DPolyPolygon &rPolyPoly, bool bUseRelativeCoordinates, bool bDetectQuadraticBeziers, bool bHandleRelativeNextPointCompatible, bool bOOXMLMotionPath=false)
 Export poly-polygon to SVG. More...
 
B2DPolyPolygon basegfx::utils::simplifyCurveSegments (const B2DPolyPolygon &rCandidate)
 
B2DPolyPolygon basegfx::utils::createSevenSegmentPolyPolygon (char cNumber, bool bLitSegments)
 Creates polypolygon for seven-segment display number. More...
 
B2DPolyPolygon basegfx::utils::snapPointsOfHorizontalOrVerticalEdges (const B2DPolyPolygon &rCandidate)
 snap some polygon coordinates to discrete coordinates 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)