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

ModelingData
TKGeomBase
GC


GC_MakeSegment Class Reference

Implements construction algorithms for a line
segment in 3D space. The result is a Geom_TrimmedCurve curve.
A MakeSegment object provides a framework for:
- defining the construction of the line segment,
- implementing the construction algorithm, and
- consulting the results. In particular, the Value
function returns the constructed line segment.
.

#include <GC_MakeSegment.hxx>

Inheritance diagram for GC_MakeSegment:

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 GC_MakeSegment (const gp_Pnt &P1, const gp_Pnt &P2)
 Make a segment of Line from the 2 points <p1> and <p2>.
It returns NullObject if <p1> and <p2> are confused.
.
Standard_EXPORT GC_MakeSegment (const gp_Lin &Line, const Standard_Real U1, const Standard_Real U2)
 Make a segment of Line from the line <line1>
between the two parameters U1 and U2.
It returns NullObject if <u1> is equal <u2>.
.
Standard_EXPORT GC_MakeSegment (const gp_Lin &Line, const gp_Pnt &Point, const Standard_Real Ulast)
 Make a segment of Line from the line <line1>
between the point <point> and the parameter Ulast.
It returns NullObject if <u1> is equal <u2>.
.
Standard_EXPORT GC_MakeSegment (const gp_Lin &Line, const gp_Pnt &P1, const gp_Pnt &P2)
 Make a segment of Line from the line <line1>
between the two points <p1> and <p2>.
It returns NullObject if <u1> is equal <u2>.
.
Standard_EXPORT const Handle_Geom_TrimmedCurve & Value () const
 Returns the constructed line segment.
.
Standard_EXPORT const Handle_Geom_TrimmedCurve & Operator () const
Standard_EXPORT operator Handle_Geom_TrimmedCurve () const

Private Attributes

Handle_Geom_TrimmedCurve TheSegment

Constructor & Destructor Documentation

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

Standard_EXPORT GC_MakeSegment::GC_MakeSegment const gp_Lin &  Line,
const Standard_Real  U1,
const Standard_Real  U2
 

Standard_EXPORT GC_MakeSegment::GC_MakeSegment const gp_Lin &  Line,
const gp_Pnt &  Point,
const Standard_Real  Ulast
 

Standard_EXPORT GC_MakeSegment::GC_MakeSegment const gp_Lin &  Line,
const gp_Pnt &  P1,
const gp_Pnt &  P2
 


Member Function Documentation

Standard_EXPORT const Handle_Geom_TrimmedCurve& GC_MakeSegment::Operator  )  const
 

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

Reimplemented from GC_Root.

Standard_EXPORT GC_MakeSegment::operator Handle_Geom_TrimmedCurve  )  const
 

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

Reimplemented from GC_Root.

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

Reimplemented from GC_Root.

Standard_EXPORT const Handle_Geom_TrimmedCurve& GC_MakeSegment::Value  )  const
 


Field Documentation

Handle_Geom_TrimmedCurve GC_MakeSegment::TheSegment [private]
 


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