Open CASCADE Technology 7.8.2.dev
Intf_TangentZone Class Reference

Describes a zone of tangence between polygons or polyhedra as a sequence of points of intersection. More...

#include <Intf_TangentZone.hxx>

Public Member Functions

Standard_Integer NumberOfPoints () const
 Returns number of SectionPoint in this TangentZone.
 
const Intf_SectionPointGetPoint (const Standard_Integer Index) const
 Gives the SectionPoint of address <Index> in the TangentZone.
 
Standard_Boolean IsEqual (const Intf_TangentZone &Other) const
 Compares two TangentZones.
 
Standard_Boolean operator== (const Intf_TangentZone &Other) const
 
Standard_Boolean Contains (const Intf_SectionPoint &ThePI) const
 Checks if <ThePI> is in TangentZone.
 
void ParamOnFirst (Standard_Real &paraMin, Standard_Real &paraMax) const
 Gives the parameter range of the TangentZone on the first argument of the Interference. (Usable only for polygon)
 
void ParamOnSecond (Standard_Real &paraMin, Standard_Real &paraMax) const
 Gives the parameter range of the TangentZone on the second argument of the Interference. (Usable only for polygon)
 
void InfoFirst (Standard_Integer &segMin, Standard_Real &paraMin, Standard_Integer &segMax, Standard_Real &paraMax) const
 Gives information about the first argument of the Interference. (Usable only for polygon)
 
void InfoSecond (Standard_Integer &segMin, Standard_Real &paraMin, Standard_Integer &segMax, Standard_Real &paraMax) const
 Gives information about the second argument of the Interference. (Usable only for polygon)
 
Standard_Boolean RangeContains (const Intf_SectionPoint &ThePI) const
 Returns True if <ThePI> is in the parameter range of the TangentZone.
 
Standard_Boolean HasCommonRange (const Intf_TangentZone &Other) const
 Returns True if the TangentZone <Other> has a common part with <me>.
 
 Intf_TangentZone ()
 Builds an empty tangent zone.
 
void Append (const Intf_SectionPoint &Pi)
 Adds a SectionPoint to the TangentZone.
 
void Append (const Intf_TangentZone &Tzi)
 Adds the TangentZone <Tzi> to <me>.
 
Standard_Boolean Insert (const Intf_SectionPoint &Pi)
 Inserts a SectionPoint in the TangentZone.
 
void PolygonInsert (const Intf_SectionPoint &Pi)
 Inserts a point in the polygonal TangentZone.
 
void InsertBefore (const Standard_Integer Index, const Intf_SectionPoint &Pi)
 Inserts a SectionPoint before <Index> in the TangentZone.
 
void InsertAfter (const Standard_Integer Index, const Intf_SectionPoint &Pi)
 Inserts a SectionPoint after <Index> in the TangentZone.
 
void Dump (const Standard_Integer Indent) const
 

Detailed Description

Describes a zone of tangence between polygons or polyhedra as a sequence of points of intersection.

Constructor & Destructor Documentation

◆ Intf_TangentZone()

Intf_TangentZone::Intf_TangentZone ( )

Builds an empty tangent zone.

Member Function Documentation

◆ Append() [1/2]

void Intf_TangentZone::Append ( const Intf_SectionPoint & Pi)

Adds a SectionPoint to the TangentZone.

◆ Append() [2/2]

void Intf_TangentZone::Append ( const Intf_TangentZone & Tzi)

Adds the TangentZone <Tzi> to <me>.

◆ Contains()

Standard_Boolean Intf_TangentZone::Contains ( const Intf_SectionPoint & ThePI) const

Checks if <ThePI> is in TangentZone.

◆ Dump()

void Intf_TangentZone::Dump ( const Standard_Integer Indent) const

◆ GetPoint()

const Intf_SectionPoint & Intf_TangentZone::GetPoint ( const Standard_Integer Index) const

Gives the SectionPoint of address <Index> in the TangentZone.

◆ HasCommonRange()

Standard_Boolean Intf_TangentZone::HasCommonRange ( const Intf_TangentZone & Other) const

Returns True if the TangentZone <Other> has a common part with <me>.

◆ InfoFirst()

void Intf_TangentZone::InfoFirst ( Standard_Integer & segMin,
Standard_Real & paraMin,
Standard_Integer & segMax,
Standard_Real & paraMax ) const

Gives information about the first argument of the Interference. (Usable only for polygon)

◆ InfoSecond()

void Intf_TangentZone::InfoSecond ( Standard_Integer & segMin,
Standard_Real & paraMin,
Standard_Integer & segMax,
Standard_Real & paraMax ) const

Gives information about the second argument of the Interference. (Usable only for polygon)

◆ Insert()

Standard_Boolean Intf_TangentZone::Insert ( const Intf_SectionPoint & Pi)

Inserts a SectionPoint in the TangentZone.

◆ InsertAfter()

void Intf_TangentZone::InsertAfter ( const Standard_Integer Index,
const Intf_SectionPoint & Pi )

Inserts a SectionPoint after <Index> in the TangentZone.

◆ InsertBefore()

void Intf_TangentZone::InsertBefore ( const Standard_Integer Index,
const Intf_SectionPoint & Pi )

Inserts a SectionPoint before <Index> in the TangentZone.

◆ IsEqual()

Standard_Boolean Intf_TangentZone::IsEqual ( const Intf_TangentZone & Other) const

Compares two TangentZones.

◆ NumberOfPoints()

Standard_Integer Intf_TangentZone::NumberOfPoints ( ) const

Returns number of SectionPoint in this TangentZone.

◆ operator==()

Standard_Boolean Intf_TangentZone::operator== ( const Intf_TangentZone & Other) const
inline

◆ ParamOnFirst()

void Intf_TangentZone::ParamOnFirst ( Standard_Real & paraMin,
Standard_Real & paraMax ) const

Gives the parameter range of the TangentZone on the first argument of the Interference. (Usable only for polygon)

◆ ParamOnSecond()

void Intf_TangentZone::ParamOnSecond ( Standard_Real & paraMin,
Standard_Real & paraMax ) const

Gives the parameter range of the TangentZone on the second argument of the Interference. (Usable only for polygon)

◆ PolygonInsert()

void Intf_TangentZone::PolygonInsert ( const Intf_SectionPoint & Pi)

Inserts a point in the polygonal TangentZone.

◆ RangeContains()

Standard_Boolean Intf_TangentZone::RangeContains ( const Intf_SectionPoint & ThePI) const

Returns True if <ThePI> is in the parameter range of the TangentZone.


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