MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::ConvertToIntVector Struct Reference

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

Detailed Description

translate then scale float-to-int coordinate converter


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