MKI_TransformInvert (Entity Editing) Renamed in Version 2023.2

www.CAD6.com

C++ Syntax

MKI_RESULTVALUE

MKI_TransformInvert(

 MKI_CONST_ENTITY_OBJECT_PTR f_pObjPtr1,

 MKI_ENTITY_OBJECT_PTR f_pObjPtr2 );

 

Transforms the given object into a similar object that contains the inverted arc of the original object. All non-geometric data stored in ObjPtr1 will be copied to ObjPtr2, especially all properties and attributes.

 

Parameters

ObjPtr1

[MKI_CONST_ENTITY_OBJECT_PTR] Address of the object that shall be inverted. This object must be of one of the following types (see MKI_OBJ_*):

 

MKI_OBJ_ARC

MKI_OBJ_SECTOR

MKI_OBJ_SEGMENT

MKI_OBJ_EARC

MKI_OBJ_ESECTOR

MKI_OBJ_ESEGMENT

ObjPtr2

[MKI_ENTITY_OBJECT_PTR] Address of a buffer that shall receive the transformed object. This buffer must be at least MKI_MaxEntityData() bytes large, and can e.g. be created using MKI_EntityBuffer(). The resulting object will be of one of the following types (see MKI_OBJ_*):

 

MKI_OBJ_ARC

MKI_OBJ_SECTOR

MKI_OBJ_SEGMENT

MKI_OBJ_EARC

MKI_OBJ_ESECTOR

MKI_OBJ_ESEGMENT

 

Return Value Changed in Version 2022.1

Transformation result as a bitwise-or combination of flags (see MKI_RESULT_*).

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH