Back to index

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

#include <GEOMAlgo_ClsfSurf.hxx>

Inheritance diagram for GEOMAlgo_ClsfSurf:
Inheritance graph
Collaboration diagram for GEOMAlgo_ClsfSurf:
Collaboration graph

List of all members.

Public Member Functions

Standard_EXPORT GEOMAlgo_ClsfSurf ()
virtual Standard_EXPORT ~GEOMAlgo_ClsfSurf ()
Standard_EXPORT void SetSurface (const Handle(Geom_Surface)&aS)
Standard_EXPORT const
Handle_Geom_Surface & 
Surface () const
virtual Standard_EXPORT void Perform ()
virtual Standard_EXPORT void CheckData ()
virtual Standard_EXPORT
CanBeON (const Handle(Geom_Curve)&aC) const
virtual Standard_EXPORT
CanBeON (const Handle(Geom_Surface)&aST) const
Standard_EXPORT void SetPnt (const gp_Pnt &aP)
Standard_EXPORT const gp_Pnt & Pnt () const
Standard_EXPORT void SetTolerance (const Standard_Real aT)
Standard_EXPORT Standard_Real Tolerance () const
Standard_EXPORT TopAbs_State State () const
virtual Standard_EXPORT void CheckResult ()
Standard_EXPORT Standard_Integer ErrorStatus () const
Standard_EXPORT Standard_Integer WarningStatus () const

Protected Attributes

Handle_Geom_Surface myS
GeomAdaptor_Surface myGAS
TopAbs_State myState
gp_Pnt myPnt
Standard_Real myTolerance
Standard_Integer myErrorStatus
Standard_Integer myWarningStatus

Detailed Description

Definition at line 48 of file GEOMAlgo_ClsfSurf.hxx.

Constructor & Destructor Documentation

Definition at line 40 of file GEOMAlgo_ClsfSurf.cxx.


Definition at line 49 of file GEOMAlgo_ClsfSurf.cxx.


Member Function Documentation

Standard_Boolean GEOMAlgo_ClsfSurf::CanBeON ( const Handle(Geom_Curve)&  aC) const [virtual]

Reimplemented from GEOMAlgo_Clsf.

Definition at line 110 of file GEOMAlgo_ClsfSurf.cxx.

  GeomAbs_SurfaceType aST;
  GeomAbs_CurveType aCT;
  GeomAdaptor_Curve aGAC;
  if (aCT==GeomAbs_Line && aST==GeomAbs_Sphere) {
    return Standard_False;
  return Standard_True;
Standard_Boolean GEOMAlgo_ClsfSurf::CanBeON ( const Handle(Geom_Surface)&  aST) const [virtual]

Reimplemented from GEOMAlgo_Clsf.

Definition at line 129 of file GEOMAlgo_ClsfSurf.cxx.

  Standard_Boolean bRet;
  GeomAbs_SurfaceType aST, aST1;
  GeomAdaptor_Surface aGAS1;
  return bRet;
void GEOMAlgo_ClsfSurf::CheckData ( ) [virtual]

Reimplemented from GEOMAlgo_HAlgo.

Definition at line 72 of file GEOMAlgo_ClsfSurf.cxx.

  GeomAbs_SurfaceType aType;
  if(myS.IsNull()) {
    myErrorStatus=10; // mySurface=NULL
  if (!(aType==GeomAbs_Plane ||
        aType==GeomAbs_Cylinder ||
        aType==GeomAbs_Sphere)) {
    myErrorStatus=11; // unallowed surface type
void GEOMAlgo_HAlgo::CheckResult ( ) [virtual, inherited]

Definition at line 61 of file GEOMAlgo_HAlgo.cxx.

Standard_Integer GEOMAlgo_HAlgo::ErrorStatus ( ) const [inherited]

Definition at line 69 of file GEOMAlgo_HAlgo.cxx.

  return myErrorStatus;
void GEOMAlgo_ClsfSurf::Perform ( ) [virtual]

Implements GEOMAlgo_HAlgo.

Definition at line 95 of file GEOMAlgo_ClsfSurf.cxx.

  if(myErrorStatus) {
  GEOMAlgo_SurfaceTools::GetState(myPnt, myGAS, myTolerance, myState);

Here is the call graph for this function:

const gp_Pnt & GEOMAlgo_Clsf::Pnt ( ) const [inherited]

Definition at line 80 of file GEOMAlgo_Clsf.cxx.

  return myPnt;
void GEOMAlgo_Clsf::SetPnt ( const gp_Pnt &  aP) [inherited]

Definition at line 72 of file GEOMAlgo_Clsf.cxx.

void GEOMAlgo_ClsfSurf::SetSurface ( const Handle(Geom_Surface)&  aS)

Definition at line 56 of file GEOMAlgo_ClsfSurf.cxx.

void GEOMAlgo_Clsf::SetTolerance ( const Standard_Real  aT) [inherited]

Definition at line 56 of file GEOMAlgo_Clsf.cxx.

TopAbs_State GEOMAlgo_Clsf::State ( ) const [inherited]

Definition at line 88 of file GEOMAlgo_Clsf.cxx.

  return myState;
Standard_EXPORT const Handle_Geom_Surface& GEOMAlgo_ClsfSurf::Surface ( ) const
Standard_Real GEOMAlgo_Clsf::Tolerance ( ) const [inherited]

Definition at line 64 of file GEOMAlgo_Clsf.cxx.

  return myTolerance;
Standard_Integer GEOMAlgo_HAlgo::WarningStatus ( ) const [inherited]

Definition at line 77 of file GEOMAlgo_HAlgo.cxx.

  return myWarningStatus;

Member Data Documentation

Standard_Integer GEOMAlgo_HAlgo::myErrorStatus [protected, inherited]

Definition at line 71 of file GEOMAlgo_HAlgo.hxx.

GeomAdaptor_Surface GEOMAlgo_ClsfSurf::myGAS [protected]

Definition at line 79 of file GEOMAlgo_ClsfSurf.hxx.

gp_Pnt GEOMAlgo_Clsf::myPnt [protected, inherited]

Definition at line 84 of file GEOMAlgo_Clsf.hxx.

Handle_Geom_Surface GEOMAlgo_ClsfSurf::myS [protected]

Definition at line 78 of file GEOMAlgo_ClsfSurf.hxx.

TopAbs_State GEOMAlgo_Clsf::myState [protected, inherited]

Definition at line 83 of file GEOMAlgo_Clsf.hxx.

Standard_Real GEOMAlgo_Clsf::myTolerance [protected, inherited]

Definition at line 85 of file GEOMAlgo_Clsf.hxx.

Standard_Integer GEOMAlgo_HAlgo::myWarningStatus [protected, inherited]

Definition at line 72 of file GEOMAlgo_HAlgo.hxx.

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