Corentin Chauvin-Hameau – 2019-2020
Coverage Path Planning for an underwater robot surveying a marine farm
Public Member Functions | Public Attributes | List of all members
mfcpp::PerlinNoiseGenerator::Vec2d Struct Reference

Two dimensional vector. More...

Public Member Functions

 Vec2d ()
 
 Vec2d (float _x, float _y)
 
void operator= (const Vec2d &a)
 
float norm2 ()
 Computes the square of the euclidean norm of the vector. More...
 
float norm ()
 Computes the euclidean norm of the vector. More...
 

Public Attributes

float x
 First coordinate. More...
 
float y
 Second coordinate. More...
 

Detailed Description

Two dimensional vector.

Definition at line 90 of file perlin_noise.hpp.

Constructor & Destructor Documentation

mfcpp::PerlinNoiseGenerator::Vec2d::Vec2d ( )

Definition at line 19 of file perlin_noise.cpp.

mfcpp::PerlinNoiseGenerator::Vec2d::Vec2d ( float  _x,
float  _y 
)

Definition at line 26 of file perlin_noise.cpp.

Member Function Documentation

float mfcpp::PerlinNoiseGenerator::Vec2d::norm ( )

Computes the euclidean norm of the vector.

Returns
Euclidean norm of the vector

Definition at line 46 of file perlin_noise.cpp.

float mfcpp::PerlinNoiseGenerator::Vec2d::norm2 ( )

Computes the square of the euclidean norm of the vector.

Returns
Square of the euclidean norm of the vector

Definition at line 40 of file perlin_noise.cpp.

void mfcpp::PerlinNoiseGenerator::Vec2d::operator= ( const Vec2d a)

Definition at line 33 of file perlin_noise.cpp.

Member Data Documentation

float mfcpp::PerlinNoiseGenerator::Vec2d::x

First coordinate.

Definition at line 91 of file perlin_noise.hpp.

float mfcpp::PerlinNoiseGenerator::Vec2d::y

Second coordinate.

Definition at line 92 of file perlin_noise.hpp.


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