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

Describes an intersection point between polygons and
polyedra.

#include <Intf_SectionPoint.hxx>

Public Member Functions

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


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

Constructor & Destructor Documentation


Member Function Documentation

Standard_Boolean Intf_SectionPoint::operator== ( const Intf_SectionPoint Other) const [inline]

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