API Reference > OdBrepBuilder Classes > OdBrepBuilder Class
OdBrepBuilder Class
OdBrepBuilder
Syntax
C++
class OdBrepBuilder;

BrepBuilder.h

A class that allows direct construction of geometry objects (solids, surfaces or open shells). 

 

 
Name 
Description 
 
Destroys the OdBrepBuilder object. 
 
Creates a new instance of a OdBrepBuilder object with default parameters. 
 
Name 
Description 
 
This is kDefaultShellId, a member of class OdBrepBuilder. 
 
This is kDefaultVertexId, a member of class OdBrepBuilder. 
 
Name 
Description 
 
Defines entity direction in relation to the parent entity. 
 
Name 
Description 
 
Adds a coedge associated to a previously added edge. A coedge represents the use of an edge on one of the edge's faces.
 
 
Creates an empty complex - upper topology element.
 
 
This is the overview for the addEdge method overload. 
 
Creates an empty face in the geometry being built
 
 
Creates an empty loop in a given face of the geometry being built.
 
 
Creates an empty shell.
 
 
Adds a new vertex to the geometry being built.
 
 
Allows BRepBuilder to remove problematic faces (e.g., due to inaccurate edge geometry). If this option is enabled and BRepBuilder removes some faces, the output geometry's type will be OpenShell regardless of the expected type specified when the BRepBuilder was created. 
 
A validator function that checks the state of this BRepBuilder object.
 
 
Enables/disables validation in BRepBuilder
 
 
Completes construction of the geometry. The geometry validates and, if valid, stores in this Builder.
 
 
Indicates that the caller has finished defining the given complex.
 
 
Indicates that the caller has finished defining the given face.
 
 
Indicates that the caller has finished defining the given loop.
 
 
Indicates that the caller has finished defining the given shell.
 
 
Gets the Geometry object built by this BRepBuilder. This clears the built Geometry stored in the BRepBuilder. This function throws if this BRepBuilderGeometryId hasn't completed building the b-rep. Use IsResultAvailable() to verify that this BRepBuilder contains a valid result.
 
 
Returns type of output geometry. 
 
Returns errors found during validation
 
 
A validator function that checks whether the surface object is of type supported as face surface by BRepBuilder.
 
 
A validator function that checks the state of this BRepBuilder object.
 
 
Checks state of product-dependent implementation
 
 
This is isValidComplexId, a member of class OdBrepBuilder. 
 
A validator function that checks whether the edge id corresponds to an edge previously added to this BRepBuilder object.
 
 
A validator function that checks whether the face id corresponds to a face previously added to this BRepBuilder object.
 
 
A validator function that checks whether the loop id corresponds to a loop previously added to this BRepBuilder object.
 
 
A validator function that checks whether the shell id corresponds to a shell previously added to this BRepBuilder object.
 
 
This function removes some problematic faces from the output geometry.
 
 
set 
Sets the product-dependent implementation
 
 
Makes BRepBuilder allows edges that it would normally disallow as being too short for geometry. 
 
Sets edge color.
 
 
Sets face color.
 
 
Sets material mapping for face.
 
 
Sets material id to a face.
 
 
Sets initial tag value(it is used for faces and edges)
 
 
Sets tag value(it is used for faces and edges) MODE: kSetTagMode; Use setTag just after addEdge and addFace calls.
 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.