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

Inserts a loop into this Hatch entity on the specified index. 

 

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. 

 

The hatch will take ownership of the curves passed in.

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