API Reference > OdDb Classes > OdDbLine Class > OdDbLine Methods > OdDbLine::setEndPoint Method
OdDbLine::setEndPoint Method
Syntax
C++
void setEndPoint(const OdGePoint3d& geEndPoint);
Parameters 
Description 
const OdGePoint3d& geEndPoint 
[in] Three-dimensional point instance to set the end point. 

Sets the end point of the line (DXF 11) in WCS. The initial value is (0,0,0) by default. 

 

Example of Working with the Line Object 

Specific Line Properties 

OdDbLine::endPoint(), OdDbLine::setStartPoint() methods

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