OpenVDB: CPT< MapType, DiffScheme > Struct Template Reference

OpenVDB 10.0.1

Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
CPT< MapType, DiffScheme > Struct Template Reference

Compute the closest-point transform to a level set. More...

`#include <openvdb/math/Operators.h>`

## Static Public Member Functions
template<typename Accessor >
static math::Vec3< typename Accessor::ValueType > | result (const MapType &map, const Accessor &grid, const Coord &ijk)
template<typename StencilT >
static math::Vec3< typename StencilT::ValueType > | result (const MapType &map, const StencilT &stencil)

## Detailed Description

template<typename MapType, DScheme DiffScheme>
struct openvdb::v10_0::math::CPT< MapType, DiffScheme >

Compute the closest-point transform to a level set.

Returns
  the closest point to the surface from which the level set was derived, in the domain space of the map (e.g., voxel space).

## Member Function Documentation

## ◆ result() [1/2]

static math::Vec3< typename Accessor::ValueType > result | ( | const MapType & | map,
|  | const Accessor & | grid,
|  | const Coord & | ijk
| ) |  |
| inlinestatic

## ◆ result() [2/2]

static math::Vec3< typename StencilT::ValueType > result | ( | const MapType & | map,
|  | const StencilT & | stencil
| ) |  |
| inlinestatic