![]()  | 
![]()  | 
![]()  | 
![]()  | 
![]()  | 
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Test whether or not a point is inside a control surface
int PtSurfaceTestPoint( PtSurface_t const *surface,
                        PhPoint_t const *point );
ph
This function determines whether or not the given point is inside the control surface described by the structure pointed to by surface.
A nonzero value if the point is inside the control surface, or zero if it isn't.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PhPoint_t, PtSurfaceCalcBoundingBox(), PtSurfaceHit(), PtSurfaceRect()
Control Surfaces chapter of the Photon Programmer's Guide
![]()  | 
![]()  | 
![]()  | 
![]()  |