API Reference > Classes > PRC Curve Classes > OdPrcPolyLine2d Class
OdPrcPolyLine2d Class
OdPrcPolyLine2dOdPrcPolyLine2dOdPrcPolyLine2d
Syntax
C++
class OdPrcPolyLine2d : public OdPrcCurve2d;

PrcPolyLine2d.h

 

Class implements a two-dimensional polyline consisting of a set of lines defined by a sequence of points. A polyline can be parameterized and transformed for positioning in model space.

Transformation can be one of the following:

Value Description 
0x00 Identity 
0x01 Translate 
0x02 Rotate 
0x08 Scale 

 

OdPrcPolyLine2d inherits the OdPrcCurve class and can be reparameterized and trimmed using the OdPrcParameterization class and setParameterization() method.

Destroys the polyline object. 
Returns the current array of points which define the polyline. 
This is the overview for the setPoints method overload. 
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.