|
Virtual Testbed
Ship dynamics simulator for extreme conditions
|
Public Types | |
| using | scalar_type = T |
| using | value_type = typename base_type::value_type |
| using | pointer = typename base_type::pointer |
| using | const_pointer = typename base_type::const_pointer |
| using | reference = typename base_type::reference |
| using | const_reference = typename base_type::const_reference |
| using | iterator = typename base_type::iterator |
| using | const_iterator = typename base_type::const_iterator |
| using | size_type = typename base_type::size_type |
| using | difference_type = typename base_type::difference_type |
| using | reverse_iterator = typename base_type::reverse_iterator |
| using | const_reverse_iterator = typename base_type::const_reverse_iterator |
| using | triangle_array = std::vector< Triangle< T, N > > |
Public Member Functions | |
| bool | closed () const |
| void | make_closed () |
| size_t | find (const value_type &vertex) const |
| void | flip () |
| Plane< T, N > | plane () const |
| Polyline< T, N > | polyline () const |
| bool | degenerate (scalar_type eps) const |
| void | triangle_fan (triangle_array &triangles) const |
| triangle_array | triangle_fan () const |
| triangle_array | triangles () const |
| Uses ear-clipping triangulation. More... | |
| void | simplify (T eps) |
| void | gift_wrap (scalar_type eps, size_type count) |
| void | gnuplot (std::ostream &out) const |
| template<> | |
| vtb::geometry::Plane< T, 3 > | plane () const |
| template<> | |
| auto | triangles () const -> triangle_array |
Static Public Attributes | |
| static constexpr const int | dimensions = N |
Definition at line 18 of file polygon.hh.
| triangle_array vtb::geometry::Polygon< T, N >::triangles | ( | ) | const |
Uses ear-clipping triangulation.
1.8.15