CCCoreLib 31 May 2022
CloudCompare Core algorithms
Public Member Functions | Public Attributes | List of all members
CCCoreLib::PointProjectionTools::Transformation Struct Reference

A scaled geometrical transformation (scale + rotation + translation) More...

#include <PointProjectionTools.h>

Collaboration diagram for CCCoreLib::PointProjectionTools::Transformation:
Collaboration graph
[legend]

Public Member Functions

 Transformation ()
 Default constructor.
 
CCVector3d apply (const CCVector3d &P) const
 Applies the transformation to a point.
 
CCVector3 apply (const CCVector3 &P) const
 Applies the transformation to a point.
 
CC_CORE_LIB_API void apply (GenericIndexedCloudPersist &cloud) const
 Applies the transformation to a cloud. More...
 

Public Attributes

SquareMatrixd R
 Rotation.
 
CCVector3d T
 Translation.
 
double s
 Scale.
 

Detailed Description

A scaled geometrical transformation (scale + rotation + translation)

P' = s.R.P + T

Member Function Documentation

◆ apply()

void PointProjectionTools::Transformation::apply ( GenericIndexedCloudPersist cloud) const

Applies the transformation to a cloud.

Warning
THIS METHOD IS NOT COMPATIBLE WITH PARALLEL STRATEGIES
The caller should invalidate the bounding-box manually afterwards

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