IsPointInside (class MKI_ENUMDEF_DATA) New in Version 2019.1

www.CAD6.com

C++ Syntax

__int32

MKI_ENUMDEF_DATA::IsPointInside(

 __int32 f_nStartIndex,

 MKI_CONST_POINT_REF f_rPoint ) const;

 

Determines whether a given point lies inside 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 inside) or 0 (= is not inside) if successful. Otherwise, -1 is returned (indicating out-of-memory or an indecisive result).

 

Comment

Only the enumeration type MKI_ENUMDATA_SURFACE is supported!

 

CAD6interface 2025.0 - Copyright 2025 Malz++KassnerĀ® GmbH