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

BrepBuilder.h

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

 

 
Name 
Description 
 
Destructor. Destroys the OdBrepBuilder object. 
 
Creates a new instance of the OdBrepBuilder object with default parameters. 
 
Name 
Description 
 
Default Shell ID. 
 
Default Vertex ID. 
 
Name 
Description 
 
Defines the 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 — the 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 or disables validation in BRepBuilder.
 
 
Completes construction of the geometry. The geometry is validated and, if valid, stored 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 method clears the built geometry stored in the BRepBuilder. This function will throw an error if this BRepBuilderGeometryId hasn't completed building the B-Rep. Use IsResultAvailable() to verify whether this BRepBuilder contains a valid result. Built entity is specific for each product-dependent implementation.
 
 
Returns the type of the output geometry.  
 
Returns errors found during validation.
 
 
A validator function that checks whether the surface object is of the type that is supported as a face surface by BRepBuilder.
 
 
A validator function that checks the state of this BRepBuilder object.
 
 
Checks the state of the product-dependent implementation.
 
 
A validator function that checks whether the complex ID corresponds to the complex previously added to this BRepBuilder object.
 
 
A validator function that checks whether the edge ID corresponds to the edge previously added to this BRepBuilder object.
 
 
A validator function that checks whether the face ID corresponds to the face previously added to this BRepBuilder object.
 
 
A validator function that checks whether the loop ID corresponds to the loop previously added to this BRepBuilder object.
 
 
A validator function that checks whether the shell ID corresponds to the 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 allow edges that it would normally disallow as being too short for geometry. 
 
Sets the edge color.
 
 
Sets the face color.
 
 
Sets the material mapper for the face.
 
 
Sets the material ID to the specified face.
 
 
Sets a specified bit flag on an object.
 
 
Sets the initial tag value that is used for faces and edges.
 
 
Sets the tag value that is used for faces and edges. MODE: kSetTagMode. Use setTag() just after addEdge() and addFace() calls.
 
Copyright © 2002–2022. Open Design Alliance. All rights reserved.