C++
inline void modelToPixel( const AcGeVector3d& viewDir, const AcGeMatrix3d& modToPix, const AcGePlane& plane, const AcGePoint3d& modPt, AcGePoint2d& pixPt );
File
imgent.h
Description
Projects modPt along the viewDir direction onto plane, and then translates its model coordinates to pixel coordinates.
Parameters
| Parameters | Description |
|---|---|
| viewDir | Input view direction |
| modToPix | Input model-to-pixel transform |
| plane | Input projection plane |
| modPt | Input model coordinate |
| pixPt | Returns pixel coordinate |