LibreOffice Module basegfx (master) 1
Public Member Functions | Private Attributes | List of all members
basegfx::utils::PointIndex Class Reference

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

#include <b2dpolypolygontools.hxx>

Public Member Functions

 PointIndex (sal_uInt32 nPolygonIndex, sal_uInt32 nPointIndex)
 
sal_uInt32 getPolygonIndex () const
 
sal_uInt32 getPointIndex () const
 
bool operator< (const PointIndex &rComp) const
 

Private Attributes

sal_uInt32 mnPolygonIndex
 
sal_uInt32 mnPointIndex
 

Detailed Description

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

Definition at line 99 of file b2dpolypolygontools.hxx.

Constructor & Destructor Documentation

◆ PointIndex()

basegfx::utils::PointIndex::PointIndex ( sal_uInt32  nPolygonIndex,
sal_uInt32  nPointIndex 
)
inline

Definition at line 106 of file b2dpolypolygontools.hxx.

Member Function Documentation

◆ getPointIndex()

sal_uInt32 basegfx::utils::PointIndex::getPointIndex ( ) const
inline

Definition at line 112 of file b2dpolypolygontools.hxx.

Referenced by operator<().

◆ getPolygonIndex()

sal_uInt32 basegfx::utils::PointIndex::getPolygonIndex ( ) const
inline

Definition at line 111 of file b2dpolypolygontools.hxx.

Referenced by operator<().

◆ operator<()

bool basegfx::utils::PointIndex::operator< ( const PointIndex rComp) const

Definition at line 65 of file b2dsvgpolypolygon.cxx.

References getPointIndex(), and getPolygonIndex().

Member Data Documentation

◆ mnPointIndex

sal_uInt32 basegfx::utils::PointIndex::mnPointIndex
private

Definition at line 103 of file b2dpolypolygontools.hxx.

◆ mnPolygonIndex

sal_uInt32 basegfx::utils::PointIndex::mnPolygonIndex
private

Definition at line 102 of file b2dpolypolygontools.hxx.


The documentation for this class was generated from the following files: