Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
Intf_SectionPoint Class Reference

Describes an intersection point between polygons and polyedra. More...

#include <Intf_SectionPoint.hxx>

Public Member Functions

const gp_PntPnt () const
 Returns the location of the SectionPoint.
 
double ParamOnFirst () const
 Returns the cumulated Parameter of the SectionPoint on the first element.
 
double 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, int &Add1, int &Add2, double &Param) const
 
void InfoFirst (Intf_PIType &Dim, int &Addr, double &Param) const
 Gives the data about the first argument of the Interference.
 
void InfoSecond (Intf_PIType &Dim, int &Add1, int &Add2, double &Param) const
 
void InfoSecond (Intf_PIType &Dim, int &Addr, double &Param) const
 Gives the data about the second argument of the Interference.
 
double 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).
 
bool IsEqual (const Intf_SectionPoint &Other) const
 Returns True if the two SectionPoint have the same logical information.
 
bool operator== (const Intf_SectionPoint &Other) const
 
bool 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 int AddrO1, const int AddrO2, const double ParamO, const Intf_PIType DimeT, const int AddrT1, const int AddrT2, const double ParamT, const double 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 int AddrO1, const double ParamO, const Intf_PIType DimeT, const int AddrT1, const double ParamT, const double 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 int Indent) const
 

Detailed Description

Describes an intersection point between polygons and polyedra.

Constructor & Destructor Documentation

◆ Intf_SectionPoint() [1/3]

Intf_SectionPoint::Intf_SectionPoint ( )

◆ Intf_SectionPoint() [2/3]

Intf_SectionPoint::Intf_SectionPoint ( const gp_Pnt & Where,
const Intf_PIType DimeO,
const int AddrO1,
const int AddrO2,
const double ParamO,
const Intf_PIType DimeT,
const int AddrT1,
const int AddrT2,
const double ParamT,
const double 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() [3/3]

Intf_SectionPoint::Intf_SectionPoint ( const gp_Pnt2d & Where,
const Intf_PIType DimeO,
const int AddrO1,
const double ParamO,
const Intf_PIType DimeT,
const int AddrT1,
const double ParamT,
const double Incid )

Builds a SectionPoint 2d with the respective dimensions (vertex or edge) of the concerned arguments and their addresses in the Topological structure.

Member Function Documentation

◆ Dump()

void Intf_SectionPoint::Dump ( const int Indent) const

◆ Incidence()

double 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).

◆ InfoFirst() [1/2]

void Intf_SectionPoint::InfoFirst ( Intf_PIType & Dim,
int & Add1,
int & Add2,
double & Param ) const

◆ InfoFirst() [2/2]

void Intf_SectionPoint::InfoFirst ( Intf_PIType & Dim,
int & Addr,
double & Param ) const

Gives the data about the first argument of the Interference.

◆ InfoSecond() [1/2]

void Intf_SectionPoint::InfoSecond ( Intf_PIType & Dim,
int & Add1,
int & Add2,
double & Param ) const

◆ InfoSecond() [2/2]

void Intf_SectionPoint::InfoSecond ( Intf_PIType & Dim,
int & Addr,
double & Param ) const

Gives the data about the second argument of the Interference.

◆ IsEqual()

bool Intf_SectionPoint::IsEqual ( const Intf_SectionPoint & Other) const

Returns True if the two SectionPoint have the same logical information.

◆ IsOnSameEdge()

bool 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.

◆ Merge()

void Intf_SectionPoint::Merge ( Intf_SectionPoint & Other)

Merges two SectionPoints.

◆ operator==()

bool Intf_SectionPoint::operator== ( const Intf_SectionPoint & Other) const
inline

◆ ParamOnFirst()

double Intf_SectionPoint::ParamOnFirst ( ) const

Returns the cumulated Parameter of the SectionPoint on the first element.

◆ ParamOnSecond()

double Intf_SectionPoint::ParamOnSecond ( ) const

Returns the cumulated Parameter of the section point on the second element.

◆ Pnt()

const gp_Pnt & Intf_SectionPoint::Pnt ( ) const

Returns the location of the SectionPoint.

◆ TypeOnFirst()

Intf_PIType Intf_SectionPoint::TypeOnFirst ( ) const

Returns the type of the section point on the first element.

◆ TypeOnSecond()

Intf_PIType Intf_SectionPoint::TypeOnSecond ( ) const

Returns the type of the section point on the second element.


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