PCL
|
Functions | |
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 |
|
inlinenoexcept |
Returns the distance between two points p1 and p2 in the plane.
Definition at line 1348 of file Point.h.
References pcl::Sqrt().
|
inlinenoexcept |
Returns the Manhattan distance between two points p1 and p2 in the plane.
Definition at line 1361 of file Point.h.
References pcl::Abs().
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Multiplies a scalar d1 by a point p2, and returns the resulting product point.
Point multiplication is a commutative operation, thus see pcl::operator *( const GenericPoint<T>&, T ).
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Adds a scalar d1 and a point p2, and returns the resulting sum point.
Point addition is a commutative operation, thus see pcl::operator +( const GenericPoint<T>&, T ).
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Rotates a point in the plane, given a rotation angle and a rotation center point.
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.
|
inlinenoexcept |
Rotates a point in the plane, given a rotation angle and the coordinates of a center of rotation.
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.
|
inlinenoexcept |
Rotates a point in the plane, given a rotation angle by its sine and cosine, and a rotation center point.
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().
|
inlinenoexcept |
Rotates a point in the plane, given a rotation angle by its sine and cosine, and the coordinates of a center of rotation.
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().
|
inlinenoexcept |
Exchanges two points p1 and p2 in the plane. Calling this function is equivalent to:
Definition at line 1459 of file Point.h.
Referenced by pcl::Histogram::Count(), pcl::Histogram::GetData(), pcl::Rotate90CW::GetNewSizes(), pcl::Rotate90CCW::GetNewSizes(), pcl::GenericRectangle< T >::Intersect(), pcl::Histogram::PeakCount(), pcl::PolarTransformBase::SetFinalRotation(), pcl::PolarTransformBase::SetInitialRotation(), pcl::AbstractImage::SetRangeClipHigh(), pcl::AbstractImage::SetRangeClipLow(), pcl::AbstractImage::SetRangeClipping(), pcl::PolarTransformBase::SetRotationRange(), pcl::Swap(), pcl::GenericString< T, R, A >::Swap(), pcl::ParallelProcess::Swap(), and pcl::GenericRectangle< T >::Unite().