|
template<typename T > |
double | pcl::Distance (const GenericPoint< T > &p1, const GenericPoint< T > &p2) noexcept |
|
template<typename T1 , typename T2 > |
double | pcl::ManhattanDistance (const GenericPoint< T1 > &p1, const GenericPoint< T2 > &p2) noexcept |
|
template<typename T > |
GenericPoint< T > | pcl::operator* (const GenericPoint< T > &p1, T d2) noexcept |
|
template<typename T1 , typename T2 > |
GenericPoint< T1 > | pcl::operator* (const GenericPoint< T1 > &p1, const GenericPoint< T2 > &p2) noexcept |
|
template<typename T > |
GenericPoint< T > | pcl::operator* (T d1, const GenericPoint< T > &p2) noexcept |
|
template<typename T > |
GenericPoint< T > | pcl::operator+ (const GenericPoint< T > &p1, T d2) noexcept |
|
template<typename T1 , typename T2 > |
GenericPoint< T1 > | pcl::operator+ (const GenericPoint< T1 > &p1, const GenericPoint< T2 > &p2) noexcept |
|
template<typename T > |
GenericPoint< T > | pcl::operator+ (T d1, const GenericPoint< T > &p2) noexcept |
|
template<typename T > |
GenericPoint< T > | pcl::operator- (const GenericPoint< T > &p1, T d2) noexcept |
|
template<typename T1 , typename T2 > |
GenericPoint< T1 > | pcl::operator- (const GenericPoint< T1 > &p1, const GenericPoint< T2 > &p2) noexcept |
|
template<typename T > |
GenericPoint< T > | pcl::operator- (T d1, const GenericPoint< T > &p2) noexcept |
|
template<typename T > |
GenericPoint< T > | pcl::operator/ (const GenericPoint< T > &p1, T d2) noexcept |
|
template<typename T1 , typename T2 > |
GenericPoint< T1 > | pcl::operator/ (const GenericPoint< T1 > &p1, const GenericPoint< T2 > &p2) noexcept |
|
template<typename T > |
GenericPoint< T > | pcl::operator/ (T d1, const GenericPoint< T > &p2) noexcept |
|
template<typename T > |
bool | pcl::operator< (const GenericPoint< T > &p1, T d2) noexcept |
|
template<typename T1 , typename T2 > |
bool | pcl::operator< (const GenericPoint< T1 > &p1, const GenericPoint< T2 > &p2) noexcept |
|
template<typename T > |
bool | pcl::operator< (T d1, const GenericPoint< T > &p2) noexcept |
|
template<typename T > |
bool | pcl::operator== (const GenericPoint< T > &p1, T d2) noexcept |
|
template<typename T1 , typename T2 > |
bool | pcl::operator== (const GenericPoint< T1 > &p1, const GenericPoint< T2 > &p2) noexcept |
|
template<typename T > |
bool | pcl::operator== (T d1, const GenericPoint< T > &p2) noexcept |
|
template<typename T , typename T1 , typename T2 > |
void | pcl::Rotate (GenericPoint< T > &p, T1 a, const GenericPoint< T2 > &c) noexcept |
|
template<typename T , typename T1 , typename T2 > |
void | pcl::Rotate (GenericPoint< T > &p, T1 a, T2 xc, T2 yc) noexcept |
|
template<typename T , typename T1 , typename T2 > |
void | pcl::Rotate (GenericPoint< T > &p, T1 sa, T1 ca, const GenericPoint< T2 > &c) noexcept |
|
template<typename T , typename T1 , typename T2 > |
void | pcl::Rotate (GenericPoint< T > &p, T1 sa, T1 ca, T2 xc, T2 yc) noexcept |
|
template<typename T > |
void | pcl::Swap (GenericPoint< T > &p1, GenericPoint< T > &p2) noexcept |
|
Multiplies a point p1 by a scalar d2, and returns the resulting product point.
Given a point p in the plane and a scalar d, the product point P = p * d is given by:
P.x = p.x * d
P.y = p.y * d
Definition at line 1264 of file Point.h.
template<typename T1 , typename T2 >
Multiplies two points p1 and p2, and returns the resulting product point.
Point multiplication consists in multiplying homonym coordinates. Given two points p and q in the plane, the product point P = p * q is given by:
P.x = p.x * q.x
P.y = p.y * q.y
Definition at line 1246 of file Point.h.
template<typename T1 , typename T2 >
Adds two points p1 and p2, and returns the resulting sum point.
Point addition consists in adding homonym coordinates. Given two points p and q in the plane, the sum point s = p + q is given by:
s.x = p.x + q.x
s.y = p.y + q.y
Definition at line 1141 of file Point.h.
Subtracts a scalar d2 from a point p1, and returns the resulting difference point.
Given a point p in the plane and a scalar d, the difference point r = p - d is given by:
r.x = p.x - d
r.y = p.y - d
Definition at line 1209 of file Point.h.
template<typename T1 , typename T2 >
Subtracts two points p1 and p2, and returns the resulting difference point.
Point subtraction consists in subtracting homonym coordinates. Given two points p and q in the plane, the difference point r = p - q is given by:
r.x = p.x - q.x
r.y = p.y - q.y
Definition at line 1191 of file Point.h.
Subtracts a point p2 from a scalar d1, and returns the resulting difference point.
Given a point p in the plane and a scalar d, the difference point r = d - p is given by:
r.x = d - p.x
r.y = d - p.y
Definition at line 1227 of file Point.h.
template<typename T1 , typename T2 >
Divides two points p1 and p2, and returns the resulting quotient point.
Given two points p and q in the plane, the quotient point Q = p / q is given by:
Q.x = p.x / q.x
Q.y = p.y / q.y
Definition at line 1296 of file Point.h.
template<typename T1 , typename T2 >
Returns true iff a point p1 is less than another point p2.
Points in the plane are sorted by ordinates in PCL. Given two points p and q in the plane, it holds that:
p < q if p.y < q.y or p.y == q.y and p.x < q.x
Definition at line 1094 of file Point.h.
template<typename T , typename T1 , typename T2 >
Rotates a point in the plane, given a rotation angle and a rotation center point.
- Parameters
-
p | Reference to a point that will be rotated. |
a | Rotation angle in radians. Positive angles are measured counter-clockwise. |
c | Reference to a point that will be taken as the center of rotation. |
The coordinates p.x and p.y are replaced by their corresponding rotated values.
Definition at line 1403 of file Point.h.
template<typename T , typename T1 , typename T2 >
void pcl::Rotate |
( |
GenericPoint< T > & |
p, |
|
|
T1 |
a, |
|
|
T2 |
xc, |
|
|
T2 |
yc |
|
) |
| |
|
inlinenoexcept |
Rotates a point in the plane, given a rotation angle and the coordinates of a center of rotation.
- Parameters
-
p | Reference to a point that will be rotated. |
a | Rotation angle in radians. Positive angles are measured counter-clockwise. |
xc | Abscissa (x coordinate) of the center of rotation. |
yc | Ordinate (y coordinate) of the center of rotation. |
The coordinates p.x and p.y are replaced by their corresponding rotated values.
Definition at line 1382 of file Point.h.
template<typename T , typename T1 , typename T2 >
Rotates a point in the plane, given a rotation angle by its sine and cosine, and a rotation center point.
- Parameters
-
p | Reference to a point that will be rotated. |
sa | Sine of the rotation angle. |
ca | Cosine of the rotation angle. |
c | Reference to a point that will be taken as the center of rotation. |
The coordinates p.x and p.y are replaced by their corresponding rotated values.
Definition at line 1445 of file Point.h.
References pcl::Rotate().
template<typename T , typename T1 , typename T2 >
void pcl::Rotate |
( |
GenericPoint< T > & |
p, |
|
|
T1 |
sa, |
|
|
T1 |
ca, |
|
|
T2 |
xc, |
|
|
T2 |
yc |
|
) |
| |
|
inlinenoexcept |
Rotates a point in the plane, given a rotation angle by its sine and cosine, and the coordinates of a center of rotation.
- Parameters
-
p | Reference to a point that will be rotated. |
sa | Sine of the rotation angle. |
ca | Cosine of the rotation angle. |
xc | Abscissa (x coordinate) of the center of rotation. |
yc | Ordinate (y coordinate) of the center of rotation. |
The coordinates p.x and p.y are replaced by their corresponding rotated values.
Definition at line 1424 of file Point.h.
References pcl::Rotate().