Hide menu
Loading...
Searching...
No Matches

Defines 3D hyperbola. More...

Inheritance diagram for cadex.Geom.Hyperbola:
cadex.Geom.Conic cadex.Geom.Curve cadex.Geom.Geometry cadex.BaseObject

Public Member Functions

 Hyperbola (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 Hyperbola (cadex.Geom.Axis3d thePosition, double theMajorRadius, double theMinorRadius)
 Constructor.
 
double MajorRadius ()
 Returns a major radius.
 
double MinorRadius ()
 Returns a minor radius.
 
- Public Member Functions inherited from cadex.Geom.Conic
 Conic (global::System.IntPtr cPtr, bool cMemoryOwn)
 
cadex.Geom.Axis3d Position ()
 Returns an axis.
 
double Parameter (cadex.Geom.Point thePoint)
 Returns parameter for a 3D point.
 
- Public Member Functions inherited from cadex.Geom.Curve
 Curve (global::System.IntPtr cPtr, bool cMemoryOwn)
 
cadex.Geom.CurveType Type ()
 
cadex.Geom.Continuity Continuity ()
 Returns a continuity type of the curve.
 
cadex.Geom.Point Value (double theParameter)
 Evaluates a point on the curve.
 
cadex.Geom.Direction Normal (double theParameter)
 Returns the normal direction theNormal of parameter theParam.
 
double Curvature (double theParameter)
 Returns the curvature value of parameter theParam.
 
bool IsPeriodic ()
 Returns true if the curve is periodic.
 
double UMin ()
 Returns a minimum parameter of a definition domain.
 
double UMax ()
 Returns a maximum parameter of a definition domain.
 
void Domain (out double theUMin, out double theUMax)
 Returns a definition domain.
 
bool IsTrimmed ()
 Returns whether curve is trimmed or not.
 
void SetTrim (double theFirst, double theLast)
 Trims curve with [theFirst, theLast] section.
 
void Transform (cadex.Geom.Transformation theTransformation)
 Applies transformation matrix to this object.
 
cadex.Geom.Curve Transformed (cadex.Geom.Transformation theTransformation)
 Returns a copy this object after applying transformation.
 
void D0 (double theParameter, cadex.Geom.Point theValue)
 Returns the point theValue of parameter theParam.
 
void D1 (double theParameter, cadex.Geom.Point theValue, cadex.Geom.Vector theD1)
 
void D2 (double theParameter, cadex.Geom.Point theValue, cadex.Geom.Vector theD1, cadex.Geom.Vector theD2)
 Returns the point theValue of parameter theParam, the first theD1 and second theD2 derivatives.
 
bool DN (double theParameter, uint theDerivativeOrder, cadex.Geom.Point theValue, cadex.Collections.VectorList theD)
 
void Mirror (cadex.Geom.Point thePoint)
 
void Mirror (cadex.Geom.Axis1d theAxis)
 
void Mirror (cadex.Geom.Axis3d theAxis)
 
cadex.Geom.Curve Mirrored (cadex.Geom.Point theRef)
 
cadex.Geom.Curve Mirrored (cadex.Geom.Axis1d theAxis)
 
cadex.Geom.Curve Mirrored (cadex.Geom.Axis3d theAxis)
 
void Rotate (cadex.Geom.Axis1d theAxis, double theAngle)
 
cadex.Geom.Curve Rotated (cadex.Geom.Axis1d theAxis, double theAngle)
 
void Translate (cadex.Geom.Vector theVector)
 
cadex.Geom.Curve Translated (cadex.Geom.Vector theVector)
 
void Scale (cadex.Geom.Point thePoint, double theScale)
 
cadex.Geom.Curve Scaled (cadex.Geom.Point thePoint, double theScale)
 
- Public Member Functions inherited from cadex.Geom.Geometry
 Geometry (global::System.IntPtr cPtr, bool cMemoryOwn)
 
- Public Member Functions inherited from cadex.BaseObject
 BaseObject (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
bool IsNull ()
 
ulong Id ()
 Return unique identifier of public object.
 
bool IsEqual (cadex.BaseObject theObj)
 
override int GetHashCode ()
 
override bool Equals (System.Object o)
 

Static Public Member Functions

static new bool CompareType (cadex.BaseObject theObject)
 
static new cadex.Geom.Hyperbola Cast (cadex.Geom.Curve theBase)
 
- Static Public Member Functions inherited from cadex.Geom.Conic
static new bool CompareType (cadex.BaseObject theObject)
 
static cadex.Geom.Conic Cast (cadex.Geom.Curve theBase)
 
- Static Public Member Functions inherited from cadex.Geom.Curve
static new bool CompareType (cadex.BaseObject theObject)
 
static cadex.Geom.Curve Cast (cadex.Geom.Geometry theBase)
 
- Static Public Member Functions inherited from cadex.Geom.Geometry
static bool CompareType (cadex.BaseObject theObject)
 
static cadex.Geom.Geometry Cast (cadex.BaseObject theBase)
 

Protected Member Functions

override void Dispose (bool disposing)
 

Detailed Description

Defines 3D hyperbola.

A hyperbola is defined by axis placement, major and minor radii. The following image depicts a hyperbola example:

Hyperbola

A hyperbola is a non-periodic curve parametrized as follows: \(\mathbf{C}(t) = \mathbf{P} + R_{major}\cosh(t)\mathbf{X} + R_{minor}\sinh(t)\mathbf{Y}\), where

  • \(\mathbf{P}\) is an origin point,
  • \(\mathbf{X}\) and \(\mathbf{Y}\) are directions,
  • \(R_{major}\) and \(R_{minor}\) are major and minor radii,
  • \(t\) belongs to \((-\infty, +\infty)\).

Note that only one branch of hyperbola is used.

See also
Hyperbola2d.
Examples
exploring/brep_geometry/Program.cs, and exploring/brep_geometry/main.cxx.

Member Function Documentation

◆ Dispose()

override void cadex.Geom.Hyperbola.Dispose ( bool disposing)
inlineprotectedvirtual

Reimplemented from cadex.Geom.Conic.

◆ MajorRadius()

double cadex.Geom.Hyperbola.MajorRadius ( )
inline

Returns a major radius.

Returns the value specified in the constructor.

Examples
exploring/brep_geometry/Program.cs, and exploring/brep_geometry/main.cxx.

◆ MinorRadius()

double cadex.Geom.Hyperbola.MinorRadius ( )
inline

Returns a minor radius.

Returns the value specified in the constructor.

Examples
exploring/brep_geometry/Program.cs, and exploring/brep_geometry/main.cxx.