API Reference > OdGe Classes > OdGePoint2d Class > OdGePoint2d Operators > - Operator > OdGePoint2d::- Operator (OdGeVector2d&)
OdGePoint2d::- Operator (OdGeVector2d&)
Syntax
C++
OdGePoint2d operator -(const OdGeVector2d& vect) const;
Parameters 
Description 
const OdGeVector2d& vect 
[in] Input vector by which a point is translated. 

Subtraction operator for the OdGePoint2d class. 

 

Returns a point that is translated in the opposite direction and length of the specified input vector.

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