Open CASCADE Technology  7.3.0
Public Member Functions

Contap_TheIWLineOfTheIWalking Class Reference

#include <Contap_TheIWLineOfTheIWalking.hxx>

Inheritance diagram for Contap_TheIWLineOfTheIWalking:
Inheritance graph
[legend]

Public Member Functions

 Contap_TheIWLineOfTheIWalking (const IntSurf_Allocator &theAllocator=0)
 
void Reverse ()
 reverse the points in the line. Hasfirst, HasLast are kept. More...
 
void Cut (const Standard_Integer Index)
 Cut the line at the point of rank Index. More...
 
void AddPoint (const IntSurf_PntOn2S &P)
 Add a point in the line. More...
 
void AddStatusFirst (const Standard_Boolean Closed, const Standard_Boolean HasFirst)
 
void AddStatusFirst (const Standard_Boolean Closed, const Standard_Boolean HasLast, const Standard_Integer Index, const IntSurf_PathPoint &P)
 
void AddStatusFirstLast (const Standard_Boolean Closed, const Standard_Boolean HasFirst, const Standard_Boolean HasLast)
 
void AddStatusLast (const Standard_Boolean HasLast)
 
void AddStatusLast (const Standard_Boolean HasLast, const Standard_Integer Index, const IntSurf_PathPoint &P)
 
void AddIndexPassing (const Standard_Integer Index)
 associer a l 'indice du point sur la ligne l'indice du point passant dans l'iterateur de depart More...
 
void SetTangentVector (const gp_Vec &V, const Standard_Integer Index)
 
void SetTangencyAtBegining (const Standard_Boolean IsTangent)
 
void SetTangencyAtEnd (const Standard_Boolean IsTangent)
 
Standard_Integer NbPoints () const
 Returns the number of points of the line (including first point and end point : see HasLastPoint and HasFirstPoint). More...
 
const IntSurf_PntOn2SValue (const Standard_Integer Index) const
 Returns the point of range Index. If index <= 0 or Index > NbPoints, an exception is raised. More...
 
const Handle< IntSurf_LineOn2S > & Line () const
 Returns the LineOn2S contained in the walking line. More...
 
Standard_Boolean IsClosed () const
 Returns True if the line is closed. More...
 
Standard_Boolean HasFirstPoint () const
 Returns True if the first point of the line is a marching point . when is HasFirstPoint==False ,the line begins on the natural bound of the surface.the line can be too long. More...
 
Standard_Boolean HasLastPoint () const
 Returns True if the end point of the line is a marching point (Point from IntWS). when is HasFirstPoint==False ,the line ends on the natural bound of the surface.the line can be too long. More...
 
const IntSurf_PathPointFirstPoint () const
 Returns the first point of the line when it is a marching point. An exception is raised if HasFirstPoint returns False. More...
 
Standard_Integer FirstPointIndex () const
 Returns the Index of first point of the line when it is a marching point.This index is the index in the PointStartIterator. An exception is raised if HasFirstPoint returns False. More...
 
const IntSurf_PathPointLastPoint () const
 Returns the last point of the line when it is a marching point. An exception is raised if HasLastPoint returns False. More...
 
Standard_Integer LastPointIndex () const
 Returns the index of last point of the line when it is a marching point.This index is the index in the PointStartIterator. An exception is raised if HasLastPoint returns False. More...
 
Standard_Integer NbPassingPoint () const
 returns the number of points belonging to Pnts1 which are passing point. More...
 
void PassingPoint (const Standard_Integer Index, Standard_Integer &IndexLine, Standard_Integer &IndexPnts) const
 returns the index of the point belonging to the line which is associated to the passing point belonging to Pnts1 an exception is raised if Index > NbPassingPoint() More...
 
const gp_VecTangentVector (Standard_Integer &Index) const
 
Standard_Boolean IsTangentAtBegining () const
 
Standard_Boolean IsTangentAtEnd () const
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor. More...
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing. More...
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter. More...
 
virtual ~Standard_Transient ()
 Destructor must be virtual. More...
 
virtual void Delete () const
 Memory deallocator for transient classes. More...
 
virtual const opencascade::handle< Standard_Type > & DynamicType () const
 Returns a type descriptor about this object. More...
 
Standard_Boolean IsInstance (const opencascade::handle< Standard_Type > &theType) const
 Returns a true value if this is an instance of Type. More...
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName. More...
 
Standard_Boolean IsKind (const opencascade::handle< Standard_Type > &theType) const
 Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_Boolean IsKind (const Standard_CString theTypeName) const
 Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_TransientThis () const
 Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 
void IncrementRefCounter () const
 Increments the reference counter of this object. More...
 
Standard_Integer DecrementRefCounter () const
 Decrements the reference counter of this object; returns the decremented value. More...
 

Additional Inherited Members

- Public Types inherited from Standard_Transient
typedef void base_type
 Returns a type descriptor about this object. More...
 
- Static Public Member Functions inherited from Standard_Transient
static const char * get_type_name ()
 Returns a type descriptor about this object. More...
 
static const opencascade::handle< Standard_Type > & get_type_descriptor ()
 Returns type descriptor of Standard_Transient class. More...
 

Constructor & Destructor Documentation

◆ Contap_TheIWLineOfTheIWalking()

Contap_TheIWLineOfTheIWalking::Contap_TheIWLineOfTheIWalking ( const IntSurf_Allocator theAllocator = 0)

Member Function Documentation

◆ AddIndexPassing()

void Contap_TheIWLineOfTheIWalking::AddIndexPassing ( const Standard_Integer  Index)

