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

ModelingData
TKGeomBase
GCE2d


GCE2d_MakeLine Class Reference

This class implements the following algorithms used
to create a Line from Geom2d.
* Create a Line parallel to another and passing
through a point.
* Create a Line passing through 2 points.
.

#include <GCE2d_MakeLine.hxx>

Inheritance diagram for GCE2d_MakeLine:

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 GCE2d_MakeLine (const gp_Ax2d &A)
 Creates a line located in 2D space with the axis placement A.
The Location of A is the origin of the line.
.
Standard_EXPORT GCE2d_MakeLine (const gp_Lin2d &L)
 Creates a line from a non persistent line from package gp.
.
Standard_EXPORT GCE2d_MakeLine (const gp_Pnt2d &P, const gp_Dir2d &V)
 P is the origin and V is the direction of the line.
.
Standard_EXPORT GCE2d_MakeLine (const gp_Lin2d &Lin, const gp_Pnt2d &Point)
 Make a Line from Geom2d <thelin> parallel to another
Lin <lin> and passing through a Pnt <point>.
.
Standard_EXPORT GCE2d_MakeLine (const gp_Lin2d &Lin, const Standard_Real Dist)
 Make a Line from Geom2d <thelin> parallel to another
Lin <lin> at a distance <dist>.
.
Standard_EXPORT GCE2d_MakeLine (const gp_Pnt2d &P1, const gp_Pnt2d &P2)
 Make a Line from Geom2d <thelin> passing through 2
Pnt <p1>,<p2>.
It returns false if <p1> and <p2> are confused.
Warning
If points P1 and P2 coincident (that is, when IsDone
returns false), the Status function returns gce_ConfusedPoints.
.
Standard_EXPORT const Handle_Geom2d_Line & Value () const
 Returns the constructed line.
Exceptions StdFail_NotDone if no line is constructed.
.
Standard_EXPORT const Handle_Geom2d_Line & Operator () const
Standard_EXPORT operator Handle_Geom2d_Line () const

Private Attributes

Handle_Geom2d_Line TheLine

Constructor & Destructor Documentation

Standard_EXPORT GCE2d_MakeLine::GCE2d_MakeLine const gp_Ax2d &  A  ) 
 

Standard_EXPORT GCE2d_MakeLine::GCE2d_MakeLine const gp_Lin2d &  L  ) 
 

Standard_EXPORT GCE2d_MakeLine::GCE2d_MakeLine const gp_Pnt2d &  P,
const gp_Dir2d &  V
 

Standard_EXPORT GCE2d_MakeLine::GCE2d_MakeLine const gp_Lin2d &  Lin,
const gp_Pnt2d &  Point
 

Standard_EXPORT GCE2d_MakeLine::GCE2d_MakeLine const gp_Lin2d &  Lin,
const Standard_Real  Dist
 

Standard_EXPORT GCE2d_MakeLine::GCE2d_MakeLine const gp_Pnt2d &  P1,
const gp_Pnt2d &  P2
 


Member Function Documentation

Standard_EXPORT const Handle_Geom2d_Line& GCE2d_MakeLine::Operator  )  const
 

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

Reimplemented from GCE2d_Root.

Standard_EXPORT GCE2d_MakeLine::operator Handle_Geom2d_Line  )  const
 

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

Reimplemented from GCE2d_Root.

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

Reimplemented from GCE2d_Root.

Standard_EXPORT const Handle_Geom2d_Line& GCE2d_MakeLine::Value  )  const
 


Field Documentation

Handle_Geom2d_Line GCE2d_MakeLine::TheLine [private]
 


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