#include <boat_model.h>
Public Member Functions | |
BoatModel () | |
~BoatModel () | |
void | start_iges_model (std::string igesFileName, double scale, double displacement, double assigned_sink, double assigned_trim, double back_keel_length=0.1, double front_keel_length=0.05, double middle_keel_length=.47, unsigned int number_of_transom_edges=1) |
TopoDS_Shape | ReverseFaceOrientation (const TopoDS_Shape &shape, const TopoDS_Face &face) |
void | compute_hydrostatic_sink (double &sink, const double &weight) |
Point< 3 > | compute_hydrostatic_force (const double &sink) |
Point< 3 > | compute_hydrostatic_moment (const double &sink, const Point< 3 > moment_center) |
gp_Trsf | set_current_position (const Point< 3 > &translation_vect, const double &quaternion_scalar, const Point< 3 > &quaternion_vect) |
Handle (Geom_Curve) equiv_keel_bspline | |
Handle (Geom_Curve) right_undisturbed_waterline_curve | |
Handle (Geom_Curve) left_undisturbed_waterline_curve | |
Handle (Geom_Curve) left_transom_bspline | |
Handle (Geom_Curve) right_transom_bspline | |
Handle (Geom_Curve) left_wake_bspline | |
Handle (Geom_Curve) right_wake_bspline | |
Definition at line 20 of file boat_model.h.
BoatModel::BoatModel | ( | ) |
Definition at line 113 of file boat_model.cc.
BoatModel::~BoatModel | ( | ) |
Definition at line 129 of file boat_model.cc.
Point< 3 > BoatModel::compute_hydrostatic_force | ( | const double & | sink | ) |
Definition at line 594 of file boat_model.cc.
Point< 3 > BoatModel::compute_hydrostatic_moment | ( | const double & | sink, |
const Point< 3 > | moment_center | ||
) |
Definition at line 958 of file boat_model.cc.
void BoatModel::compute_hydrostatic_sink | ( | double & | sink, |
const double & | weight | ||
) |
Definition at line 1154 of file boat_model.cc.
BoatModel::Handle | ( | Geom_Curve | ) |
BoatModel::Handle | ( | Geom_Curve | ) |
BoatModel::Handle | ( | Geom_Curve | ) |
BoatModel::Handle | ( | Geom_Curve | ) |
BoatModel::Handle | ( | Geom_Curve | ) |
BoatModel::Handle | ( | Geom_Curve | ) |
BoatModel::Handle | ( | Geom_Curve | ) |
TopoDS_Shape BoatModel::ReverseFaceOrientation | ( | const TopoDS_Shape & | shape, |
const TopoDS_Face & | face | ||
) |
Definition at line 154 of file boat_model.cc.
gp_Trsf BoatModel::set_current_position | ( | const Point< 3 > & | translation_vect, |
const double & | quaternion_scalar, | ||
const Point< 3 > & | quaternion_vect | ||
) |
Definition at line 836 of file boat_model.cc.
void BoatModel::start_iges_model | ( | std::string | igesFileName, |
double | scale, | ||
double | displacement, | ||
double | assigned_sink, | ||
double | assigned_trim, | ||
double | back_keel_length = 0.1 , |
||
double | front_keel_length = 0.05 , |
||
double | middle_keel_length = .47 , |
||
unsigned int | number_of_transom_edges = 1 |
||
) |
Point<3> norm;
Definition at line 166 of file boat_model.cc.
OpenCascade::ArclengthProjection* BoatModel::boat_keel |
Definition at line 117 of file boat_model.h.
OpenCascade::NormalProjection<1>* BoatModel::boat_keel_norm |
Definition at line 119 of file boat_model.h.
double BoatModel::boat_mass |
Definition at line 149 of file boat_model.h.
OpenCascade::NormalProjection<2>* BoatModel::boat_surface_left |
Definition at line 109 of file boat_model.h.
OpenCascade::NormalProjection<2>* BoatModel::boat_surface_right |
Definition at line 107 of file boat_model.h.
OpenCascade::ArclengthProjection* BoatModel::boat_transom_left |
Definition at line 121 of file boat_model.h.
OpenCascade::ArclengthProjection* BoatModel::boat_transom_right |
Definition at line 123 of file boat_model.h.
OpenCascade::AxisProjection* BoatModel::boat_water_line_left |
Definition at line 113 of file boat_model.h.
OpenCascade::AxisProjection* BoatModel::boat_water_line_right |
Definition at line 111 of file boat_model.h.
double BoatModel::boatWetLength |
Definition at line 81 of file boat_model.h.
double BoatModel::boatWetSurface |
Definition at line 83 of file boat_model.h.
Point<3> BoatModel::current_hull_baricenter |
Definition at line 162 of file boat_model.h.
Point<3> BoatModel::current_left_transom_tangent |
Definition at line 151 of file boat_model.h.
TopLoc_Location BoatModel::current_loc |
Definition at line 105 of file boat_model.h.
Point<3> BoatModel::current_right_transom_tangent |
Definition at line 153 of file boat_model.h.
Point<3> BoatModel::CurrentPointCenterTransom |
Definition at line 70 of file boat_model.h.
Point<3> BoatModel::CurrentPointLeftTransom |
Definition at line 73 of file boat_model.h.
Point<3> BoatModel::CurrentPointRightTransom |
Definition at line 76 of file boat_model.h.
Point<3> BoatModel::hydrostatic_hull_baricenter |
Definition at line 156 of file boat_model.h.
double BoatModel::initial_sink |
Definition at line 164 of file boat_model.h.
double BoatModel::initial_trim |
Definition at line 166 of file boat_model.h.
bool BoatModel::is_transom |
Definition at line 147 of file boat_model.h.
TopoDS_Shape BoatModel::keel_edge |
Definition at line 89 of file boat_model.h.
TopoDS_Shape BoatModel::left_transom_edge |
Definition at line 93 of file boat_model.h.
TopoDS_Shape BoatModel::left_undist_water_line |
Definition at line 97 of file boat_model.h.
double BoatModel::pitch_angle |
Definition at line 169 of file boat_model.h.
Point<3> BoatModel::PointBackBot |
Definition at line 64 of file boat_model.h.
Point<3> BoatModel::PointBackTop |
Definition at line 62 of file boat_model.h.
Point<3> BoatModel::PointCenterTransom |
Definition at line 79 of file boat_model.h.
Point<3> BoatModel::PointFrontBot |
Definition at line 55 of file boat_model.h.
Point<3> BoatModel::PointFrontTop |
Definition at line 53 of file boat_model.h.
Point<3> BoatModel::PointLeftTransom |
Definition at line 66 of file boat_model.h.
Point<3> BoatModel::PointMidBot |
Definition at line 60 of file boat_model.h.
Point<3> BoatModel::PointMidTop |
Definition at line 58 of file boat_model.h.
Point<3> BoatModel::PointRightTransom |
Definition at line 68 of file boat_model.h.
Point<3> BoatModel::reference_hull_baricenter |
Definition at line 159 of file boat_model.h.
TopLoc_Location BoatModel::reference_loc |
Definition at line 102 of file boat_model.h.
TopoDS_Shape BoatModel::refl_sh |
Definition at line 87 of file boat_model.h.
TopoDS_Shape BoatModel::right_transom_edge |
Definition at line 91 of file boat_model.h.
TopoDS_Shape BoatModel::right_undist_water_line |
Definition at line 95 of file boat_model.h.
double BoatModel::roll_angle |
Definition at line 170 of file boat_model.h.
TopoDS_Shape BoatModel::sh |
Definition at line 85 of file boat_model.h.
OpenCascade::AxisProjection* BoatModel::undist_water_surf |
Definition at line 115 of file boat_model.h.
TopoDS_Shape BoatModel::undisturbed_water_surface_face |
Definition at line 99 of file boat_model.h.
OpenCascade::ArclengthProjection* BoatModel::wake_line_left |
Definition at line 125 of file boat_model.h.
OpenCascade::ArclengthProjection* BoatModel::wake_line_right |
Definition at line 127 of file boat_model.h.
OpenCascade::ArclengthProjection* BoatModel::water_line_left |
Definition at line 131 of file boat_model.h.
OpenCascade::ArclengthProjection* BoatModel::water_line_right |
Definition at line 129 of file boat_model.h.
double BoatModel::yaw_angle |
Definition at line 168 of file boat_model.h.