SPH
Classes | Functions
Point.h File Reference

Simple 2D vector with integer coordinates. Provides conversion from and to wxPoint. More...

#include "math/MathUtils.h"
#include "objects/Object.h"
#include <wx/gdicmn.h>

Go to the source code of this file.

Classes

struct  BasicPoint< T, TDerived >
 
struct  Pixel
 
struct  Coords
 

Functions

template<typename T , typename TDerived >
INLINE float getLength (const BasicPoint< T, TDerived > &p)
 

Detailed Description

Simple 2D vector with integer coordinates. Provides conversion from and to wxPoint.

Author
Pavel Sevecek (sevecek at sirrah.troja.mff.cuni.cz)
Date
2016-2021

Definition in file Point.h.

Function Documentation

◆ getLength()

template<typename T , typename TDerived >
INLINE float getLength ( const BasicPoint< T, TDerived > &  p)

Definition at line 152 of file Point.h.