Open CASCADE Technology 6.6.0
Public Member Functions
gce_MakeLin Class Reference

This class implements the following algorithms used
to create a Lin from gp.
* Create a Lin parallel to another and passing
through a point.
* Create a Lin passing through 2 points.
* Create a lin from its axis (Ax1 from gp).
* Create a lin from a point and a direction.

#include <gce_MakeLin.hxx>

Inheritance diagram for gce_MakeLin:
Inheritance graph
[legend]

Public Member Functions

 gce_MakeLin (const gp_Ax1 &A1)
 Creates a line located along the axis A1.

 gce_MakeLin (const gp_Pnt &P, const gp_Dir &V)
 gce_MakeLin (const gp_Lin &Lin, const gp_Pnt &Point)
 Make a Lin from gp <TheLin> parallel to another
Lin <Lin> and passing through a Pnt <Point>.

 gce_MakeLin (const gp_Pnt &P1, const gp_Pnt &P2)
 Make a Lin from gp <TheLin> passing through 2
Pnt <P1>,<P2>.
It returns false if <p1> and <P2> are confused.

const gp_LinValue () const
 Returns the constructed line.
Exceptions StdFail_NotDone is raised if no line is constructed.

const gp_LinOperator () const
 operator gp_Lin () const

Constructor & Destructor Documentation

gce_MakeLin::gce_MakeLin ( const gp_Ax1 A1)
gce_MakeLin::gce_MakeLin ( const gp_Pnt P,
const gp_Dir V 
)

is the location point (origin) of the line and
<V> is the direction of the line.

gce_MakeLin::gce_MakeLin ( const gp_Lin Lin,
const gp_Pnt Point 
)
gce_MakeLin::gce_MakeLin ( const gp_Pnt P1,
const gp_Pnt P2 
)

Member Function Documentation

const gp_Lin& gce_MakeLin::Operator ( ) const
gce_MakeLin::operator gp_Lin ( ) const
const gp_Lin& gce_MakeLin::Value ( ) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines