Gets the parallelogram that contains the class object.
#include "ltwrappr.h"
L_INT LVectorObject::GetObjectParallelogram(pMin, pMax)
Pointer to a VECTORPOINT structure to be updated with the minimum coordinate of the bounding parallelogram of the class object.
Pointer to a VECTORPOINT structure to be updated with the maximum coordinate of the bounding parallelogram of the class object.
| Value | Meaning |
|---|---|
| SUCCESS | The function was successful. |
| < 1 | An error occurred. Refer to Return Codes. |
This example will get the extent of a vector object under pPoint.
L_INT LVectorObject__GetObjectParallelogramExample(HWND hWnd, LVectorBase *pVector, LPPOINT pPoint){L_INT nRet;LVectorObject VectorObject;nRet = pVector->HitTest(pPoint, &VectorObject);if (nRet==SUCCESS){VECTORPOINT pointMin, pointMax;L_TCHAR szMsg[200];nRet = VectorObject.GetObjectParallelogram(&pointMin, &pointMax);if(nRet != SUCCESS)return nRet;wsprintf(szMsg, TEXT("GetObjectParallelogram pointMin[%lf,%lf] pointMax[%lf,%lf]"),pointMin.x,pointMin.y,pointMax.x,pointMax.y);MessageBox(hWnd, szMsg, TEXT(""), MB_OK);}elsereturn nRet;return SUCCESS;}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
