API Reference > Classes > PRC Curve Classes > OdPrcPolyLine3d Class > OdPrcPolyLine3d Methods > setPoints Method > OdPrcPolyLine3d::setPoints Method (double *, OdUInt32, bool)
OdPrcPolyLine3d::setPoints Method (double *, OdUInt32, bool)
Syntax
C++
OdResult setPoints(const double * points, OdUInt32 numPoints, bool updateParameterization = false);
Parameters 
Description 
const double * points 
[in] A pointer to a new double array 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.