MKI_MaxPolygonPoints (Settings) Changed in Version 2020.0

www.CAD6.com

C++ Syntax

__int32

MKI_MaxPolygonPoints( void );

 

Used to determine the maximum number of "points" a polygon can handle during output. Such a point is either a start-point, an end-point, an arc-end-point, or a Bézier curve pivot point.

 

Since circles, ellipses and parts of them are resolved into multiple Bézier curves during output, this value will usually be considerable higher than the value returned by MKI_MaxEntityPoints.

 

Return Value

Returns the maximum number of points that can be handled by a polygon. Currently, the value returned here will be either 999,420 or 4,145,148. But these limits may vary in future editions of the interface.

 

Comment

The maximum number of "points" returned by this function is the total number of points allowed in a curve, surface, or hatching. Each single sub-polygon inside the global polygon may have up to MKI_POLYGON_SUBMAX points, and the polygon may consist of up to MKI_POLYPOLY_MAX sub-polygons.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH