Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
Aspect_Touch Class Reference

Structure holding touch position - original and current location. More...

#include <Aspect_Touch.hxx>

Public Member Functions

NCollection_Vec2< doubleDelta () const
 Return values delta.
 
 Aspect_Touch ()
 Empty constructor.
 
 Aspect_Touch (const NCollection_Vec2< double > &thePnt, bool theIsPreciseDevice)
 Constructor with initialization.
 
 Aspect_Touch (double theX, double theY, bool theIsPreciseDevice)
 Constructor with initialization.
 

Data Fields

NCollection_Vec2< doubleFrom
 original touch position
 
NCollection_Vec2< doubleTo
 current touch position
 
bool IsPreciseDevice
 precise device input (e.g. mouse cursor, NOT emulated from touch screen)
 

Detailed Description

Structure holding touch position - original and current location.

Constructor & Destructor Documentation

◆ Aspect_Touch() [1/3]

Aspect_Touch::Aspect_Touch ( )
inline

Empty constructor.

◆ Aspect_Touch() [2/3]

Aspect_Touch::Aspect_Touch ( const NCollection_Vec2< double > & thePnt,
bool theIsPreciseDevice )
inline

Constructor with initialization.

◆ Aspect_Touch() [3/3]

Aspect_Touch::Aspect_Touch ( double theX,
double theY,
bool theIsPreciseDevice )
inline

Constructor with initialization.

Member Function Documentation

◆ Delta()

NCollection_Vec2< double > Aspect_Touch::Delta ( ) const
inline

Return values delta.

Field Documentation

◆ From

NCollection_Vec2<double> Aspect_Touch::From

original touch position

◆ IsPreciseDevice

bool Aspect_Touch::IsPreciseDevice

precise device input (e.g. mouse cursor, NOT emulated from touch screen)

◆ To

NCollection_Vec2<double> Aspect_Touch::To

current touch position


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