API Reference > OdBrepBuilder Classes > OdBrepBuilder Class > OdBrepBuilder Methods > addEdge Method > OdBrepBuilder::addEdge Method (OdGeCurve3d*, BRepBuilderGeometryId&, BRepBuilderGeometryId&)
OdBrepBuilder::addEdge Method (OdGeCurve3d*, BRepBuilderGeometryId&, BRepBuilderGeometryId&)
Syntax
C++
BRepBuilderGeometryId addEdge(const OdGeCurve3d* pCurveForEdge, const BRepBuilderGeometryId& vertex1Id, const BRepBuilderGeometryId& vertex2Id);
Parameters 
Description 
const OdGeCurve3d* pCurveForEdge 
[in] Pointer to edge geometry (object-space curve).  
const BRepBuilderGeometryId& vertex1Id 
[in] The Id of the first vertex.  
const BRepBuilderGeometryId& vertex2Id 
[in] The Id of the second vertex.  

BRepBuilderGeometryId of added edge.

Adds a new edge to the geometry being built. 

 

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