#include "kipr/export/export.h"
Go to the source code of this file.
Classes | |
struct | point2 |
A 2D point; has x and y. More... | |
struct | point3 |
A 3D point; has x, y, and z. More... | |
struct | rectangle |
A rectangle object. More... | |
Typedefs | |
typedef struct point2 | point2 |
A 2D point; has x and y. More... | |
typedef struct point3 | point3 |
A 3D point; has x, y, and z. More... | |
typedef struct rectangle | rectangle |
A rectangle object. More... | |
Functions | |
EXPORT_SYM point2 | create_point2 (int x, int y) |
Create a point2 object. More... | |
EXPORT_SYM point3 | create_point3 (int x, int y, int z) |
Create a point3 object. More... | |
EXPORT_SYM rectangle | create_rectangle (int ulx, int uly, int width, int height) |
Create a rectangle object. More... | |
EXPORT_SYM point2 create_point2 | ( | int | x, |
int | y | ||
) |
Create a point2 object.
x | - the x value of the point |
y | - the y value of the point |
Referenced by kipr::geometry::Point2< T >::toCPoint2().
EXPORT_SYM point3 create_point3 | ( | int | x, |
int | y, | ||
int | z | ||
) |
Create a point3 object.
x | - the x value of the point |
y | - the y value of the point |
z | - the z value of the point |
Referenced by kipr::geometry::Point3< T >::toCPoint3().
EXPORT_SYM rectangle create_rectangle | ( | int | ulx, |
int | uly, | ||
int | width, | ||
int | height | ||
) |
Create a rectangle object.
ulx | - the x value of the rectangle's upper left |
uly | - the y value of the rectangle's upper left |
width | - the width of the rectangle |
height | - the height of the rectangle |
Referenced by kipr::geometry::Rect< T >::toCRectangle().