RobWorkProject
24.12.4-
|
Boundary representation (or B-Rep) of a geometric shape, using a collection of connected surfaces, edges and vertices. More...
#include <rw/core/Ptr.hpp>
#include <rw/geometry/GeometryData.hpp>
#include <rw/geometry/OBB.hpp>
#include <rw/math/Vector3D.hpp>
#include <set>
Classes | |
class | BREP |
Boundary representation (or B-Rep) of a geometric shape, using a collection of connected surfaces, edges and vertices. More... | |
class | BREP::CommonCurveSet |
Convenience type for a set of curves in a BREP. More... | |
struct | BREP::Vertex |
Vertex for the half-edge structure. More... | |
struct | BREP::Face |
Face concept in the half-edge structure. More... | |
struct | BREP::HalfEdge |
Half-edge structure. More... | |
Namespaces | |
rw | |
Deprecated namespace since 16/4-2020 for this class. | |
rw::geometry | |
Loading and storing of CAD models. | |
Boundary representation (or B-Rep) of a geometric shape, using a collection of connected surfaces, edges and vertices.
In the Shell representation, the geometric shape is formed as a collection of disconnected faces. The BREP representation adds more information about the topology, as surface and curve elements are connected. For a certain surface, curve or vertex, it is possible to find information about the directly connected neighbouring surfaces, edges and vertices. From a BREP it is also possible to retrieve a Shell representation, but in the Shell representation information about connectedness is lost.
The half-edge data structure is used internally to store the topological information about the faces, edges and vertices, and how they are connected. Subtypes of BREP implements the concrete Surface and Curve geometries that can be attached to the faces and edges.
In general, the procedure for forming a BREP is the following: