MKI_ClipAddCurve (Entity Creation) Changed in Version 2024.1

www.CAD6.com

C++ Syntax

bool

MKI_ClipAddCurve(

 double f_dOrient,

 double f_dCurve );

 

Adds an arc orientation and curvature data block (MKI_DB_ALL_CURVE) to the most recently opened provisional clipping surface (see MKI_ClipOpen). This type of data block is used to determine an arc's orientation (clockwise or counter-clockwise) and curvature (radius).

 

Parameters

Orient

[double] Orientation of the arc. Negative values indicate clockwise orientation, non-negative values indicate counter-clockwise direction. Valid range: MKI_COORD_MIN <= Value <= MKI_COORD_MAX.

Curve

[double] Curvature of the arc. For a detailed description of the curvature, see Object 12 "Surface". If the arc's center-point and end-points are known, the curvature can easily be calculated by means of MKI_CalcCurvature. Valid range: MKI_COORD_MIN <= Value <= MKI_COORD_MAX.

 

Return Value

Returns true if the data block was added successfully. If false is returned, this indicates that the clipping surface would be too large after adding this data block.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH