Open CASCADE Technology 7.8.0
|
Describes an intersection point between polygons and polyedra. More...
#include <Intf_SectionPoint.hxx>
Public Member Functions | |
const gp_Pnt & | Pnt () const |
Returns the location of the SectionPoint. | |
Standard_Real | ParamOnFirst () const |
Returns the cumulated Parameter of the SectionPoint on the first element. | |
Standard_Real | ParamOnSecond () const |
Returns the cumulated Parameter of the section point on the second element. | |
Intf_PIType | TypeOnFirst () const |
Returns the type of the section point on the first element. | |
Intf_PIType | TypeOnSecond () const |
Returns the type of the section point on the second element. | |
void | InfoFirst (Intf_PIType &Dim, Standard_Integer &Add1, Standard_Integer &Add2, Standard_Real &Param) const |
void | InfoFirst (Intf_PIType &Dim, Standard_Integer &Addr, Standard_Real &Param) const |
Gives the data about the first argument of the Interference. | |
void | InfoSecond (Intf_PIType &Dim, Standard_Integer &Add1, Standard_Integer &Add2, Standard_Real &Param) const |
void | InfoSecond (Intf_PIType &Dim, Standard_Integer &Addr, Standard_Real &Param) const |
Gives the data about the second argument of the Interference. | |
Standard_Real | Incidence () const |
Gives the incidence at this section point. The incidence between the two triangles is given by the cosine. The best incidence is 0. (PI/2). The worst is 1. (null angle). | |
Standard_Boolean | IsEqual (const Intf_SectionPoint &Other) const |
Returns True if the two SectionPoint have the same logical information. | |
Standard_Boolean | operator== (const Intf_SectionPoint &Other) const |
Standard_Boolean | IsOnSameEdge (const Intf_SectionPoint &Other) const |
Returns True if the two SectionPoints are on the same edge of the first or the second element. | |
Intf_SectionPoint () | |
Intf_SectionPoint (const gp_Pnt &Where, const Intf_PIType DimeO, const Standard_Integer AddrO1, const Standard_Integer AddrO2, const Standard_Real ParamO, const Intf_PIType DimeT, const Standard_Integer AddrT1, const Standard_Integer AddrT2, const Standard_Real ParamT, const Standard_Real Incid) | |
Builds a SectionPoint with the respective dimensions (vertex edge or face) of the concerned arguments and their addresses in the Topological structure. | |
Intf_SectionPoint (const gp_Pnt2d &Where, const Intf_PIType DimeO, const Standard_Integer AddrO1, const Standard_Real ParamO, const Intf_PIType DimeT, const Standard_Integer AddrT1, const Standard_Real ParamT, const Standard_Real Incid) | |
Builds a SectionPoint 2d with the respective dimensions (vertex or edge) of the concerned arguments and their addresses in the Topological structure. | |
void | Merge (Intf_SectionPoint &Other) |
Merges two SectionPoints. | |
void | Dump (const Standard_Integer Indent) const |
Describes an intersection point between polygons and polyedra.
Intf_SectionPoint::Intf_SectionPoint | ( | ) |
Intf_SectionPoint::Intf_SectionPoint | ( | const gp_Pnt & | Where, |
const Intf_PIType | DimeO, | ||
const Standard_Integer | AddrO1, | ||
const Standard_Integer | AddrO2, | ||
const Standard_Real | ParamO, | ||
const Intf_PIType | DimeT, | ||
const Standard_Integer | AddrT1, | ||
const Standard_Integer | AddrT2, | ||
const Standard_Real | ParamT, | ||
const Standard_Real | Incid | ||
) |
Builds a SectionPoint with the respective dimensions (vertex edge or face) of the concerned arguments and their addresses in the Topological structure.
Intf_SectionPoint::Intf_SectionPoint | ( | const gp_Pnt2d & | Where, |
const Intf_PIType | DimeO, | ||
const Standard_Integer | AddrO1, | ||
const Standard_Real | ParamO, | ||
const Intf_PIType | DimeT, | ||
const Standard_Integer | AddrT1, | ||
const Standard_Real | ParamT, | ||
const Standard_Real | Incid | ||
) |
Builds a SectionPoint 2d with the respective dimensions (vertex or edge) of the concerned arguments and their addresses in the Topological structure.
void Intf_SectionPoint::Dump | ( | const Standard_Integer | Indent | ) | const |
Standard_Real Intf_SectionPoint::Incidence | ( | ) | const |
Gives the incidence at this section point. The incidence between the two triangles is given by the cosine. The best incidence is 0. (PI/2). The worst is 1. (null angle).
void Intf_SectionPoint::InfoFirst | ( | Intf_PIType & | Dim, |
Standard_Integer & | Add1, | ||
Standard_Integer & | Add2, | ||
Standard_Real & | Param | ||
) | const |
void Intf_SectionPoint::InfoFirst | ( | Intf_PIType & | Dim, |
Standard_Integer & | Addr, | ||
Standard_Real & | Param | ||
) | const |
Gives the data about the first argument of the Interference.
void Intf_SectionPoint::InfoSecond | ( | Intf_PIType & | Dim, |
Standard_Integer & | Add1, | ||
Standard_Integer & | Add2, | ||
Standard_Real & | Param | ||
) | const |
void Intf_SectionPoint::InfoSecond | ( | Intf_PIType & | Dim, |
Standard_Integer & | Addr, | ||
Standard_Real & | Param | ||
) | const |
Gives the data about the second argument of the Interference.
Standard_Boolean Intf_SectionPoint::IsEqual | ( | const Intf_SectionPoint & | Other | ) | const |
Returns True if the two SectionPoint have the same logical information.
Standard_Boolean Intf_SectionPoint::IsOnSameEdge | ( | const Intf_SectionPoint & | Other | ) | const |
Returns True if the two SectionPoints are on the same edge of the first or the second element.
void Intf_SectionPoint::Merge | ( | Intf_SectionPoint & | Other | ) |
Merges two SectionPoints.
|
inline |
Standard_Real Intf_SectionPoint::ParamOnFirst | ( | ) | const |
Returns the cumulated Parameter of the SectionPoint on the first element.
Standard_Real Intf_SectionPoint::ParamOnSecond | ( | ) | const |
Returns the cumulated Parameter of the section point on the second element.
Intf_PIType Intf_SectionPoint::TypeOnFirst | ( | ) | const |
Returns the type of the section point on the first element.
Intf_PIType Intf_SectionPoint::TypeOnSecond | ( | ) | const |
Returns the type of the section point on the second element.