API Reference > OdDb Classes > OdDbHatch Class > OdDbHatch Methods > insertLoopAt Method > OdDbHatch::insertLoopAt Method (int, OdInt32, OdGePoint2dArray&, OdGeDoubleArray&)
OdDbHatch::insertLoopAt Method (int, OdInt32, OdGePoint2dArray&, OdGeDoubleArray&)
Syntax
C++
void insertLoopAt(int loopIndex, OdInt32 loopType, const OdGePoint2dArray& vertices, const OdGeDoubleArray& bulges);
Parameters 
Description 
int loopIndex 
[in] Loop index.  
OdInt32 loopType 
[in] Type of loop being appended.  
const OdGePoint2dArray& vertices 
[in] The vertices that comprise this loop.  
const OdGeDoubleArray& bulges 
[in] The bulges corresponding to the vertices array. 

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–2021. Open Design Alliance. All rights reserved.