Open CASCADE Technology 6.6.0
Public Member Functions
IntPatch_WLine Class Reference

Definition of set of points as a result of the intersection
between 2 parametrised patches.

#include <IntPatch_WLine.hxx>

Inheritance diagram for IntPatch_WLine:
Inheritance graph
[legend]

Public Member Functions

 IntPatch_WLine (const Handle< IntSurf_LineOn2S > &Line, const Standard_Boolean Tang, const IntSurf_TypeTrans Trans1, const IntSurf_TypeTrans Trans2)
 Creates a WLine as an intersection when the
transitions are In or Out.

 IntPatch_WLine (const Handle< IntSurf_LineOn2S > &Line, const Standard_Boolean Tang, const IntSurf_Situation Situ1, const IntSurf_Situation Situ2)
 Creates a WLine as an intersection when the
transitions are Touch.

 IntPatch_WLine (const Handle< IntSurf_LineOn2S > &Line, const Standard_Boolean Tang)
 Creates a WLine as an intersection when the
transitions are Undecided.

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

void SetPoint (const Standard_Integer Index, const IntPatch_Point &Pnt)
 Set the Point of index <Index> in the LineOn2S

void Replace (const Standard_Integer Index, const IntPatch_Point &Pnt)
 Replaces the element of range Index in the list
of points.
The exception OutOfRange is raised when
Index <= 0 or Index > NbVertex.

void SetFirstPoint (const Standard_Integer IndFirst)
void SetLastPoint (const Standard_Integer IndLast)
Standard_Integer NbPnts () const
 Returns the number of intersection points.

const IntSurf_PntOn2SPoint (const Standard_Integer Index) const
 Returns the intersection point of range Index.

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 Point corresponding to the FirstPoint.

const IntPatch_PointLastPoint () const
 Returns the Point corresponding to the LastPoint.

const IntPatch_PointFirstPoint (Standard_Integer &Indfirst) const
 Returns the Point corresponding to the FirstPoint.
Indfirst is the index of the first in the list
of vertices.

const IntPatch_PointLastPoint (Standard_Integer &Indlast) const
 Returns the Point corresponding to the LastPoint.
Indlast is the index of the last in the list
of vertices.

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.

Handle_IntSurf_LineOn2S Curve () const
Standard_Boolean IsOutSurf1Box (const gp_Pnt2d &P1)
Standard_Boolean IsOutSurf2Box (const gp_Pnt2d &P1)
Standard_Boolean IsOutBox (const gp_Pnt &P)
void SetPeriod (const Standard_Real pu1, const Standard_Real pv1, const Standard_Real pu2, const Standard_Real pv2)
Standard_Real U1Period () const
Standard_Real V1Period () const
Standard_Real U2Period () const
Standard_Real V2Period () const
void SetArcOnS1 (const Handle< Adaptor2d_HCurve2d > &A)
Standard_Boolean HasArcOnS1 () const
const Handle_Adaptor2d_HCurve2d & GetArcOnS1 () const
void SetArcOnS2 (const Handle< Adaptor2d_HCurve2d > &A)
Standard_Boolean HasArcOnS2 () const
const Handle_Adaptor2d_HCurve2d & GetArcOnS2 () const
void Dump () const

Constructor & Destructor Documentation

IntPatch_WLine::IntPatch_WLine ( const Handle< IntSurf_LineOn2S > &  Line,
const Standard_Boolean  Tang,
const IntSurf_TypeTrans  Trans1,
const IntSurf_TypeTrans  Trans2 
)
IntPatch_WLine::IntPatch_WLine ( const Handle< IntSurf_LineOn2S > &  Line,
const Standard_Boolean  Tang,
const IntSurf_Situation  Situ1,
const IntSurf_Situation  Situ2 
)
IntPatch_WLine::IntPatch_WLine ( const Handle< IntSurf_LineOn2S > &  Line,
const Standard_Boolean  Tang 
)

Member Function Documentation

void IntPatch_WLine::AddVertex ( const IntPatch_Point Pnt)
void IntPatch_WLine::ComputeVertexParameters ( const Standard_Real  Tol)
Handle_IntSurf_LineOn2S IntPatch_WLine::Curve ( ) const
void IntPatch_WLine::Dump ( ) const
const IntPatch_Point& IntPatch_WLine::FirstPoint ( ) const
const IntPatch_Point& IntPatch_WLine::FirstPoint ( Standard_Integer Indfirst) const
const Handle_Adaptor2d_HCurve2d& IntPatch_WLine::GetArcOnS1 ( ) const
const Handle_Adaptor2d_HCurve2d& IntPatch_WLine::GetArcOnS2 ( ) const
Standard_Boolean IntPatch_WLine::HasArcOnS1 ( ) const
Standard_Boolean IntPatch_WLine::HasArcOnS2 ( ) const
Standard_Boolean IntPatch_WLine::HasFirstPoint ( ) const
Standard_Boolean IntPatch_WLine::HasLastPoint ( ) const
Standard_Boolean IntPatch_WLine::IsOutBox ( const gp_Pnt P)
Standard_Boolean IntPatch_WLine::IsOutSurf1Box ( const gp_Pnt2d P1)
Standard_Boolean IntPatch_WLine::IsOutSurf2Box ( const gp_Pnt2d P1)
const IntPatch_Point& IntPatch_WLine::LastPoint ( ) const
const IntPatch_Point& IntPatch_WLine::LastPoint ( Standard_Integer Indlast) const
Standard_Integer IntPatch_WLine::NbPnts ( ) const
Standard_Integer IntPatch_WLine::NbVertex ( ) const
const IntSurf_PntOn2S& IntPatch_WLine::Point ( const Standard_Integer  Index) const
void IntPatch_WLine::Replace ( const Standard_Integer  Index,
const IntPatch_Point Pnt 
)
void IntPatch_WLine::SetArcOnS1 ( const Handle< Adaptor2d_HCurve2d > &  A)
void IntPatch_WLine::SetArcOnS2 ( const Handle< Adaptor2d_HCurve2d > &  A)
void IntPatch_WLine::SetFirstPoint ( const Standard_Integer  IndFirst)
void IntPatch_WLine::SetLastPoint ( const Standard_Integer  IndLast)
void IntPatch_WLine::SetPeriod ( const Standard_Real  pu1,
const Standard_Real  pv1,
const Standard_Real  pu2,
const Standard_Real  pv2 
)
void IntPatch_WLine::SetPoint ( const Standard_Integer  Index,
const IntPatch_Point Pnt 
)
Standard_Real IntPatch_WLine::U1Period ( ) const
Standard_Real IntPatch_WLine::U2Period ( ) const
Standard_Real IntPatch_WLine::V1Period ( ) const
Standard_Real IntPatch_WLine::V2Period ( ) const
const IntPatch_Point& IntPatch_WLine::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