CSailDef Class Reference
[Sail computations library]

#include <saildef.h>

Inheritance diagram for CSailDef:

CSailWorker

List of all members.

Public Member Functions

 CSailDef ()
CSailDefoperator= (const CSailDef &)

Public Attributes

string sailID
enumSailCut sailCut
enumSailType sailType
real LOA
real foreI
real foreJ
real tackX
real tackY
real luffL
real rake
real gaffDeg
real gaffL
real footL
real leechL
real luffR
real gaffR
real leechR
real footR
int luffRP
int gaffRP
int leechRP
int footRP
real clothW
real seamW
real leechHemW
real footHemW
real hemsW
real innerW
real twistDeg
real sheetDeg
real dihedralDeg
unsigned int nbSections
unsigned int nbGores
unsigned int nbLuffGores
CSailMould mould


Detailed Description

The CSailDef class holds the parameters that define a sail and its default values.

See also:
CFormSailDef for data input and checking

CSailWorker

Definition at line 40 of file saildef.h.


Constructor & Destructor Documentation

CSailDef::CSailDef (  ) 

Constructs a CSailDef object from the default sail parameters.

Definition at line 32 of file saildef.cpp.

References clothW, dihedralDeg, footHemW, footL, foreI, foreJ, gaffDeg, gaffL, hemsW, leechHemW, leechL, LOA, luffL, luffR, luffRP, nbGores, nbLuffGores, nbSections, rake, sailCut, sailID, sailType, seamW, sheetDeg, tackX, tackY, and twistDeg.


Member Function Documentation

CSailDef & CSailDef::operator= ( const CSailDef copy  ) 

Assignment operator

Parameters:
copy the sail definition to copy from
Returns:
CSailDef&

Definition at line 90 of file saildef.cpp.

References clothW, dihedralDeg, footHemW, footL, footR, footRP, foreI, foreJ, gaffDeg, gaffL, gaffR, gaffRP, hemsW, leechHemW, leechL, leechR, leechRP, LOA, luffL, luffR, luffRP, mould, nbGores, nbLuffGores, nbSections, rake, sailCut, sailID, sailType, seamW, sheetDeg, tackX, tackY, and twistDeg.


Member Data Documentation

enumSailCut CSailDef::sailCut

enumSailType CSailDef::sailType

The position of round of sides in percent of its length

Definition at line 79 of file saildef.h.

Referenced by CFormSailDef::CFormSailDef(), CFormSailDef::check(), CSailDef(), CSailWorker::EdgeIntersect(), CSailDoc::get(), operator=(), and CSailDoc::put().

The Inner guideline width in mm

Definition at line 91 of file saildef.h.

The Sail twist between foot and head in degrees

Definition at line 94 of file saildef.h.

Referenced by CFormSailDef::CFormSailDef(), CFormSailDef::check(), CSailDef(), CSailDoc::get(), operator=(), CSailDataPrinter::print(), CSailDoc::put(), and CSailWorker::Zpoint().

unsigned int CSailDef::nbSections

unsigned int CSailDef::nbGores

unsigned int CSailDef::nbLuffGores


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