| Revit 2017 API |
| BRepBuilder Members |
| BRepBuilder Class Constructors Methods Properties See Also |
The BRepBuilder type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| BRepBuilder |
Construct a BRepBuilder to use in constructing geometry.
|
Methods
| Name | Description | |
|---|---|---|
| AddCoEdge |
Add a co-edge associated to a previously added edge. A co-edge represents the use of an edge on one
of the edge's faces. BrepBuilder allows at most two faces per edge, hence at most two co-edges per edge,
and the co-edges must have opposite bCoEdgeIsReversed flags. The co-edges in a loop must be added in the
order in which they occur in loop (i.e., in their topological order).
| |
| AddEdge |
Add a new edge to the geometry being built. The BRepBuilder uses edges only to store edge geometry and to track
pairs of co-edges that share an edge.
| |
| AddFace |
Creates an empty face in the geometry being built. Other BRepBuilder methods are used to add loops to the face.
| |
| AddLoop |
Creates an empty loop in a given face of the geometry being built. Other BRepBuilder methods are used to add co-edges to the loop.
| |
| CanAddGeometry |
A validator function that checks the state of this BRepBuilder object. Returns true if this BRepBuilder object is accepting b-rep data, false otherwise.
| |
| Dispose | (Inherited from ShapeBuilder.) | |
| Equals | (Inherited from Object.) | |
| Finish |
Complete construction of the geometry. The geometry will be validated and, if valid, stored in this Builder. Otherwise it will be deleted.
| |
| FinishFace |
Indicates that the caller has finished defining the given face.
| |
| FinishLoop |
Indicates that the caller has finished defining the given loop.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetResult |
Get the Geometry object built by this BRepBuilder. This will clear the built Geometry stored in the BRepBuilder.
This function will throw if this BRepBuilder hasn't completed building the b-rep. Use IsResultAvailable() to verify that this BRepBuilder contains a valid result.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsPermittedSurfaceType |
A validator function that checks whether the surface object is of type supported as face surface by BRepBuilder.
| |
| IsResultAvailable |
A validator function that checks the state of this BRepBuilder object. Returns true if this BRepBuilder object has successfully built a b-rep.
| |
| IsValidEdgeId |
A validator function that checks whether the edge id corresponds to an edge previously added to this BRepBuilder object.
| |
| IsValidFaceId |
A validator function that checks whether the face id corresponds to a face previously added to this BRepBuilder object.
| |
| IsValidLoopId |
A validator function that checks whether the loop id corresponds to a loop previously added to this BRepBuilder object.
| |
| SetFaceMaterialId |
Sets material id to a face.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| IsValidObject |
Specifies whether the .NET object represents a valid Revit entity.
(Inherited from ShapeBuilder.) |