Open CASCADE Technology 6.6.0
Public Member Functions
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:
More...

#include <GC_MakeSegment.hxx>

Inheritance diagram for GC_MakeSegment:
Inheritance graph
[legend]

Public Member Functions

 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.

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

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

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

const Handle_Geom_TrimmedCurve & Value () const
 Returns the constructed line segment.

const Handle_Geom_TrimmedCurve & Operator () const
 operator Handle_Geom_TrimmedCurve () const

Detailed Description


Constructor & Destructor Documentation

GC_MakeSegment::GC_MakeSegment ( const gp_Pnt P1,
const gp_Pnt P2 
)
GC_MakeSegment::GC_MakeSegment ( const gp_Lin Line,
const Standard_Real  U1,
const Standard_Real  U2 
)
GC_MakeSegment::GC_MakeSegment ( const gp_Lin Line,
const gp_Pnt Point,
const Standard_Real  Ulast 
)
GC_MakeSegment::GC_MakeSegment ( const gp_Lin Line,
const gp_Pnt P1,
const gp_Pnt P2 
)

Member Function Documentation

const Handle_Geom_TrimmedCurve& GC_MakeSegment::Operator ( ) const
GC_MakeSegment::operator Handle_Geom_TrimmedCurve ( ) const
const Handle_Geom_TrimmedCurve& GC_MakeSegment::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