Tatooine
Public Types | List of all members
tatooine::geometry::ellipsoid< Real > Struct Template Reference

#include <ellipsoid.h>

Inheritance diagram for tatooine::geometry::ellipsoid< Real >:
[legend]
Collaboration diagram for tatooine::geometry::ellipsoid< Real >:
[legend]

Public Types

using this_type = ellipsoid
 
using parent_type = hyper_ellipse< Real, 3 >
 
- Public Types inherited from tatooine::geometry::hyper_ellipse< Real, 3 >
using this_type = hyper_ellipse< Real, NumDimensions >
 
using vec_type = vec< Real, NumDimensions >
 
using pos_type = vec_type
 
using mat_type = mat< Real, NumDimensions, NumDimensions >
 
using real_type = Real
 

Additional Inherited Members

- Public Member Functions inherited from tatooine::geometry::hyper_ellipse< Real, 3 >
constexpr hyper_ellipse ()
 defaults to unit hypersphere More...
 
constexpr hyper_ellipse (hyper_ellipse const &)=default
 
constexpr hyper_ellipse (hyper_ellipse &&) noexcept=default
 
constexpr hyper_ellipse (Real const radius)
 Sets up a sphere with specified radius. More...
 
constexpr hyper_ellipse (Real const radius, vec_type const &center)
 Sets up a sphere with specified radius and origin point. More...
 
constexpr hyper_ellipse (vec_type const &center, Real const radius)
 Sets up a sphere with specified radius and origin point. More...
 
constexpr hyper_ellipse (fixed_size_vec< NumDimensions > auto const &center, fixed_size_quadratic_mat< NumDimensions > auto const &S)
 Sets up a sphere with specified radius and origin point. More...
 
constexpr hyper_ellipse (vec_type const &center, arithmetic auto const ... radii)
 Sets up a sphere with specified radii. More...
 
constexpr hyper_ellipse (arithmetic auto const ... radii)
 Sets up a sphere with specified radii. More...
 
constexpr hyper_ellipse (fixed_size_vec< NumDimensions > auto const &...points)
 Fits an ellipse through specified points. More...
 
constexpr hyper_ellipse (fixed_size_quadratic_mat< NumDimensions > auto const &H)
 Fits an ellipse through specified points. More...
 
constexpr auto operator= (hyper_ellipse const &) -> hyper_ellipse &=default
 
constexpr auto operator= (hyper_ellipse &&) noexcept -> hyper_ellipse &=default
 
 ~hyper_ellipse ()=default
 
auto S () const -> auto const &
 
auto S () -> auto &
 
auto center () const -> auto const &
 
auto center () -> auto &
 
auto center (std::size_t const i) const
 
auto center (std::size_t const i) -> auto &
 
auto local_coordinate (pos_type const &x) const
 
auto squared_euclidean_distance_to_center (pos_type const &x) const
 
auto euclidean_distance_to_center (pos_type const &x) const
 
auto squared_local_euclidean_distance_to_center (pos_type const &x) const
 
auto local_distance_to_center (pos_type const &x) const
 
constexpr auto distance_to_boundary (pos_type const &x) const
 Computes euclidean distance to nearest boundary point. More...
 
auto local_nearest_point_boundary (pos_type const &x) const
 
auto nearest_point_boundary (pos_type const &x) const
 
constexpr auto fit (fixed_size_vec< NumDimensions > auto const &...points)
 Fits an ellipse through specified points. More...
 
constexpr auto fit (fixed_size_quadratic_mat< NumDimensions > auto const &H)
 
constexpr auto nearest_point_on_boundary (base_tensor< V, VReal, NumDimensions > const &x) const
 
constexpr auto is_inside (pos_type const &x) const
 
auto discretize (std::size_t const num_vertices=32) const
 
auto discretize (std::size_t const num_subdivisions=2) const
 
auto main_axes () const
 
auto radii () const
 Returns a the radii of the hyper ellipse as a vector. More...
 
auto base_coordinate_system () const
 Returns a the radii of the hyper ellipse as a vector. More...
 
- Static Public Member Functions inherited from tatooine::geometry::hyper_ellipse< Real, 3 >
static auto constexpr num_dimensions ()
 

Member Typedef Documentation

◆ parent_type

template<floating_point Real>
using tatooine::geometry::ellipsoid< Real >::parent_type = hyper_ellipse<Real, 3>

◆ this_type

template<floating_point Real>
using tatooine::geometry::ellipsoid< Real >::this_type = ellipsoid

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