API Reference > Classes > PRC Curve Classes > OdPrcHyperbola2d Class
OdPrcHyperbola2d Class
OdPrcHyperbola2dOdPrcHyperbola2dOdPrcHyperbola2d
Syntax
C++
class OdPrcHyperbola2d : public OdPrcCurve2d;

PrcHyperbola2d.h

 

Class implements a two-dimensional hyperbola defined on an [-infinite, infinite] interval. A hyperbola 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 

 

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

Destroys the hyperbola. 
Returns the current parameterization type used for the hyperbola.
There are two types of hyperbola parameterization:  
Returns the current value of the semi_axis length for the hyperbola. The semi_axis length determines the length the hyperbola is centered with at the origin. The semi_axis length is along the X-axis. 
Returns the current value of the semi_image_axis length for the hyperbola. The semi_image_axis length determines the length the hyperbola is centered with at the origin. The semi_image_axis length is along the Y-axis. 
Sets a new value of the hyperbola parameterization type. There are two types of hyperbola parameterization:  
Sets a new value of the semi_axis length for the hyperbola. The semi_axis length determines the length the hyperbola is centered with at the origin. The semi_axis length is along the X-axis.
 
Sets a new value of the semi_image_axis length for the hyperbola. The semi_image_axis length determines the length the hyperbola is centered with at the origin. The semi_image_axis length is along the Y-axis.
 
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.