Base::Polygon2D Class Reference

Polygon2D. More...

#include <Tools2D.h>

List of all members.

Public Member Functions

bool Add (const Vector2D &rclVct)
Vector2DAt (size_t ulNdx) const
BoundBox2D CalcBoundBox (void) const
 POLYGON2D.
bool Contains (const Vector2D &rclV) const
bool Delete (size_t ulNdx)
void DeleteAll (void)
size_t GetCtVectors (void) const
void Intersect (const Polygon2D &rclPolygon, std::list< Polygon2D > &rclResultPolygonList) const
Polygon2Doperator= (const Polygon2D &rclP)
Vector2Doperator[] (size_t ulNdx) const
 Polygon2D (const Polygon2D &rclPoly)
 Polygon2D (void)
virtual ~Polygon2D ()

Detailed Description

Polygon2D.

2D polygon class.

Definition at line 135 of file Tools2D.h.


Constructor & Destructor Documentation

Base::Polygon2D::Polygon2D ( void   )  [inline]

Definition at line 138 of file Tools2D.h.

Base::Polygon2D::Polygon2D ( const Polygon2D rclPoly  )  [inline]

Definition at line 246 of file Tools2D.h.

virtual Base::Polygon2D::~Polygon2D (  )  [inline, virtual]

Definition at line 140 of file Tools2D.h.


Member Function Documentation

bool Base::Polygon2D::Add ( const Vector2D rclVct  )  [inline]
Vector2D & Base::Polygon2D::At ( size_t  ulNdx  )  const [inline]

Definition at line 290 of file Tools2D.h.

Referenced by Intersect().

BoundBox2D Polygon2D::CalcBoundBox ( void   )  const
bool Polygon2D::Contains ( const Vector2D rclV  )  const
bool Base::Polygon2D::Delete ( size_t  ulNdx  )  [inline]

Definition at line 273 of file Tools2D.h.

void Base::Polygon2D::DeleteAll ( void   )  [inline]

Definition at line 257 of file Tools2D.h.

Referenced by Intersect().

size_t Base::Polygon2D::GetCtVectors ( void   )  const [inline]

Definition at line 262 of file Tools2D.h.

Referenced by Contains(), Intersect(), and Base::BoundBox2D::operator||().

void Polygon2D::Intersect ( const Polygon2D rclPolygon,
std::list< Polygon2D > &  rclResultPolygonList 
) const
Polygon2D & Base::Polygon2D::operator= ( const Polygon2D rclP  )  [inline]

Definition at line 251 of file Tools2D.h.

Vector2D & Base::Polygon2D::operator[] ( size_t  ulNdx  )  const [inline]

Definition at line 285 of file Tools2D.h.


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

Generated on Wed Nov 23 19:01:47 2011 for FreeCAD by  doxygen 1.6.1