Back to index

salome-geom  6.5.0
Public Member Functions | Protected Attributes
NMTDS_BndSphere Class Reference

#include <NMTDS_BndSphere.hxx>

List of all members.

Public Member Functions

Standard_EXPORT NMTDS_BndSphere ()
virtual Standard_EXPORT ~NMTDS_BndSphere ()
void SetCenter (const gp_Pnt &theP)
const gp_Pnt & Center () const
void SetRadius (const Standard_Real theR)
Standard_Real Radius () const
void SetGap (const Standard_Real theGap)
Standard_Real Gap () const
void Add (const NMTDS_BndSphere &theOther)
Standard_EXPORT Standard_Boolean IsOut (const NMTDS_BndSphere &theOther) const
Standard_Real SquareExtent () const

Protected Attributes

gp_Pnt myCenter
Standard_Real myRadius
Standard_Real myGap

Detailed Description

Definition at line 38 of file NMTDS_BndSphere.hxx.

Constructor & Destructor Documentation

Definition at line 31 of file NMTDS_BndSphere.cxx.

  myCenter.SetCoord(0., 0., 0.);

Definition at line 41 of file NMTDS_BndSphere.cxx.


Member Function Documentation

void NMTDS_BndSphere::Add ( const NMTDS_BndSphere theOther)
const gp_Pnt& NMTDS_BndSphere::Center ( ) const
Standard_Real NMTDS_BndSphere::Gap ( ) const
Standard_Boolean NMTDS_BndSphere::IsOut ( const NMTDS_BndSphere theOther) const

Definition at line 48 of file NMTDS_BndSphere.cxx.

  Standard_Real aD2, aT2;
  return aD2>aT2;

Here is the caller graph for this function:

Standard_Real NMTDS_BndSphere::Radius ( ) const
void NMTDS_BndSphere::SetCenter ( const gp_Pnt &  theP)

Here is the caller graph for this function:

void NMTDS_BndSphere::SetGap ( const Standard_Real  theGap)

Here is the caller graph for this function:

void NMTDS_BndSphere::SetRadius ( const Standard_Real  theR)

Here is the caller graph for this function:

Standard_Real NMTDS_BndSphere::SquareExtent ( ) const

Member Data Documentation

gp_Pnt NMTDS_BndSphere::myCenter [protected]

Definition at line 66 of file NMTDS_BndSphere.hxx.

Standard_Real NMTDS_BndSphere::myGap [protected]

Definition at line 68 of file NMTDS_BndSphere.hxx.

Standard_Real NMTDS_BndSphere::myRadius [protected]

Definition at line 67 of file NMTDS_BndSphere.hxx.

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