associer a l 'indice du point sur la ligne l'indice du point passant dans l'iterateur de depart

◆ AddPoint()

void Contap_TheIWLineOfTheIWalking::AddPoint ( const IntSurf_PntOn2S P)

Add a point in the line.

◆ AddStatusFirst() [1/2]

void Contap_TheIWLineOfTheIWalking::AddStatusFirst ( const Standard_Boolean  Closed,
const Standard_Boolean  HasFirst 
)

◆ AddStatusFirst() [2/2]

void Contap_TheIWLineOfTheIWalking::AddStatusFirst ( const Standard_Boolean  Closed,
const Standard_Boolean  HasLast,
const Standard_Integer  Index,
const IntSurf_PathPoint P 
)

◆ AddStatusFirstLast()

void Contap_TheIWLineOfTheIWalking::AddStatusFirstLast ( const Standard_Boolean  Closed,
const Standard_Boolean  HasFirst,
const Standard_Boolean  HasLast 
)

◆ AddStatusLast() [1/2]

void Contap_TheIWLineOfTheIWalking::AddStatusLast ( const Standard_Boolean  HasLast)

◆ AddStatusLast() [2/2]

void Contap_TheIWLineOfTheIWalking::AddStatusLast ( const Standard_Boolean  HasLast,
const Standard_Integer  Index,
const IntSurf_PathPoint P 
)

◆ Cut()

void Contap_TheIWLineOfTheIWalking::Cut ( const Standard_Integer  Index)

Cut the line at the point of rank Index.

◆ FirstPoint()

const IntSurf_PathPoint& Contap_TheIWLineOfTheIWalking::FirstPoint ( ) const

Returns the first point of the line when it is a marching point. An exception is raised if HasFirstPoint returns False.

◆ FirstPointIndex()

Standard_Integer Contap_TheIWLineOfTheIWalking::FirstPointIndex ( ) const

Returns the Index of first point of the line when it is a marching point.This index is the index in the PointStartIterator. An exception is raised if HasFirstPoint returns False.

◆ HasFirstPoint()

Standard_Boolean Contap_TheIWLineOfTheIWalking::HasFirstPoint ( ) const

Returns True if the first point of the line is a marching point . when is HasFirstPoint==False ,the line begins on the natural bound of the surface.the line can be too long.

◆ HasLastPoint()

Standard_Boolean Contap_TheIWLineOfTheIWalking::HasLastPoint ( ) const

Returns True if the end point of the line is a marching point (Point from IntWS). when is HasFirstPoint==False ,the line ends on the natural bound of the surface.the line can be too long.

◆ IsClosed()

Standard_Boolean Contap_TheIWLineOfTheIWalking::IsClosed ( ) const

Returns True if the line is closed.

◆ IsTangentAtBegining()

Standard_Boolean Contap_TheIWLineOfTheIWalking::IsTangentAtBegining ( ) const

◆ IsTangentAtEnd()

Standard_Boolean Contap_TheIWLineOfTheIWalking::IsTangentAtEnd ( ) const

◆ LastPoint()

const IntSurf_PathPoint& Contap_TheIWLineOfTheIWalking::LastPoint ( ) const

Returns the last point of the line when it is a marching point. An exception is raised if HasLastPoint returns False.

◆ LastPointIndex()

Standard_Integer Contap_TheIWLineOfTheIWalking::LastPointIndex ( ) const

Returns the index of last point of the line when it is a marching point.This index is the index in the PointStartIterator. An exception is raised if HasLastPoint returns False.

◆ Line()

const Handle< IntSurf_LineOn2S >& Contap_TheIWLineOfTheIWalking::Line ( ) const

Returns the LineOn2S contained in the walking line.

◆ NbPassingPoint()

Standard_Integer Contap_TheIWLineOfTheIWalking::NbPassingPoint ( ) const

returns the number of points belonging to Pnts1 which are passing point.

◆ NbPoints()

Standard_Integer Contap_TheIWLineOfTheIWalking::NbPoints ( ) const

Returns the number of points of the line (including first point and end point : see HasLastPoint and HasFirstPoint).

◆ PassingPoint()

void Contap_TheIWLineOfTheIWalking::PassingPoint ( const Standard_Integer  Index,
Standard_Integer IndexLine,
Standard_Integer IndexPnts 
) const

returns the index of the point belonging to the line which is associated to the passing point belonging to Pnts1 an exception is raised if Index > NbPassingPoint()

◆ Reverse()

void Contap_TheIWLineOfTheIWalking::Reverse ( )

reverse the points in the line. Hasfirst, HasLast are kept.

◆ SetTangencyAtBegining()

void Contap_TheIWLineOfTheIWalking::SetTangencyAtBegining ( const Standard_Boolean  IsTangent)

◆ SetTangencyAtEnd()

void Contap_TheIWLineOfTheIWalking::SetTangencyAtEnd ( const Standard_Boolean  IsTangent)

◆ SetTangentVector()

void Contap_TheIWLineOfTheIWalking::SetTangentVector ( const gp_Vec V,
const Standard_Integer  Index 
)

◆ TangentVector()

const gp_Vec& Contap_TheIWLineOfTheIWalking::TangentVector ( Standard_Integer Index) const

◆ Value()

const IntSurf_PntOn2S& Contap_TheIWLineOfTheIWalking::Value ( const Standard_Integer  Index) const

Returns the point of range Index. If index <= 0 or Index > NbPoints, an exception is raised.


The documentation for this class was generated from the following file: