IsPointLeft (class MKI_ENUMDEF_DATA) New in Version 2019.1

www.CAD6.com

C++ Syntax

__int32

MKI_ENUMDEF_DATA::IsPointLeft(

 __int32 f_nStartIndex,

 MKI_CONST_POINT_REF f_rPoint ) const;

 

Determines whether a given point lies on the "left" side of an outline in the given enumeration data.

 

Parameters

StartIndex

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

Point

[MKI_CONST_POINT_REF] Address of the point for which the position shall be determined.

 

Return Value

Returns either 1 (= is on the "left" side) or 0 (= is on the "right" side) if successful. Otherwise, -1 is returned (indicating out-of-memory or an indecisive result).

 

Comment

Only the enumeration types MKI_ENUMDATA_CURVE and MKI_ENUMDATA_SURFACE are supported!

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH