API Reference > OdBrepBuilder Classes > OdBrepBuilder Class > OdBrepBuilder Methods > OdBrepBuilder::addCoedge Method
OdBrepBuilder::addCoedge Method
Syntax
C++
BRepBuilderGeometryId addCoedge(const BRepBuilderGeometryId& loopId, const BRepBuilderGeometryId& edgeId, EntityDirection codgeDirection = kForward, const OdGeCurve2d* pParCur = NULL);
Parameters 
Description 
const BRepBuilderGeometryId& loopId 
[in] The Id of the loop which the added code belongs.  
const BRepBuilderGeometryId& edgeId 
[in] The Id of the edge.  
EntityDirection codgeDirection = kForward 
[in] The coedge direction in relation to the edge.  
const OdGeCurve2d* pParCur = NULL 
[in] Pointer to paramectic curve. Optional parameter.  

BRepBuilderGeometryId of added coedge.

Adds a coedge associated to a previously added edge. A coedge represents the use of an edge on one of the edge's faces. 

 

OdError(eInvalidInput) exception throws if type of parametric curve(pParCur) is not supported by BrepBuilder implementation.

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