Open CASCADE Technology  7.1.0.beta
Public Member Functions

gce_MakeLin Class Reference

This class implements the following algorithms used to create a Lin from gp. More...

#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. More...
 
 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>. More...
 
 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. More...
 
const gp_LinValue () const
 Returns the constructed line. Exceptions StdFail_NotDone is raised if no line is constructed. More...
 
const gp_LinOperator () const
 
 operator gp_Lin () 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 a Lin from gp.

Constructor & Destructor Documentation

gce_MakeLin::gce_MakeLin ( const gp_Ax1 A1)

Creates a line located along the axis 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 
)

Make a Lin from gp <TheLin> parallel to another Lin <Lin> and passing through a Pnt <Point>.

gce_MakeLin::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.

Member Function Documentation

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

Returns the constructed line. Exceptions StdFail_NotDone is raised if no line is constructed.


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