C++ Java Unity
C++ Reference
Area Class Referenceabstract

Detailed Description

Base class for any 2D shapes used in Vuforia.

Inheritance diagram for Area:
Rectangle RectangleInt

Public Types

enum  TYPE {
  RECTANGLE,
  RECTANGLE_INT,
  INVALID
}
 The types of area that a given instance of Area can represent. More...
 

Public Member Functions

virtual TYPE getType () const =0
 Get the TYPE of area this instance represents. More...
 
virtual ~Area ()
 

Member Enumeration Documentation

enum TYPE

The types of area that a given instance of Area can represent.

Enumerator
RECTANGLE 

A rectangle expressed in real (floating point) coordinates.

RECTANGLE_INT 

A rectangle expressed in integer coordinates.

INVALID 

Constructor & Destructor Documentation

virtual ~Area ( )
virtual

Member Function Documentation

virtual TYPE getType ( ) const
pure virtual

Get the TYPE of area this instance represents.

Implemented in RectangleInt, and Rectangle.