API Reference > Classes > PRC Curve Classes > OdPrcEquationCurve2d Class
OdPrcEquationCurve2d Class
OdPrcEquationCurve2dOdPrcEquationCurve2dOdPrcEquationCurve2d
Syntax
C++
class OdPrcEquationCurve2d : public OdPrcCurve2d;

PrcEquationCurve2d.h

 

Class implements a two-dimensional curve defined by mathematical functions of one variable on the X and Y axis. Equation curve 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 

 

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

Destroys the equation curve object. 
Returns the current mathematical function for the X-axis. 
Returns the current mathematical function for the Y-axis. 
Sets a new mathematical function for the X-axis of the equation curve.
 
Sets a new mathematical function for the Y-axis of the equation curve.
 
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.