Gin
Public Member Functions | Public Attributes | List of all members
Point< T > Class Template Reference

Like the juce::Point, useful for project that don't use juce_graphics. More...

Public Member Functions

 Point ()=default
 
 Point (T x_, T y_)
 
getX ()
 
getY ()
 

Public Attributes

x = T (0)
 
y = T (0)
 

Detailed Description

template<typename T>
class Point< T >

Like the juce::Point, useful for project that don't use juce_graphics.

Constructor & Destructor Documentation

◆ Point() [1/2]

template<typename T >
Point< T >::Point ( )
default

◆ Point() [2/2]

template<typename T >
Point< T >::Point ( x_,
y_ 
)

References Point< T >::x, and Point< T >::y.

Member Function Documentation

◆ getX()

template<typename T >
T Point< T >::getX ( )

◆ getY()

template<typename T >
T Point< T >::getY ( )

Member Data Documentation

◆ x

template<typename T >
T Point< T >::x = T (0)

◆ y

template<typename T >
T Point< T >::y = T (0)

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