ooc::Point Class Reference

`#include <PointCloudAPI.h>`

## Public Member Functions

Point operator* (float scale) const

Point operator+ (Point const &other) const

Point operator- (Point const &other) const

Point operator/ (float scale) const

Point ()

Point (float x, float y, float z)

float x

float y

float z

## Detailed Description

A generic point class for storing coordinate information.

## ◆ Point() [1/2]

 ooc::Point::Point ( )
inline

Constructs a point at the coordinate system origin

## ◆ Point() [2/2]

 ooc::Point::Point ( float x, float y, float z )
inline

Constructs a point

Parameters
 x x-coordinate of point y y-coordinate of point z z-coordinate of point

## ◆ operator*()

 Point ooc::Point::operator* ( float scale ) const
inline

Multiplies scalar with this point

Parameters
 scale The scalar to multiply with this point

## ◆ operator+()

 Point ooc::Point::operator+ ( Point const & other ) const
inline

Adds this point to parameter other

Parameters
 other The point to add this point to

References x, y, and z.

## ◆ operator-()

 Point ooc::Point::operator- ( Point const & other ) const
inline

Subtracts parameter point from this point

Parameters
 other The point to subtract from this point

References x, y, and z.

## ◆ operator/()

 Point ooc::Point::operator/ ( float scale ) const
inline

Divides scalar with this point

Parameters
 scale The scalar to divide with this point

## ◆ x

 float ooc::Point::x

x component of point

Referenced by operator+(), and operator-().

## ◆ y

 float ooc::Point::y

y component of point

Referenced by operator+(), and operator-().

## ◆ z

 float ooc::Point::z

z component of point

Referenced by operator+(), and operator-().

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