Skip to content

Class Point2

template <typename T>

ClassList > Point2

Public Types

Type Name
typedef Vector2< T > Coords
typedef T ElementType

Public Functions

Type Name
void Clear ()
T * Data ()
const T * Data () const
Point2 ()
Point2 (const T & x, const T & y)
Point2 (const Coords & v)
void Set (const T & x, const T & y)
Coords ToVector () const
bool aequal (const Point2 & p, double tolerance) const
Point2 & operator+= (const Coords & v)
Point2 & operator-= (const Coords & v)
const T & operator[] (std::size_t b) const
T & operator[] (std::size_t b)
void set_x (const T & x)
void set_y (const T & y)
const T & x () const
const T & y () const

Public Types Documentation

typedef Coords

typedef Vector2<T> Point2< T >::Coords;

typedef ElementType

typedef T Point2< T >::ElementType;

Public Functions Documentation

function Clear

inline void Point2::Clear () 

function Data [1/2]

inline T * Point2::Data () 

function Data [2/2]

inline const T * Point2::Data () const

function Point2 [1/3]

inline Point2::Point2 () 

function Point2 [2/3]

inline Point2::Point2 (
    const T & x,
    const T & y
) 

function Point2 [3/3]

inline explicit Point2::Point2 (
    const Coords & v
) 

function Set

inline void Point2::Set (
    const T & x,
    const T & y
) 

function ToVector

inline Coords Point2::ToVector () const

function aequal

inline bool Point2::aequal (
    const Point2 & p,
    double tolerance
) const

function operator+=

inline Point2 & Point2::operator+= (
    const Coords & v
) 

function operator-=

inline Point2 & Point2::operator-= (
    const Coords & v
) 

function operator[]

inline const T & Point2::operator[] (
    std::size_t b
) const

function operator[]

inline T & Point2::operator[] (
    std::size_t b
) 

function set_x

inline void Point2::set_x (
    const T & x
) 

function set_y

inline void Point2::set_y (
    const T & y
) 

function x

inline const T & Point2::x () const

function y

inline const T & Point2::y () const


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/mediapipe/framework/deps/point2.h