This interface expose APIs for basic and advanced geometry calculation functionalities. More...
Public Member Functions | |
ILRect * | BoundingRect (ILObject *shape) |
ILRect * | InnerRect (ILImage *mask) |
ILRect * | InnerSquare (ILImage *mask) |
![]() | |
ILObject * | Copy () |
LPVErrorCode | Load (LString filename) |
void | Reset () |
LPVErrorCode | Save (LString filename) |
BOOL | Valid () |
Additional Inherited Members | |
![]() | |
LString | Name [get, set] |
Name of the object. By default, the object has no name. In most cases, LPV classes don't make use of the names. The name is drawn on canvas around the object if ILDrawable::SetDrawName() is enabled. More... | |
This interface expose APIs for basic and advanced geometry calculation functionalities.
To use this interface, you should create a LGeomOp object.
Find the largest inner rectangle in the given binary mask, which contains or goes through only white(non-zero) pixels.
[in] | mask | ![]() ![]() |
resultRect | Return the result rectangle object |
Find the largest inner square in the given binary mask, which contains or goes through only white(non-zero) pixels.
[in] | mask | ![]() ![]() |
resultSquare | Return the result square object |