libimgdoc2
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
imgdoc2::PointT< t > Struct Template Reference

#include <types.h>

Public Member Functions

 PointT ()
 Default constructor which sets all properties to zero.
 
 PointT (t x, t y)
 

Public Attributes

x
 The x-coordinate of the point.
 
y
 The y-coordinate of the point.
 

Detailed Description

template<typename t>
struct imgdoc2::PointT< t >

Structure defining a point in two dimensions.

Template Parameters
tGeneric type parameter.

Constructor & Destructor Documentation

◆ PointT()

template<typename t >
imgdoc2::PointT< t >::PointT ( x,
y 
)
inline

Constructor

Parameters
xThe x-coordinate of the point.
yThe y-coordinate of the point.

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