API Reference > Structs, Records, Enums > OdGeUvBox Structure > OdGeUvBox Methods > contains Method > OdGeUvBox::contains Method (OdGePoint2d&)
OdGeUvBox::contains Method (OdGePoint2d&)
Syntax
C++
bool contains(const OdGePoint2d& uvpoint) const;
Parameters 
Description 
const OdGePoint2d& uvpoint 
[in] A 2D point, coordinates of which are tested to be inside corresponding intervals of this UV box. 

Determines whether coordinates of passed 2D point are inside corresponding intervals. 

 

Returns true only if: (uvpoint.x lies between u.lowerBound and u.upperBound) && (uvpoint.y lies between v.lowerBound and v.upperBound).

Copyright © 2002–2020. Open Design Alliance. All rights reserved.