using frame_container = std::vector< vertex_array >
using vec3 = blitz::TinyVector< T, 3 >
using vertex_array = std::vector< vec3 >
using vertex_array = std::vector< vec3 >
using vec3 = blitz::TinyVector< T, 3 >
using vec2 = blitz::TinyVector< T, 2 >
using vec2 = blitz::TinyVector< T, 2 >
using polygon_type = vtb::geometry::Polygon< T, 2 >
using section_type = Section< T >
using frame_container = std::vector< vertex_array >
enum Reading
  • Name
  • Size
  • Extents
  • Aft
  • AftWidth
  • FrameStart
  • Frame
  • FrameEnd
  • BowWidth
  • Bow
  • End
Vessel< T >
read_line(std::istream & str, Reading & state) -> void
gnuplot_bow(std::ostream & out) const -> void
filename() const -> const std::string &
aft_generate_horizontal_frames() -> void
draught() const -> T
read_frame(std::istream & in) -> void
bow_polygon() -> void
sculpt_bow() -> void
bottom_frames() const -> const frame_container &
name() const -> const Name &
clip_to_polygon(size_t begin_offset, size_t end_offset) -> void

Remove frame vertices that lie outside the polygon.

polyline() const -> const vertex_array &
dump_gnuplot(std::ostream & out) const -> void
main_generate_horizontal_frames() -> void
template <class T>
operator>>(std::istream & in, Vessel< T > & rhs) -> std::istream &
frame_string() const -> std::string
clear() -> void
set_bow_and_aft_x_coordinates() -> void
read_vertices_zx(std::istream & in) -> void
aft_width() -> void
description() const -> const Description &
read(std::istream & in) -> void
read_vertices_zy(std::istream & in) -> void
decompose() -> void
dump(std::ostream & out) const -> void
detach_bow(T min_x) -> void
main_section() const -> const section_type &
aft() const -> const section_type &
filename(const std::string & filename) -> void
top_frames() const -> const frame_container &
read_size(std::istream & in) -> void
bow_width() -> void
beam() const -> T
terminal_frame() const -> const vertex_array &
read_extents(std::istream & in) -> void
sculpt_aft() -> void
detach_aft(T max_x) -> void
gnuplot_sections(std::ostream & out) const -> void
sculpt_main() -> void
clear() -> void
bow_generate_horizontal_frames() -> void
bow() const -> const section_type &
length() const -> T
frames() const -> const frame_container &
aft_polygon() -> void
bow_terminal_frame() -> void
vertex_array _aft_width
Name _name
polygon_type _polygon
vertex_array _terminal_frame
frame_container _frames
vertex_array _arr
std::string _filename
T _length
size_t _middleframe
size_t _nframes
T _beam
section_type _main_section
frame_container _bottom_frames
vertex_array _width
T _draught
vertex_array _bow_width
frame_container _top_frames
section_type _bow_section
Description _description
section_type _aft_section