Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbHatch::insertLoopAt Method (int, OdInt32, EdgeArray&)
Syntax
C++
void insertLoopAt(int loopIndex, OdInt32 loopType, EdgeArray& edgePtrs);

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

 

Parameters
Description
loopIndex
[in] Loop index.
loopType
[in] Type of loop being appended.
edgePtrs
[in] Array OdGeCurve pointers to the edges that comprise this loop.

loopType is one of the following: 

 

Name
Value
Description.
kDefault
0
Not yet specified.
kExternal
1
Defined by external entities.
kPolyline
2
Defined by OdGe polyline.
kDerived
4
Derived from a picked point.
kTextbox
8
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-2022. Open Design Alliance All rights reserved.