OCC Main Page | ModelingData | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingData
TKBRep
BRep


BRep_TFace Class Reference

The Tface from BRep is based on the TFace from
TopoDS. The TFace contains :

* A suface, a tolerance and a Location.

* A NaturalRestriction flag, when this flag is
True the boundary of the face is known to be the
parametric space (Umin, UMax, VMin, VMax).

* An optional Triangulation. If there is a
triangulation the surface can be absent.

The Location is used for the Surface.

The triangulation is in the same reference system
than the TFace. A point on mySurface must be
transformed with myLocation, but not a point on
the triangulation.

The Surface may be shared by different TFaces but
not the Triangulation, because the Triangulation
may be modified by the edges.

.

#include <BRep_TFace.hxx>

Inheritance diagram for BRep_TFace:

Inheritance graph
[legend]

Public Member Functions

Standard_EXPORT BRep_TFace ()
 Creates an empty TFace.
.
const Handle_Geom_Surface & Surface () const
const Handle_Poly_Triangulation & Triangulation () const
const TopLoc_Location & Location () const
Standard_Real Tolerance () const
void Surface (const Handle(Geom_Surface)&S)
void Triangulation (const Handle(Poly_Triangulation)&T)
void Location (const TopLoc_Location &L)
void Tolerance (const Standard_Real T)
Standard_Boolean NaturalRestriction () const
void NaturalRestriction (const Standard_Boolean N)
virtual Standard_EXPORT Handle_TopoDS_TShape EmptyCopy () const
 Returns a copy of the TShape with no sub-shapes.
The new Face has no triangulation.
.
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Private Attributes

Handle_Geom_Surface mySurface
Handle_Poly_Triangulation myTriangulation
TopLoc_Location myLocation
Standard_Real myTolerance
Standard_Boolean myNaturalRestriction

Constructor & Destructor Documentation

Standard_EXPORT BRep_TFace::BRep_TFace  ) 
 


Member Function Documentation

virtual Standard_EXPORT Handle_TopoDS_TShape BRep_TFace::EmptyCopy  )  const [virtual]
 

Reimplemented from TopoDS_TFace.

Standard_EXPORT const BRep_TFace::Handle Standard_Type   )  const
 

Reimplemented from TopoDS_TFace.

void BRep_TFace::Location const TopLoc_Location &  L  )  [inline]
 

const TopLoc_Location & BRep_TFace::Location  )  const [inline]
 

void BRep_TFace::NaturalRestriction const Standard_Boolean  N  )  [inline]
 

Standard_Boolean BRep_TFace::NaturalRestriction  )  const [inline]
 

void BRep_TFace::Surface const Handle(Geom_Surface)&  S  )  [inline]
 

const Handle_Geom_Surface& BRep_TFace::Surface  )  const
 

void BRep_TFace::Tolerance const Standard_Real  T  )  [inline]
 

Standard_Real BRep_TFace::Tolerance  )  const [inline]
 

void BRep_TFace::Triangulation const Handle(Poly_Triangulation)&  T  )  [inline]
 

const Handle_Poly_Triangulation& BRep_TFace::Triangulation  )  const
 


Field Documentation

TopLoc_Location BRep_TFace::myLocation [private]
 

Standard_Boolean BRep_TFace::myNaturalRestriction [private]
 

Handle_Geom_Surface BRep_TFace::mySurface [private]
 

Standard_Real BRep_TFace::myTolerance [private]
 

Handle_Poly_Triangulation BRep_TFace::myTriangulation [private]
 


The documentation for this class was generated from the following files:
Generated on Mon Aug 25 13:22:33 2008 for OpenCASCADE by  doxygen 1.4.1