Open CASCADE Technology
7.4.0
|
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. More... | |
const Intf_SectionPoint & | GetPoint (const Standard_Integer Index) const |
Gives the SectionPoint of address <Index> in the TangentZone. More... | |
Standard_Boolean | IsEqual (const Intf_TangentZone &Other) const |
Compares two TangentZones. More... | |
Standard_Boolean | operator== (const Intf_TangentZone &Other) const |
Standard_Boolean | Contains (const Intf_SectionPoint &ThePI) const |
Checks if <ThePI> is in TangentZone. More... | |
void | ParamOnFirst (Standard_Real ¶Min, Standard_Real ¶Max) const |
Gives the parameter range of the TangentZone on the first argument of the Interference. (Usable only for polygon) More... | |
void | ParamOnSecond (Standard_Real ¶Min, Standard_Real ¶Max) const |
Gives the parameter range of the TangentZone on the second argument of the Interference. (Usable only for polygon) More... | |
void | InfoFirst (Standard_Integer &segMin, Standard_Real ¶Min, Standard_Integer &segMax, Standard_Real ¶Max) const |
Gives information about the first argument of the Interference. (Usable only for polygon) More... | |
void | InfoSecond (Standard_Integer &segMin, Standard_Real ¶Min, Standard_Integer &segMax, Standard_Real ¶Max) const |
Gives informations about the second argument of the Interference. (Usable only for polygon) More... | |
Standard_Boolean | RangeContains (const Intf_SectionPoint &ThePI) const |
Returns True if <ThePI> is in the parameter range of the TangentZone. More... | |
Standard_Boolean | HasCommonRange (const Intf_TangentZone &Other) const |
Returns True if the TangentZone <Other> has a common part with <me>. More... | |
Intf_TangentZone () | |
Builds an empty tangent zone. More... | |
Intf_TangentZone (const Intf_TangentZone &Other) | |
Copies a Tangent zone. More... | |
void | Append (const Intf_SectionPoint &Pi) |
Adds a SectionPoint to the TangentZone. More... | |
void | Append (const Intf_TangentZone &Tzi) |
Adds the TangentZone <Tzi> to <me>. More... | |
Standard_Boolean | Insert (const Intf_SectionPoint &Pi) |
Inserts a SectionPoint in the TangentZone. More... | |
void | PolygonInsert (const Intf_SectionPoint &Pi) |
Inserts a point in the polygonal TangentZone. More... | |
void | InsertBefore (const Standard_Integer Index, const Intf_SectionPoint &Pi) |
Inserts a SectionPoint before <Index> in the TangentZone. More... | |
void | InsertAfter (const Standard_Integer Index, const Intf_SectionPoint &Pi) |
Inserts a SectionPoint after <Index> in the TangentZone. More... | |
void | Dump (const Standard_Integer Indent) const |
Describes a zone of tangence between polygons or polyhedra as a sequence of points of intersection.
Intf_TangentZone::Intf_TangentZone | ( | ) |
Builds an empty tangent zone.
Intf_TangentZone::Intf_TangentZone | ( | const Intf_TangentZone & | Other | ) |
Copies a Tangent zone.
void Intf_TangentZone::Append | ( | const Intf_SectionPoint & | Pi | ) |
Adds a SectionPoint to the TangentZone.
void Intf_TangentZone::Append | ( | const Intf_TangentZone & | Tzi | ) |
Adds the TangentZone <Tzi> to <me>.
Standard_Boolean Intf_TangentZone::Contains | ( | const Intf_SectionPoint & | ThePI | ) | const |
Checks if <ThePI> is in TangentZone.
void Intf_TangentZone::Dump | ( | const Standard_Integer | Indent | ) | const |
const Intf_SectionPoint& Intf_TangentZone::GetPoint | ( | const Standard_Integer | Index | ) | const |
Gives the SectionPoint of address <Index> in the TangentZone.
Standard_Boolean Intf_TangentZone::HasCommonRange | ( | const Intf_TangentZone & | Other | ) | const |
Returns True if the TangentZone <Other> has a common part with <me>.
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)
void Intf_TangentZone::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 Intf_TangentZone::Insert | ( | const Intf_SectionPoint & | Pi | ) |
Inserts a SectionPoint in the TangentZone.
void Intf_TangentZone::InsertAfter | ( | const Standard_Integer | Index, |
const Intf_SectionPoint & | Pi | ||
) |
Inserts a SectionPoint after <Index> in the TangentZone.
void Intf_TangentZone::InsertBefore | ( | const Standard_Integer | Index, |
const Intf_SectionPoint & | Pi | ||
) |
Inserts a SectionPoint before <Index> in the TangentZone.
Standard_Boolean Intf_TangentZone::IsEqual | ( | const Intf_TangentZone & | Other | ) | const |
Compares two TangentZones.
Standard_Integer Intf_TangentZone::NumberOfPoints | ( | ) | const |
Returns number of SectionPoint in this TangentZone.
|
inline |
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)
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)
void Intf_TangentZone::PolygonInsert | ( | const Intf_SectionPoint & | Pi | ) |
Inserts a point in the polygonal TangentZone.
Standard_Boolean Intf_TangentZone::RangeContains | ( | const Intf_SectionPoint & | ThePI | ) | const |
Returns True if <ThePI> is in the parameter range of the TangentZone.