SpatialQueryDescriptor::RegionType Struct Reference

Types supported by region queries. More...

#include "SpatialQueryDescriptor.hpp"

Public Types

enum  Type {
  window = 4, circle = 6, box = 5, sphere = 7,
  cylinder = 8, Count
}

Static Public Member Functions

static int getDim (Type type)
 dimensionality of regionType: 2-D, 3-D, or undefined==0

Detailed Description

Types supported by region queries.

Member Enumeration Documentation

enum Type
Enumerator:
window 

axis-aligned rectangle defined by 4 values (xmin, ymin, xmax, ymax)

circle 

circle defined by 1 value (radius)

box 

axis-aligned rectangular cuboid defined by 6 values (xmin, ymin, zmin, xmax, ymax, zmax)

sphere 

sphere defined by 1 value (radius)

cylinder 

cylinder defined by 3 values (radius, zmin, zmax)