API Reference > OdDb Classes > OdDbLine Class > OdDbLine Methods > OdDbLine::getEndPoint Method
OdDbLine::getEndPoint Method
Syntax
C++
virtual OdResult getEndPoint(OdGePoint3d& endPoint) const;
Parameters 
Description 
OdGePoint3d& endPoint 
[out] Reference to a variable in which this method must save the end point as three-dimensional point instance. 

Computes the WCS coordinates of the end point on the line for which the parameter equals the line length. 

 

Example of Working with the Line Object 

Computed Line Properties

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