yucad3d

CadEntityTrim

Trim target hEnt at the cutting edge(s); the clicked side (x,y) is removed (AutoCAD parity, trim_math.md §6).

std::int32_t CadEntityTrim ( YuHandle hEnt, double x, double y );

Parameters

hEnt (YuHandle)
Handle to the entity.
x (double)
Cursor position in client-area pixels.
y (double)
Cursor position in client-area pixels.

Return Value

Nonzero (TRUE) on success, 0 (FALSE) on failure.

Remarks

Line/Arc/Circle targets.

See Also