Open CASCADE Technology  6.8.0
Public Member Functions
SelectBasics_PickArgs Struct Reference

Structure to provide all-in-one information on picking arguments for "Matches" method of SelectBasics_SensitiveEntity. More...

#include <SelectBasics_PickArgs.hxx>

Public Member Functions

 SelectBasics_PickArgs (const Standard_Real theX, const Standard_Real theY, const Standard_Real theTolerance, const Standard_Real theDepthMin, const Standard_Real theDepthMax, const gp_Lin &thePickingLine)
 Constructor. More...
 
Standard_Real X () const
 
Standard_Real Y () const
 
Standard_Real Tolerance () const
 
Standard_Real DepthMin () const
 
Standard_Real DepthMax () const
 
const gp_LinPickLine () const
 
Standard_Boolean IsClipped (const Standard_Real theDepth) const
 

Detailed Description

Structure to provide all-in-one information on picking arguments for "Matches" method of SelectBasics_SensitiveEntity.

Constructor & Destructor Documentation

SelectBasics_PickArgs::SelectBasics_PickArgs ( const Standard_Real  theX,
const Standard_Real  theY,
const Standard_Real  theTolerance,
const Standard_Real  theDepthMin,
const Standard_Real  theDepthMax,
const gp_Lin thePickingLine 
)
inline

Constructor.

Parameters
theXmouse picking coordinate on x-axis of selection coord space.
theYmouse picking coordinate on y-axis of selection coord space.
theTolerancex, y coordinate tolerance.
theDepthMinminimum picking depth in selection coord space.
theDepthMaxmaximum picking depth in selection coord space.
thePickingLineline going through picking point.

Member Function Documentation

Standard_Real SelectBasics_PickArgs::DepthMax ( ) const
inline
Standard_Real SelectBasics_PickArgs::DepthMin ( ) const
inline
Standard_Boolean SelectBasics_PickArgs::IsClipped ( const Standard_Real  theDepth) const
inline
Returns
True if passed depth lies outside valid depth range.
const gp_Lin& SelectBasics_PickArgs::PickLine ( ) const
inline
Standard_Real SelectBasics_PickArgs::Tolerance ( ) const
inline
Standard_Real SelectBasics_PickArgs::X ( ) const
inline
Standard_Real SelectBasics_PickArgs::Y ( ) const
inline

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