Marine systems simulation
Ship::VeresHullData Class Reference
+ Inheritance diagram for Ship::VeresHullData:
+ Collaboration diagram for Ship::VeresHullData:

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW VeresHullData (std::string &fname)
 
virtual void ReadHullGeometry (std::string &fname)
 
virtual void ReadWaterLine (std::string &fname)
 
- Public Member Functions inherited from Ship::HullData
 HullData (std::string &fname)
 
void SetPosition (double n, double e, double d)
 
void SetPosition (const Eigen::Vector3d &vec)
 
void SetRotation (const Eigen::Quaterniond &q)
 
void SetRotation (double w, double x, double y, double z)
 
virtual void ReadHullGeometry (std::string &fname)=0
 
virtual void ReadWaterLine (std::string &fname)=0
 
void CalculateHullSectionData ()
 
void AddStation (const std::vector< double > &x, const std::vector< double > &y, const std::vector< double > &z)
 
void GetStation (int StationNr, std::vector< Eigen::Vector3d > &Out)
 
double GetStationArea (int SectionNr)
 
double GetStationArea (int SectionNr, double T)
 
double GetStationDraught (int SectionNr, double T)
 
double GetStationMaxBredth (int SectionNr, double T)
 
double GetStationBredth (int SectionNr, double T)
 
unsigned int GetNumberOfStations ()
 
int GetStationNr (double DistanceFromZeroStation)
 
double GetStationPosition (int SectionNr)
 
void GetStationLewisData (int SectionNr, double B, double T, double &LewisA1, double &LewisA3, double &LewisScaleFactor)
 
int GetStationSkegPoint (int SectionNr)
 
double GetStationInstentaneousDraught (int SecitonNr)
 
void GetVertexGlobalPosition (int vertex, Eigen::Vector3d &vertexpos)
 
void MakeHull2 ()
 
void AddToHull (std::vector< Eigen::Vector3d > &side1, std::vector< Eigen::Vector3d > side2, bool mirror=true)
 
void SetInterpolationParameters (double HullTop, double HullBottom, double VerticalStep, double HorizontalStep)
 
virtual double GetParam (std::string p)
 

Additional Inherited Members

- Public Attributes inherited from Ship::HullData
struct MainDimensions Main
 
struct HullGeometry Geomtery
 
- Static Protected Member Functions inherited from Ship::HullData
static bool CompareSections (struct Section const &lhs, struct Section const &rhs)
 
- Protected Attributes inherited from Ship::HullData
Eigen::Vector3d r
 
Eigen::Quaterniond q
 
double HullBottom
 
double HullTop
 
double HullVerticalStep
 
double HullHorizontalStep
 
std::vector< struct SectionSections
 
std::map< std::string, double > param
 

Member Function Documentation

◆ ReadHullGeometry()

virtual void Ship::VeresHullData::ReadHullGeometry ( std::string &  fname)
virtual

Implements Ship::HullData.

◆ ReadWaterLine()

virtual void Ship::VeresHullData::ReadWaterLine ( std::string &  fname)
virtual

Implements Ship::HullData.


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