GetOrientation (class MKI_ENUMDEF_DATA) New in Version 2019.1

www.CAD6.com

C++ Syntax

__int32

MKI_ENUMDEF_DATA::GetOrientation(

 __int32 f_nStartIndex ) const;

 

Calculates the orientation of an outline in the given enumeration data.

 

Parameters

StartIndex

[__int32] Index of the outline's start-point in the enumeration data.

 

Return Value

Returns either 1 (= positive / counterclockwise) or -1 (= negative / clockwise) if successful. Otherwise, 0 is returned.

 

Comment

Only the enumeration type MKI_ENUMDATA_SURFACE is supported!

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH