CFx SDK Documentation  2022 SP0
Public Member Functions | Protected Attributes | List of all members
OdGsSpatialQuery Class Reference

#include <GsSpatialQuery.h>

Public Member Functions

 OdGsSpatialQuery ()
 
const OdSiShapebuild (const OdGsViewImpl &view, const OdGeExtents3d &sceneExtents, int numPoints, const OdGePoint2d *points)
 
const OdSiShapebuild (const OdGsViewImpl &view, const OdGeExtents3d &sceneExtents, int numPoints=0, const OdGsDCPoint *points=0)
 
const OdSi::BBoxgetBBox () const
 

Protected Attributes

OdSi::BBox m_spqbox
 
OdSi::Volume m_spqvol
 

Detailed Description

Corresponding C++ library: TD_Gs

<group OdGs_Classes>

Definition at line 42 of file GsSpatialQuery.h.

Constructor & Destructor Documentation

◆ OdGsSpatialQuery()

OdGsSpatialQuery::OdGsSpatialQuery ( )
inline

Definition at line 45 of file GsSpatialQuery.h.

Member Function Documentation

◆ build() [1/2]

const OdSiShape& OdGsSpatialQuery::build ( const OdGsViewImpl view,
const OdGeExtents3d sceneExtents,
int  numPoints,
const OdGePoint2d points 
)

Builds a spatial query for the specified polygon in this view object.

Parameters
sceneExtents[in] Whole scene extents.
points[in] Array of points in eye coords.
numPoints[in] Number of points.

◆ build() [2/2]

const OdSiShape& OdGsSpatialQuery::build ( const OdGsViewImpl view,
const OdGeExtents3d sceneExtents,
int  numPoints = 0,
const OdGsDCPoint points = 0 
)

Builds a spatial query for the specified polygon in this view object.

Parameters
sceneExtents[in] Whole scene extents.
points[in] Array of points in screen coords.
numPoints[in] Number of points.

◆ getBBox()

const OdSi::BBox& OdGsSpatialQuery::getBBox ( ) const
inline

Returns the current query's bounding box; assumed to be called after 'build()'.

Definition at line 70 of file GsSpatialQuery.h.

Member Data Documentation

◆ m_spqbox

OdSi::BBox OdGsSpatialQuery::m_spqbox
protected

Definition at line 73 of file GsSpatialQuery.h.

◆ m_spqvol

OdSi::Volume OdGsSpatialQuery::m_spqvol
protected

Definition at line 74 of file GsSpatialQuery.h.


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