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