Adafruit STMPE610 Arduino Library
Public Member Functions | Public Attributes | List of all members
TS_Point Class Reference

Class for working with points. More...

#include <Adafruit_STMPE610.h>

Public Member Functions

 TS_Point ()
 TS_Point constructor.
 
 TS_Point (int16_t x, int16_t y, int16_t z)
 TS_Point constructor. More...
 
bool operator== (TS_Point)
 Equality operator for TS_Point. More...
 
bool operator!= (TS_Point)
 Non-equality operator for TS_Point. More...
 

Public Attributes

int16_t x
 
int16_t y
 
int16_t z
 

Detailed Description

Class for working with points.

Constructor & Destructor Documentation

◆ TS_Point()

TS_Point::TS_Point ( int16_t  x0,
int16_t  y0,
int16_t  z0 
)

TS_Point constructor.

Parameters
x0Initial x
y0Initial y
z0Initial z

Member Function Documentation

◆ operator==()

bool TS_Point::operator== ( TS_Point  p1)

Equality operator for TS_Point.

Returns
True if points are equal

◆ operator!=()

bool TS_Point::operator!= ( TS_Point  p1)

Non-equality operator for TS_Point.

Returns
True if points are not equal

Member Data Documentation

◆ x

int16_t TS_Point::x

x coordinate

◆ y

int16_t TS_Point::y

y coordinate

◆ z

int16_t TS_Point::z

z coordinate


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