![]() |
Mako 8.2.0 API
MakoCore SDK API Documentation
|
Geometry primitives including: point, rectangle and matrix types supporting both integer and floating point values within. More...
#include <edl/edlgeom.h>
Public Member Functions | |
| PointTmpl () | |
| PointTmpl (PointType ax, PointType ay) | |
| PointTmpl (const PointTmpl< PointType > &p)=default | |
| PointTmpl (PointTmpl< PointType > &&p)=default | |
| PointTmpl< PointType > & | operator= (const PointTmpl< PointType > &other)=default |
| PointTmpl< PointType > & | operator+= (const PointTmpl< PointType > &pt) |
| bool | equal (const PointTmpl &point) const |
| bool | operator== (const PointTmpl &point) const |
| bool | operator!= (const PointTmpl &point) const |
| PointTmpl< PointType > | getMidPoint (const PointTmpl< PointType > &pt) const |
| Find the mid-point between this and another point. | |
| double | getDistance (const PointTmpl< PointType > &pt) const |
| Find the distance to another point. | |
Public Attributes | |
| PointType | x |
| PointType | y |
Geometry primitives including: point, rectangle and matrix types supporting both integer and floating point values within.
Template for a point specified with X and Y coordinates
|
inline |
|
inline |
|
default |
|
default |
|
inline |
|
inline |
Find the distance to another point.
| pt | The other point. |
|
inline |
Find the mid-point between this and another point.
| pt | The other point. |
|
inline |
|
inline |
|
default |
|
inline |
| PointType PointTmpl< PointType >::x |
| PointType PointTmpl< PointType >::y |