occ
Loading...
Searching...
No Matches
occ::qm::GridBoundingSphere Struct Reference

Bounding sphere for a group of grid points. More...

#include <spatial_grid_hierarchy.h>

Public Member Functions

bool may_overlap (double distance_to_center, double point_extent) const
 Check if a point at given distance from center could be within sphere.
 

Public Attributes

Vec3 center {0.0, 0.0, 0.0}
 
double radius {0.0}
 

Detailed Description

Bounding sphere for a group of grid points.

Member Function Documentation

◆ may_overlap()

bool occ::qm::GridBoundingSphere::may_overlap ( double  distance_to_center,
double  point_extent 
) const
inline

Check if a point at given distance from center could be within sphere.

Member Data Documentation

◆ center

Vec3 occ::qm::GridBoundingSphere::center {0.0, 0.0, 0.0}

◆ radius

double occ::qm::GridBoundingSphere::radius {0.0}

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