Open CASCADE Technology 6.6.0
|
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>
Public Member Functions | |
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 Handle_TopoDS_TShape | EmptyCopy () const |
Returns a copy of the TShape with no sub-shapes. The new Face has no triangulation. |
BRep_TFace::BRep_TFace | ( | ) |
virtual Handle_TopoDS_TShape BRep_TFace::EmptyCopy | ( | ) | const [virtual] |
Reimplemented from TopoDS_TFace.
const TopLoc_Location& BRep_TFace::Location | ( | ) | const |
void BRep_TFace::Location | ( | const TopLoc_Location & | L | ) |
void BRep_TFace::NaturalRestriction | ( | const Standard_Boolean | N | ) |
Standard_Boolean BRep_TFace::NaturalRestriction | ( | ) | const |
void BRep_TFace::Surface | ( | const Handle< Geom_Surface > & | S | ) |
const Handle_Geom_Surface& BRep_TFace::Surface | ( | ) | const |
void BRep_TFace::Tolerance | ( | const Standard_Real | T | ) |
Standard_Real BRep_TFace::Tolerance | ( | ) | const |
void BRep_TFace::Triangulation | ( | const Handle< Poly_Triangulation > & | T | ) |
const Handle_Poly_Triangulation& BRep_TFace::Triangulation | ( | ) | const |