translate then scale float-to-int coordinate converter More...
#include <MRMesh/MRPrecisePredicates3.h>
Public Member Functions | |
| int | scaleOnly (double v) const |
| applies scaling only (without translation) with the following rounding to the nearest int | |
| Vector3i | operator() (const Vector3d &p) const |
| double-to-int coordinates converter | |
| Vector3i | operator() (const Vector3f &p) const |
| float-to-int coordinates converter | |
Public Attributes | |
| Vector3d | center |
| double | invRange = 1 |
translate then scale float-to-int coordinate converter