API Reference > Classes > PRC Curve Classes > OdPrcPolyLine2d Class > OdPrcPolyLine2d Methods > setPoints Method > OdPrcPolyLine2d::setPoints Method (OdGePoint2dArray &, bool)
OdPrcPolyLine2d::setPoints Method (OdGePoint2dArray &, bool)
Syntax
C++
OdResult setPoints(const OdGePoint2dArray & points, bool updateParameterization = false);
Parameters 
Description 
const OdGePoint2dArray & points 
[in] A new points array to be set.  
bool updateParameterization = false 
[in] A flag determining whether the parameterization should be updated. Default value is false.
 

Returns eOk if points array was successfully set or an appropriate error code in the other case.

Sets a new points array to redefine the polyline. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.