API Reference > OdGe Classes > OdGeLinearEnt2d Class > OdGeLinearEnt2d Methods > OdGeLinearEnt2d::getPerpLine Method
OdGeLinearEnt2d::getPerpLine Method
Syntax
C++
void getPerpLine(const OdGePoint2d& point, OdGeLine2d& perpLine) const;
Parameters 
Description 
const OdGePoint2d& point 
[in] 2D point through which the perpendicular line passes.  
OdGeLine2d& perpLine 
[out] Receives a reference to the perpendicular line. 

Returns a reference to a 2D line perpendicular to this one, and passing through the specified point. 

 

It is up to the caller to delete the returned line.

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