A struct defining the properties of a plane. More...
#include </home/thodoris/src/ompl/demos/multicopter/CommonMath/ConvexObj.h>
Public Member Functions | |
| Boundary (Vec3 p, Vec3 n) | |
| Constructor. | |
| Boundary () | |
| Default constructor. | |
Public Attributes | |
| Vec3 | point |
| A point on the plane. | |
| Vec3 | normal |
| A unit vector normal to the plane. | |
Detailed Description
A struct defining the properties of a plane.
The plane is defined by a point on the plane and a unit vector normal to the plane.
Definition at line 30 of file ConvexObj.h.
Constructor & Destructor Documentation
◆ Boundary() [1/2]
Constructor.
Note that no check is performed to ensure that the provided unit normal is actually a unit vector. We leave this to the user.
- Parameters
-
p A point on the plane n A unit vector normal to the plane
Definition at line 40 of file ConvexObj.h.
◆ Boundary() [2/2]
|
inline |
Default constructor.
Initializes the point and unit normal vectors using the default Vec3 constructor, which initializes each component to NaN.
Definition at line 51 of file ConvexObj.h.
Member Data Documentation
◆ normal
| Vec3 CommonMath::Boundary::normal |
A unit vector normal to the plane.
Definition at line 56 of file ConvexObj.h.
◆ point
| Vec3 CommonMath::Boundary::point |
A point on the plane.
Definition at line 55 of file ConvexObj.h.
The documentation for this struct was generated from the following file:
- demos/multicopter/CommonMath/ConvexObj.h