Numworks Epsilon  1.4.1
Graphing Calculator Operating System
KDPoint Class Reference

#include <point.h>

Public Member Functions

constexpr KDPoint (KDCoordinate x, KDCoordinate y)
 
KDCoordinate x () const
 
KDCoordinate y () const
 
KDPoint translatedBy (KDPoint other) const
 
KDPoint opposite () const
 
bool operator== (const KDPoint &other) const
 
bool operator!= (const KDPoint &other) const
 

Detailed Description

Definition at line 6 of file point.h.

Constructor & Destructor Documentation

◆ KDPoint()

constexpr KDPoint::KDPoint ( KDCoordinate  x,
KDCoordinate  y 
)
inline

Definition at line 8 of file point.h.

Member Function Documentation

◆ operator!=()

bool KDPoint::operator!= ( const KDPoint other) const
inline

Definition at line 17 of file point.h.

◆ operator==()

bool KDPoint::operator== ( const KDPoint other) const
inline

Definition at line 14 of file point.h.

◆ opposite()

KDPoint KDPoint::opposite ( ) const

Definition at line 7 of file point.cpp.

◆ translatedBy()

KDPoint KDPoint::translatedBy ( KDPoint  other) const

Definition at line 3 of file point.cpp.

◆ x()

KDCoordinate KDPoint::x ( ) const
inline

Definition at line 10 of file point.h.

◆ y()

KDCoordinate KDPoint::y ( ) const
inline

Definition at line 11 of file point.h.


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