API Reference > OdBrepBuilder Classes > OdBrepBuilder Class > OdBrepBuilder Methods > OdBrepBuilder::addFace Method
OdBrepBuilder::addFace Method
Syntax
C++
BRepBuilderGeometryId addFace(const OdGeSurface* pSurf, EntityDirection faceDirection, const BRepBuilderGeometryId& shellId = kDefaultShellId);
Parameters 
Description 
const OdGeSurface* pSurf 
[in] Pointer to the underlying surface.  
EntityDirection faceDirection 
[in] Face's orientation in relation to underlying surface.  
const BRepBuilderGeometryId& shellId = kDefaultShellId 
[in] Shell Id.  

BRepBuilderGeometryId of added face.

Creates an empty face in the geometry being built 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.