Program Listing for File dist2D_metrics.hpp

Return to documentation for file (cosm/spatial/metrics/dist2D_metrics.hpp)

#pragma once

/*******************************************************************************
 * Includes
 ******************************************************************************/
#include "rcppsw/math/vector2.hpp"
#include "rcppsw/metrics/base_metrics.hpp"
#include "rcppsw/rcppsw.hpp"
#include "rcppsw/math/radians.hpp"

/*******************************************************************************
 * Namespaces
 ******************************************************************************/
namespace cosm::spatial::metrics {

/******************************************************************************
 * Class Definitions
 ******************************************************************************/

class dist2D_metrics : public virtual rmetrics::base_metrics {
 public:
  dist2D_metrics(void) = default;

  virtual rmath::vector2d rpos2D(void) const = 0;

  virtual rmath::vector2z dpos2D(void) const = 0;

  virtual rmath::radians heading2D(void) const = 0;
};

} /* namespace cosm::spatial::metrics */