API Reference > Classes > PRC Curve Classes > OdPrcPolyLine2d Class > OdPrcPolyLine2d Methods > setPoints Method > OdPrcPolyLine2d::setPoints Method (OdGePoint2d *, OdUInt32, bool)
OdPrcPolyLine2d::setPoints Method (OdGePoint2d *, OdUInt32, bool)
Syntax
C++
OdResult setPoints(const OdGePoint2d * points, OdUInt32 numPoints, bool updateParameterization = false);
Parameters 
Description 
const OdGePoint2d * points 
[in] A pointer to a new array of OdGePoiont2d objects to be set as a points array.  
OdUInt32 numPoints 
[in] A points count.  
bool updateParameterization = false 
[in] A flag determining whether the parameterization should be updated. Default value is false.
 

Returns eOk if the 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.