Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Intf_TangentZone Class Reference

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

#include <Intf_TangentZone.hxx>

Public Member Functions

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

 Intf_TangentZone (const Intf_TangentZone &Other)
 Copies a 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

Constructor & Destructor Documentation


Member Function Documentation

void Intf_TangentZone::InfoFirst ( Standard_Integer segMin,
Standard_Real paraMin,
Standard_Integer segMax,
Standard_Real paraMax 
) const
void Intf_TangentZone::InfoSecond ( Standard_Integer segMin,
Standard_Real paraMin,
Standard_Integer segMax,
Standard_Real paraMax 
) const
Standard_Boolean Intf_TangentZone::operator== ( const Intf_TangentZone Other) const [inline]
void Intf_TangentZone::ParamOnFirst ( Standard_Real paraMin,
Standard_Real paraMax 
) const
void Intf_TangentZone::ParamOnSecond ( Standard_Real paraMin,
Standard_Real paraMax 
) const

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