![]() |
MKI_MappingAddCurve (Entity Creation) New in Version 2018.2 |
www.CAD6.com |
C++ Syntaxbool MKI_MappingAddCurve( double f_dOrient, double f_dCurve );
Adds an arc orientation and curvature data block (MKI_DB_ALL_CURVE) to a previously opened provisional mapping (see MKI_MappingOpen). This type of data block is used to determine an arc's orientation (clockwise or counter-clockwise) and curvature (radius).
ParametersOrient [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 ValueReturns true if the data block was added successfully. If false is returned, this indicates that the hatching would be too large after adding this data block.
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH