MKI_ObjectAddCurve (Entity Creation) |
www.CAD6.com |
C++ Syntaxbool MKI_ObjectAddCurve( double f_dOrient, double f_dCurve );
Adds an arc orientation and curvature data block (MKI_DB_ALL_CURVE) to a previously opened temporary object (see MKI_ObjectOpen). This type of data block is usually used inside objects of type MKI_OBJ_CURVE and MKI_OBJ_SURFACE 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 object would be too large after adding this data block.
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH