API Reference > Classes > PRC Curve Classes > OdPrcLine2d Class
OdPrcLine2d Class
OdPrcLine2dOdPrcLine2dOdPrcLine2d
Syntax
C++
class OdPrcLine2d : public OdPrcCurve2d;

PrcLine2d.h

 

Class implements a two-dimensional line. A canonical line is allocated along the positive half of the X-axis and starts from the 0.0 point. A line 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 

 

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

Destroys the line object. 
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.