Generic CAM 0.1-PreAlpha

Polygon3 Class Reference

#include <Polygon25.h>

Inheritance diagram for Polygon3:
Collaboration diagram for Polygon3:

List of all members.

Public Member Functions

 Polygon3 ()
virtual ~Polygon3 ()
void Clear (void)
void Close (bool close=true)
void InsertPoint (double x=0.0, double y=0.0, double z=0.0)
void Reverse (void)
void RemoveZeroLength (void)
Polygon3operator+= (const Polygon3 &a)
 Overloaded operator for polygon concatenation.
const Polygon3 operator+ (const Polygon3 &a) const
 Overloaded operator for polygon concatenation.
void Paint (void) const
double GetLength (void) const
void ApplyTransformation (void)
void ApplyTransformation (const AffineTransformMatrix &matrix)

Public Attributes

AffineTransformMatrix matrix
Vector3 color
ArrayOfVector3 elements
bool isClosed

Detailed Description

...


Constructor & Destructor Documentation

Polygon3::Polygon3 ( )
Polygon3::~Polygon3 ( ) [virtual]

Member Function Documentation

void Polygon3::ApplyTransformation ( void  )
void Polygon3::ApplyTransformation ( const AffineTransformMatrix matrix)
void Polygon3::Clear ( void  )
void Polygon3::Close ( bool  close = true)
double Polygon3::GetLength ( void  ) const
void Polygon3::InsertPoint ( double  x = 0.0,
double  y = 0.0,
double  z = 0.0 
)
const Polygon3 Polygon3::operator+ ( const Polygon3 a) const

Overloaded operator for polygon concatenation.

Polygon3 & Polygon3::operator+= ( const Polygon3 a)

Overloaded operator for polygon concatenation.

void Polygon3::Paint ( void  ) const
void Polygon3::RemoveZeroLength ( void  )
void Polygon3::Reverse ( void  )

Member Data Documentation

ArrayOfVector3 Polygon3::elements

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