Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

exotkUtils_View Class Reference

Utility class for the Views. More...

#include <exotkUtils_View.hxx>

List of all members.

Public Methods

void * operator new (size_t, void *anAddress)
 OCC new. More...

void * operator new (size_t size)
 OCC new. More...

void operator delete (void *anAddress)
 OCC delete. More...


Static Public Methods

Standard_EXPORT Standard_Boolean Convert2dPntTo3dPnt (const Handle_V3d_View &aView, const Standard_Integer aX2d, const Standard_Integer aY2d, gp_Pnt &a3dPoint)
 convert a 2d point from picking into 3d point. More...

Standard_EXPORT Standard_Boolean GetBounds (const Handle_V3d_View &aView, gp_Pnt &aTopLeft, gp_Pnt &aBottomRight)
 Return the 3d boundary points of aView. More...

Standard_EXPORT Standard_Boolean GetBounds (const Handle_V3d_View &aView, gp_Pnt2d &aTopLeft, gp_Pnt2d &aBottomRight)
 Return the 2d boundary points of aView. More...


Detailed Description

Utility class for the Views.

Author:
Stephane Routelous

Definition at line 51 of file exotkUtils_View.hxx.


Member Function Documentation

exotkUtils_View::Convert2dPntTo3dPnt const Handle_V3d_View &    aView,
const Standard_Integer    aX2d,
const Standard_Integer    aY2d,
gp_Pnt &    a3dPoint
[static]
 

convert a 2d point from picking into 3d point.

Returns:
Standard_Boolean
Parameters:
aView  const Handle_V3d_View&
aX2d  const Standard_Integer
aY2d  const Standard_Integer
Return values:
a3dPoint  gp_Pnt&

Definition at line 62 of file exotkUtils_View.cxx.

Referenced by GetBounds().

exotkUtils_View::GetBounds const Handle_V3d_View &    aView,
gp_Pnt2d &    aTopLeft,
gp_Pnt2d &    aBottomRight
[static]
 

Return the 2d boundary points of aView.

Returns:
Standard_Boolean
Parameters:
aView  const Handle_V3d_View&
aTopLeft  gp_Pnt2d&
aBottomRight  gp_Pnt2d&

Definition at line 134 of file exotkUtils_View.cxx.

exotkUtils_View::GetBounds const Handle_V3d_View &    aView,
gp_Pnt &    aTopLeft,
gp_Pnt &    aBottomRight
[static]
 

Return the 3d boundary points of aView.

Returns:
Standard_Boolean
Parameters:
aView  const Handle_V3d_View&
Return values:
aTopLeft  gp_Pnt&
aBottomRight  gp_Pnt&

Definition at line 105 of file exotkUtils_View.cxx.

References Convert2dPntTo3dPnt().

void exotkUtils_View::operator delete void *    anAddress [inline]
 

OCC delete.

Returns:
inline void
Parameters:
void  *anAddress

Definition at line 83 of file exotkUtils_View.hxx.

void * exotkUtils_View::operator new size_t    size [inline]
 

OCC new.

Returns:
inline void*
Parameters:
size_t  size

Definition at line 72 of file exotkUtils_View.hxx.

void * exotkUtils_View::operator new size_t   ,
void *    anAddress
[inline]
 

OCC new.

Returns:
inline void*
Parameters:
size_t 
void  * anAddress

Definition at line 61 of file exotkUtils_View.hxx.


The documentation for this class was generated from the following files:
Generated on Wed Jan 23 12:18:43 2002 for exotk by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001