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.

 
Name 
Description 
 
Destroys the curve object. 
OdPrcHyperbola2d Class
 
Name 
Description 
 
Destroys the hyperbola. 
 
Name 
Description 
 
This is the overview for the contentCurve method overload. 
 
is3d 
Returns the current curve's 3D flag value. The flag is equal to true if the curve is a 3D object or is equal to false in the other case. 
 
Returns the current parameterization information used for the curve. 
 
read 
Reads curve data from a specified input stream, and creates and returns a curve entity.
 
 
Reads data from a specified input stream into a curve array.
 
 
Reads curve data from a specified input stream, creates a curve, and returns a smart pointer to an OdPrcCurve object.
 
 
Sets new parametrization information to the curve.
 
 
Writes data from a curve array to a specified output stream.
 
 
Writes curve data to a specified output stream.
 
OdPrcCurve2d Class
 
Name 
Description 
 
Creates new 2d curve instance from OdGeCurve2d.
 
 
Returns the current transformation matrix for the curve. 
 
Returns the current curve data.
 
 
is3d 
Returns the current curve's 3D flag value. The flag is equal to true if the curve is a 3D object or is equal to false in the other case. 
 
Sets a new instance of the curve data.
 
 
Sets a new transformation for the curve.
 
 
Returns the current transformation for the curve. 
OdPrcHyperbola2d Class
 
Name 
Description 
 
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-2020. Open Design Alliance. All rights reserved.