CSide Class Reference
[Sail computations library]

#include <panel.h>

Inheritance diagram for CSide:

CSeam

List of all members.

Public Member Functions

 CSide (unsigned int=1)
void fill (const CPoint3d &, const CPoint3d &)
void fill (const CPoint3d &, const CPoint3d &, const CPoint3d &)
CSide rotate (const CPoint3d &, const CMatrix &) const
CSide operator+ (const CVector3d &) const

Friends

ostream & operator<< (ostream &, const CSide &)


Detailed Description

The CSide class describes a side of a panel. It is a collection of points.

Definition at line 92 of file panel.h.


Constructor & Destructor Documentation

CSide::CSide ( unsigned int  nbpoints = 1  ) 

Constructs a side with a given number of points.

Definition at line 890 of file panel.cpp.


Member Function Documentation

void CSide::fill ( const CPoint3d p1,
const CPoint3d p2 
)

Makes the side a straight line between two points.

Definition at line 898 of file panel.cpp.

Referenced by CHullWorker::CHullWorker(), CHullWorker::makeHull(), and CRigWorker::makeRig().

void CSide::fill ( const CPoint3d p1,
const CPoint3d p2,
const CPoint3d p3 
)

Makes the side a two-segment line between three points.

Definition at line 916 of file panel.cpp.

CSide CSide::rotate ( const CPoint3d p,
const CMatrix m 
) const

function for rotating a side.

Rotates a CSide around a point.

Definition at line 944 of file panel.cpp.

Referenced by CPanel::rotate().

CSide CSide::operator+ ( const CVector3d transl  )  const

Performs a 3D translation of the side by a given vector.

Definition at line 958 of file panel.cpp.


Friends And Related Function Documentation

ostream& operator<< ( ostream &  ,
const CSide  
) [friend]

Outputs a CSide to a stream. exemple: cout << panel[i].left;

Definition at line 1010 of file panel.cpp.


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

Generated on Sun Mar 22 21:38:32 2009 for Sailcut CAD by  doxygen 1.5.6