Open CASCADE Technology 6.6.0
Public Member Functions
IntPatch_ALine Class Reference

Implementation of an intersection line described by a
parametrised curve.

#include <IntPatch_ALine.hxx>

Inheritance diagram for IntPatch_ALine:
Inheritance graph
[legend]

Public Member Functions

 IntPatch_ALine (const IntAna_Curve &C, const Standard_Boolean Tang, const IntSurf_TypeTrans Trans1, const IntSurf_TypeTrans Trans2)
 Creates an analytic intersection line
when the transitions are In or Out.

 IntPatch_ALine (const IntAna_Curve &C, const Standard_Boolean Tang, const IntSurf_Situation Situ1, const IntSurf_Situation Situ2)
 Creates an analytic intersection line
when the transitions are Touch.

 IntPatch_ALine (const IntAna_Curve &C, const Standard_Boolean Tang)
 Creates an analytic intersection line
when the transitions are Undecided.

void AddVertex (const IntPatch_Point &Pnt)
 To add a vertex in the list.

void Replace (const Standard_Integer Index, const IntPatch_Point &Pnt)
 Replaces the element of range Index in the list
of points.

void SetFirstPoint (const Standard_Integer IndFirst)
void SetLastPoint (const Standard_Integer IndLast)
Standard_Real FirstParameter (Standard_Boolean &IsIncluded) const
 Returns the first parameter on the intersection line.
If IsIncluded returns True, Value and D1 methods can
be call with a parameter equal to FirstParamater.
Otherwise, the parameter must be greater than
FirstParameter.

Standard_Real LastParameter (Standard_Boolean &IsIncluded) const
 Returns the last parameter on the intersection line.
If IsIncluded returns True, Value and D1 methods can
be call with a parameter equal to LastParamater.
Otherwise, the parameter must be less than LastParameter.

gp_Pnt Value (const Standard_Real U)
 Returns the point of parameter U on the analytic
intersection line.

Standard_Boolean D1 (const Standard_Real U, gp_Pnt &P, gp_Vec &Du)
 Returns Standard_True when the derivative at parameter U
is defined on the analytic intersection line.
In that case, Du is the derivative.
Returns Standard_False when it is not possible to
evaluate the derivative.
In both cases, P is the point at parameter U on the
intersection.

Standard_Boolean FindParameter (const gp_Pnt &P, Standard_Real &Para) const
 Tries to find the parameter of the point P on the curve.
If the method returns False, the "projection" is
impossible, and the value of Para is not significant.
If the method returns True, Para is the parameter of the
nearest intersection between the curve and the iso-theta
containing P.

Standard_Boolean HasFirstPoint () const
 Returns True if the line has a known First point.
This point is given by the method FirstPoint().

Standard_Boolean HasLastPoint () const
 Returns True if the line has a known Last point.
This point is given by the method LastPoint().

const IntPatch_PointFirstPoint () const
 Returns the IntPoint corresponding to the FirstPoint.
An exception is raised when HasFirstPoint returns False.

const IntPatch_PointLastPoint () const
 Returns the IntPoint corresponding to the LastPoint.
An exception is raised when HasLastPoint returns False.

Standard_Integer NbVertex () const
const IntPatch_PointVertex (const Standard_Integer Index) const
 Returns the vertex of range Index on the line.

void ComputeVertexParameters (const Standard_Real Tol)
 Set the parameters of all the vertex on the line.
if a vertex is already in the line,
its parameter is modified
else a new point in the line is inserted.

const IntAna_CurveCurve () const

Constructor & Destructor Documentation

IntPatch_ALine::IntPatch_ALine ( const IntAna_Curve C,
const Standard_Boolean  Tang,
const IntSurf_TypeTrans  Trans1,
const IntSurf_TypeTrans  Trans2 
)
IntPatch_ALine::IntPatch_ALine ( const IntAna_Curve C,
const Standard_Boolean  Tang,
const IntSurf_Situation  Situ1,
const IntSurf_Situation  Situ2 
)
IntPatch_ALine::IntPatch_ALine ( const IntAna_Curve C,
const Standard_Boolean  Tang 
)

Member Function Documentation

void IntPatch_ALine::AddVertex ( const IntPatch_Point Pnt)
void IntPatch_ALine::ComputeVertexParameters ( const Standard_Real  Tol)
const IntAna_Curve& IntPatch_ALine::Curve ( ) const
Standard_Boolean IntPatch_ALine::D1 ( const Standard_Real  U,
gp_Pnt P,
gp_Vec Du 
)
Standard_Boolean IntPatch_ALine::FindParameter ( const gp_Pnt P,
Standard_Real Para 
) const
Standard_Real IntPatch_ALine::FirstParameter ( Standard_Boolean IsIncluded) const
const IntPatch_Point& IntPatch_ALine::FirstPoint ( ) const
Standard_Boolean IntPatch_ALine::HasFirstPoint ( ) const
Standard_Boolean IntPatch_ALine::HasLastPoint ( ) const
Standard_Real IntPatch_ALine::LastParameter ( Standard_Boolean IsIncluded) const
const IntPatch_Point& IntPatch_ALine::LastPoint ( ) const
Standard_Integer IntPatch_ALine::NbVertex ( ) const
void IntPatch_ALine::Replace ( const Standard_Integer  Index,
const IntPatch_Point Pnt 
)
void IntPatch_ALine::SetFirstPoint ( const Standard_Integer  IndFirst)
void IntPatch_ALine::SetLastPoint ( const Standard_Integer  IndLast)
gp_Pnt IntPatch_ALine::Value ( const Standard_Real  U)
const IntPatch_Point& IntPatch_ALine::Vertex ( const Standard_Integer  Index) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines