Static Public Member Functions | List of all members
asv::Geometry Class Reference

A collection of static methods concerning linear geometry. More...

#include <Geometry.hh>

Static Public Member Functions

static ignition::math::Vector3d Normal (const ignition::math::Vector3d &_v0, const ignition::math::Vector3d &_v1, const ignition::math::Vector3d &_v2)
 Compute the (normalised) normal to the plane defined by a triangle. More...
 
static ignition::math::Vector2d Normalize (const ignition::math::Vector2d &_v)
 Normalise a Vector2 (i.e. ensure it has unit length) More...
 
static ignition::math::Vector3d Normalize (const ignition::math::Vector3d &_v)
 Normalise a Vector3 (i.e. ensure it has unit length) More...
 

Detailed Description

A collection of static methods concerning linear geometry.

Definition at line 34 of file Geometry.hh.

Member Function Documentation

ignition::math::Vector3d asv::Geometry::Normal ( const ignition::math::Vector3d &  _v0,
const ignition::math::Vector3d &  _v1,
const ignition::math::Vector3d &  _v2 
)
static

Compute the (normalised) normal to the plane defined by a triangle.

Parameters
[in]_p0Point at the first vertex.
[in]_p1Point at the second vertex.
[in]_p2Point at the third vertex.
Returns
The normal vector.

Definition at line 77 of file Geometry.cc.

ignition::math::Vector2d asv::Geometry::Normalize ( const ignition::math::Vector2d &  _v)
static

Normalise a Vector2 (i.e. ensure it has unit length)

Parameters
[in]_vThe vector to normalise.
Returns
The normalized vector.

Definition at line 58 of file Geometry.cc.

ignition::math::Vector3d asv::Geometry::Normalize ( const ignition::math::Vector3d &  _v)
static

Normalise a Vector3 (i.e. ensure it has unit length)

Parameters
[in]_vThe vector to normalise.
Returns
The normalized vector.

Definition at line 68 of file Geometry.cc.


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


wave_gazebo_plugins
Author(s): Rhys Mainwaring
autogenerated on Thu May 7 2020 03:54:44