Native Client

point.h File Reference

This file defines the API to create a 2 dimensional point. More...

Include dependency graph for point.h:
This graph shows which files directly or indirectly include this file:

Classes

class  pp::Point
 A 2 dimensional point with 0,0 being the upper-left starting coordinate. More...
class  pp::FloatPoint
 A 2 dimensional floating-point point with 0,0 being the upper-left starting coordinate. More...

Namespaces

namespace  pp

Functions

bool operator== (const pp::Point &lhs, const pp::Point &rhs)
bool operator!= (const pp::Point &lhs, const pp::Point &rhs)
bool operator== (const pp::FloatPoint &lhs, const pp::FloatPoint &rhs)
bool operator!= (const pp::FloatPoint &lhs, const pp::FloatPoint &rhs)

Detailed Description

This file defines the API to create a 2 dimensional point.


Function Details

bool operator!= ( const pp::Point lhs,
const pp::Point rhs 
) [inline]

Determines whether two Points have different coordinates.

Parameters:
[in]lhsThe Point on the left-hand side of the equation.
[in]rhsThe Point on the right-hand side of the equation.
Returns:
true if the coordinates of lhs are equal to the coordinates of rhs, otherwise false.
bool operator!= ( const pp::FloatPoint lhs,
const pp::FloatPoint rhs 
) [inline]

Determines whether two Points have different coordinates.

Parameters:
[in]lhsThe Point on the left-hand side of the equation.
[in]rhsThe Point on the right-hand side of the equation.
Returns:
true if the coordinates of lhs are equal to the coordinates of rhs, otherwise false.
bool operator== ( const pp::FloatPoint lhs,
const pp::FloatPoint rhs 
) [inline]

Determines whether the x and y values of two FloatPoints are equal.

Parameters:
[in]lhsThe Point on the left-hand side of the equation.
[in]rhsThe Point on the right-hand side of the equation.
Returns:
true if they are equal, false if unequal.
bool operator== ( const pp::Point lhs,
const pp::Point rhs 
) [inline]

Determines whether the x and y values of two Points are equal.

Parameters:
[in]lhsThe Point on the left-hand side of the equation.
[in]rhsThe Point on the right-hand side of the equation.
Returns:
true if they are equal, false if unequal.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.