API Reference > OdDb Classes > OdDbHatch Class > OdDbHatch Methods > appendLoop Method > OdDbHatch::appendLoop Method (OdInt32, EdgeArray&)
OdDbHatch::appendLoop Method (OdInt32, EdgeArray&)
Syntax
C++
void appendLoop(OdInt32 loopType, EdgeArray& edgePtrs);
Parameters 
Description 
OdInt32 loopType 
[in] Type of loop being appended.  
EdgeArray& edgePtrs 
[in] Array OdGeCurve pointers to the edges that comprise this loop. 

Appends a loop onto this Hatch entity. 

 

loopType is one of the following: 

 

Name 
Value 
Description 
kDefault 
Not yet specified. 
kExternal 
Defined by external entities. 
kPolyline 
Defined by OdGe polyline. 
kDerived 
Derived from a picked point. 
kTextbox 
Defined by text. 
kOutermost 
0x10 
Outermost loop. 
kNotClosed 
0x20 
Open loop. 
kSelfIntersecting 
0x40 
Self-intersecting loop. 
kTextIsland 
0x80 
Text loop surrounded by an even number of loops. 
kDuplicate 
0x100 
Duplicate loop. 

 

edgePtrs may contain pointers to only the following objects: 

 

Name 
OdGeLineSeg2d 
OdGeCircArc2d 
OdGeEllipArc2d 
OdGeNurbCurve2d 

 

The hatch will take ownership of the curves passed in.

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