scenario_simulator_v2 C++ API
Public Member Functions | Public Attributes | List of all members
math::geometry::Plane Class Reference

Represents a plane in 3D space, defined by a normal vector and a point on the plane. More...

#include <plane.hpp>

Public Member Functions

 Plane (const geometry_msgs::msg::Point &point, const geometry_msgs::msg::Vector3 &normal)
 
auto offset (const geometry_msgs::msg::Point &point) const -> double
 

Public Attributes

const geometry_msgs::msg::Vector3 normal_
 
const double d_
 

Detailed Description

Represents a plane in 3D space, defined by a normal vector and a point on the plane.

The plane is described using the equation: Ax + By + Cz + D = 0 where:

Constructor & Destructor Documentation

◆ Plane()

math::geometry::Plane::Plane ( const geometry_msgs::msg::Point &  point,
const geometry_msgs::msg::Vector3 &  normal 
)

Member Function Documentation

◆ offset()

auto math::geometry::Plane::offset ( const geometry_msgs::msg::Point &  point) const -> double

Member Data Documentation

◆ d_

const double math::geometry::Plane::d_

◆ normal_

const geometry_msgs::msg::Vector3 math::geometry::Plane::normal_

The documentation for this class was generated from the following files: