any way to distinguish between an outer loop and an inner loop of AcdbHatch?

any way to distinguish between an outer loop and an inner loop of AcdbHatch?

Anonymous
Not applicable
387 Views
0 Replies
Message 1 of 1

any way to distinguish between an outer loop and an inner loop of AcdbHatch?

Anonymous
Not applicable

    It seems that there is no extral information to distinguish between  an outer loop and an inner loop of AcdbHatch.

AcdbHathc::

getLoopAt(

int loopIndex,

Adesk::Int32& loopType,

AcGeVoidPointerArray& edgePtrs,

AcGeIntArray& edgeTypes) const;

   the param "loopType"  can tell types like kDefault, kExternal, kPolyline, kDerived, kTextbox. 

 

KExternal means an outer loop, do all the others types mean inner loops?

 

Dose AcdbHatch have some function like AcDbMPolygon::

getLoopDirection(

int lindex,

AcDbMPolygon::loopDir& dir) const;

   dir can be

kExterior0Loop direction is counter-clockwise.
kInterior Loop direction is clockwise.
kAnnotation Text.


0 Likes
388 Views
0 Replies
Replies (0)