zenilib: Zeni::Point3i Class Reference

zenilib 0.5.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
Zeni::Point3i Class Reference
Zenilib

A 3D Point represented with integers. More...

`#include <Coordinate.h>`

## Public Member Functions

| Point3i ()
| Point3i (const int &x_, const int &y_, const int &z_)
| Point3i (const Point2i &rhs)
| z is set to 0 More...
| Point3i (const Point2f &rhs)
| z is set to 0 More...
| Point3i (const Point3f &rhs)
Point3i | interpolate_to (const float &rhs_part, const Point3i &rhs) const
| Get a point inbetween this point and another point of the same type. More...

## Public Attributes

Sint32 | x
Sint32 | y
Sint32 | z

## Detailed Description

A 3D Point represented with integers.

Note
  Point3f is often a better choice.

Author
  bazald

Contact: bazal.nosp@m.d@ze.nosp@m.nipex.nosp@m..com

Definition at line 121 of file Coordinate.h.

## Constructor & Destructor Documentation

Zeni::Point3i::Point3i | ( |  | ) |

inline

Definition at line 108 of file Coordinate.hxx.

Referenced by interpolate_to().

Zeni::Point3i::Point3i | ( | const int & | x_,
|  | const int & | y_,
|  | const int & | z_
| ) |  |

inline

Definition at line 113 of file Coordinate.hxx.

Zeni::Point3i::Point3i | ( | const Point2i & | rhs | ) |

inlineexplicit

z is set to 0

Definition at line 118 of file Coordinate.hxx.

Zeni::Point3i::Point3i | ( | const Point2f & | rhs | ) |

inlineexplicit

z is set to 0

Definition at line 123 of file Coordinate.hxx.

Zeni::Point3i::Point3i | ( | const Point3f & | rhs | ) |

inlineexplicit

Definition at line 128 of file Coordinate.hxx.

## Member Function Documentation

Point3i Zeni::Point3i::interpolate_to | ( | const float & | rhs_part,
|  | const Point3i & | rhs
| ) |  | const

Get a point inbetween this point and another point of the same type.

Definition at line 34 of file Coordinate.cpp.

References Point3i(), x, y, and z.

## Member Data Documentation

Sint32 Zeni::Point3i::x

Definition at line 130 of file Coordinate.h.

Referenced by interpolate_to(), Zeni::serialize(), and Zeni::unserialize().

Sint32 Zeni::Point3i::y

Definition at line 130 of file Coordinate.h.

Referenced by interpolate_to(), Zeni::serialize(), and Zeni::unserialize().

Sint32 Zeni::Point3i::z

Definition at line 130 of file Coordinate.h.

Referenced by interpolate_to(), Zeni::serialize(), and Zeni::unserialize().

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

- zenilib/jni/external/zenilib/zeni/Zeni/Coordinate.h
- zenilib/jni/external/zenilib/zeni/Coordinate.cpp
- zenilib/jni/external/zenilib/zeni/Zeni/Coordinate.hxx