OCC Main Page | ModelingData | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingData
TKGeomBase
gce


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

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT gce_MakeLin (const gp_Ax1 &A1)
 Creates a line located along the axis A1.
.
Standard_EXPORT 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.

Standard_EXPORT 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>.
.
Standard_EXPORT 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.
.
Standard_EXPORT const gp_Lin & Value () const
 Returns the constructed line.
Exceptions StdFail_NotDone is raised if no line is constructed.
.
Standard_EXPORT const gp_Lin & Operator () const
Standard_EXPORT operator gp_Lin () const

Private Attributes

gp_Lin TheLin

Constructor & Destructor Documentation

Standard_EXPORT gce_MakeLin::gce_MakeLin const gp_Ax1 &  A1  ) 
 

Standard_EXPORT gce_MakeLin::gce_MakeLin const gp_Pnt &  P,
const gp_Dir &  V
 

Standard_EXPORT gce_MakeLin::gce_MakeLin const gp_Lin &  Lin,
const gp_Pnt &  Point
 

Standard_EXPORT gce_MakeLin::gce_MakeLin const gp_Pnt &  P1,
const gp_Pnt &  P2
 


Member Function Documentation

Standard_EXPORT const gp_Lin& gce_MakeLin::Operator  )  const
 

void gce_MakeLin::operator delete void *  anAddress  )  [inline]
 

Reimplemented from gce_Root.

Standard_EXPORT gce_MakeLin::operator gp_Lin  )  const
 

void* gce_MakeLin::operator new size_t  size  )  [inline]
 

Reimplemented from gce_Root.

void* gce_MakeLin::operator new size_t  ,
void *  anAddress
[inline]
 

Reimplemented from gce_Root.

Standard_EXPORT const gp_Lin& gce_MakeLin::Value  )  const
 


Field Documentation

gp_Lin gce_MakeLin::TheLin [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:22:44 2008 for OpenCASCADE by  doxygen 1.4.1