Open CASCADE Technology  7.6.0
Public Member Functions

gce_MakeParab Class Reference

This class implements the following algorithms used to create Parab from gp. Defines the parabola in the parameterization range : ]-infinite, +infinite[ The vertex of the parabola is the "Location" point of the local coordinate system (axis placement) of the parabola. More...

#include <gce_MakeParab.hxx>

Inheritance diagram for gce_MakeParab:
Inheritance graph
[legend]

Public Member Functions

 gce_MakeParab (const gp_Ax2 &A2, const Standard_Real Focal)
 — Purpose ; Creates a parabola with its local coordinate system "A2" and it's focal length "Focal". The XDirection of A2 defines the axis of symmetry of the parabola. The YDirection of A2 is parallel to the directrix of the parabola. The Location point of A2 is the vertex of the parabola The status is "NullFocusLength" if Focal < 0.0 More...
 
 gce_MakeParab (const gp_Ax1 &D, const gp_Pnt &F)
 D is the directrix of the parabola and F the focus point. The symmetry axis (XAxis) of the parabola is normal to the directrix and pass through the focus point F, but its location point is the vertex of the parabola. The YAxis of the parabola is parallel to D and its location point is the vertex of the parabola. The normal to the plane of the parabola is the cross product between the XAxis and the YAxis. More...
 
const gp_ParabValue () const
 Returns the constructed parabola. Exceptions StdFail_NotDone if no parabola is constructed. More...
 
const gp_ParabOperator () const
 
 operator gp_Parab () const
 
- Public Member Functions inherited from gce_Root
Standard_Boolean IsDone () const
 Returns true if the construction is successful. More...
 
gce_ErrorType Status () const
 Returns the status of the construction: More...
 

Additional Inherited Members

- Protected Attributes inherited from gce_Root
gce_ErrorType TheError
 

Detailed Description

This class implements the following algorithms used to create Parab from gp. Defines the parabola in the parameterization range : ]-infinite, +infinite[ The vertex of the parabola is the "Location" point of the local coordinate system (axis placement) of the parabola.

The "XDirection" and the "YDirection" of this system define the plane of the parabola.

The "XAxis" of the parabola ("Location", "XDirection") is the axis of symmetry of the parabola. The Xaxis is oriented from the vertex of the parabola to the Focus of the parabola.

The "YAxis" of the parabola ("Location", "YDirection") is parallel to the directrix of the parabola.

The equation of the parabola in the local coordinates system is Y**2 = (2*P) * X P is the distance between the focus and the directrix of the parabola (called Parameter). The focal length F = P/2 is the distance between the vertex and the focus of the parabola.

Constructor & Destructor Documentation

◆ gce_MakeParab() [1/2]

gce_MakeParab::gce_MakeParab ( const gp_Ax2 A2,
const Standard_Real  Focal 
)

— Purpose ; Creates a parabola with its local coordinate system "A2" and it's focal length "Focal". The XDirection of A2 defines the axis of symmetry of the parabola. The YDirection of A2 is parallel to the directrix of the parabola. The Location point of A2 is the vertex of the parabola The status is "NullFocusLength" if Focal < 0.0

◆ gce_MakeParab() [2/2]

gce_MakeParab::gce_MakeParab ( const gp_Ax1 D,
const gp_Pnt F 
)

D is the directrix of the parabola and F the focus point. The symmetry axis (XAxis) of the parabola is normal to the directrix and pass through the focus point F, but its location point is the vertex of the parabola. The YAxis of the parabola is parallel to D and its location point is the vertex of the parabola. The normal to the plane of the parabola is the cross product between the XAxis and the YAxis.

Member Function Documentation

◆ Operator()

const gp_Parab& gce_MakeParab::Operator ( ) const

◆ operator gp_Parab()

gce_MakeParab::operator gp_Parab ( ) const

◆ Value()

const gp_Parab& gce_MakeParab::Value ( ) const

Returns the constructed parabola. Exceptions StdFail_NotDone if no parabola is constructed.


The documentation for this class was generated from the following file: