cad(3)
NAME
cad - the boundary definition class
DESCRIPTION
The cad class defines a container for the description of the boundary
of a geometry, by using Bezier patches.
The aim is to handle high-level polynomial interpolation together with
curved boundaries (non-polynomial). So, the description bases on Bezier
curves and surfaces.
Also, the adaptive mesh loop requieres interpolation on the boundary,
and this class should facilitates such procedures.
This class is actually under development.
FILE FORMAT
Under definition.
FILE FORMAT CONVERSION
Under development. Conversion to geomview and vtk for visualization.
Also to and from qmg, grummp, modulef/ghs, opencascade for compatibility.
IMPLEMENTATION
- class cad : public smart_pointer<cad_rep> {
public:
// typedefs: - typedef cad_rep::size_type size_type;
- // allocator:
cad();
cad (const std::string& file_name);- // accessors:
size_type dimension() const;
size_type n_face() const;- const point& xmin() const;
const point& xmax() const; - void eval (const cad_element& S, const point& ref_coord, point & real_coord) const;
point eval (const cad_element& S, const point& ref_coord) const; - // input/output:
friend std::istream& operator >> (std::istream& is, cad& x);
friend std::ostream& operator << (std::ostream& os, const cad& x);- };