ATLAS Offline Software
Classes | Public Types | Public Member Functions | Private Attributes | List of all members
PolygonTriangulator Class Reference

#include <PolygonTriangulator.h>

Collaboration diagram for PolygonTriangulator:

Classes

class  Polygon
 

Public Types

typedef std::vector< unsigned > Triangle
 
typedef std::list< TriangleTriangles
 

Public Member Functions

 PolygonTriangulator (const std::vector< double > &polygon_xcoords, const std::vector< double > &polygon_ycoords)
 
 PolygonTriangulator (const PolygonTriangulator &)=delete
 
PolygonTriangulatoroperator= (const PolygonTriangulator &)=delete
 
const Trianglestriangles () const
 
 ~PolygonTriangulator ()
 

Private Attributes

Polygonm_polygon
 

Detailed Description

Definition at line 32 of file PolygonTriangulator.h.

Member Typedef Documentation

◆ Triangle

typedef std::vector<unsigned> PolygonTriangulator::Triangle

Definition at line 35 of file PolygonTriangulator.h.

◆ Triangles

Definition at line 36 of file PolygonTriangulator.h.

Constructor & Destructor Documentation

◆ PolygonTriangulator() [1/2]

PolygonTriangulator::PolygonTriangulator ( const std::vector< double > &  polygon_xcoords,
const std::vector< double > &  polygon_ycoords 
)

Definition at line 2072 of file PolygonTriangulator.cxx.

2074  : m_polygon(new Polygon(polygon_xcoords,polygon_ycoords))
2075 {
2077 }

◆ PolygonTriangulator() [2/2]

PolygonTriangulator::PolygonTriangulator ( const PolygonTriangulator )
delete

◆ ~PolygonTriangulator()

PolygonTriangulator::~PolygonTriangulator ( )

Definition at line 2079 of file PolygonTriangulator.cxx.

2079 { delete m_polygon; }

Member Function Documentation

◆ operator=()

PolygonTriangulator& PolygonTriangulator::operator= ( const PolygonTriangulator )
delete

◆ triangles()

const PolygonTriangulator::Triangles * PolygonTriangulator::triangles ( ) const

Definition at line 2081 of file PolygonTriangulator.cxx.

2082 {
2083  return m_polygon->triangles();
2084 }

Member Data Documentation

◆ m_polygon

Polygon* PolygonTriangulator::m_polygon
private

Definition at line 56 of file PolygonTriangulator.h.


The documentation for this class was generated from the following files:
PolygonTriangulator::Polygon::triangles
const Triangles * triangles()
Definition: PolygonTriangulator.cxx:1431
NSWL1::Polygon
boost::geometry::model::polygon< Vertex > Polygon
Definition: GeoUtils.h:18
PolygonTriangulator::m_polygon
Polygon * m_polygon
Definition: PolygonTriangulator.h:55
PolygonTriangulator::Polygon::triangulation
void triangulation()
Definition: PolygonTriangulator.cxx:2056