API Reference > OdGe Classes > OdGePoint2d Class > OdGePoint2d Operators > - Operator > OdGePoint2d::- Operator (OdGePoint2d&)
OdGePoint2d::- Operator (OdGePoint2d&)
Syntax
C++
OdGeVector2d operator -(const OdGePoint2d& point) const;
Parameters 
Description 
const OdGePoint2d& point 
[in] Input 2D point, coordinates of which are subtracted from the coordinates of this point. 

Subtraction operator for the OdGePoint2d class. 

 

Returns a vector formed as a result of this point's coordinates - coordinates of the specified point.

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