mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
153
src/Bisector/Bisector_PointOnBis.cxx
Executable file
153
src/Bisector/Bisector_PointOnBis.cxx
Executable file
@@ -0,0 +1,153 @@
|
||||
// File: Bisector_PointOnBis.cxx
|
||||
// Created: Mon Jan 10 17:06:47 1994
|
||||
// Author: Yves FRICAUD
|
||||
// <yfr@phylox>
|
||||
|
||||
#include <Bisector_PointOnBis.ixx>
|
||||
|
||||
|
||||
//=============================================================================
|
||||
//function :
|
||||
// purpose :
|
||||
//=============================================================================
|
||||
Bisector_PointOnBis::Bisector_PointOnBis()
|
||||
{
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//function :
|
||||
// purpose :
|
||||
//=============================================================================
|
||||
Bisector_PointOnBis::Bisector_PointOnBis(const Standard_Real Param1,
|
||||
const Standard_Real Param2,
|
||||
const Standard_Real ParamBis,
|
||||
const Standard_Real Distance,
|
||||
const gp_Pnt2d& P)
|
||||
: param1 (Param1),
|
||||
param2 (Param2),
|
||||
paramBis (ParamBis),
|
||||
distance (Distance),
|
||||
point (P)
|
||||
{
|
||||
infinite = Standard_False;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//function : ParamOnC1
|
||||
// purpose :
|
||||
//=============================================================================
|
||||
void Bisector_PointOnBis::ParamOnC1(const Standard_Real Param)
|
||||
{
|
||||
param1 = Param;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//function : ParamOnC2
|
||||
// purpose :
|
||||
//=============================================================================
|
||||
void Bisector_PointOnBis::ParamOnC2(const Standard_Real Param)
|
||||
{
|
||||
param2 = Param;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//function : ParamOnBis
|
||||
// purpose :
|
||||
//=============================================================================
|
||||
void Bisector_PointOnBis::ParamOnBis(const Standard_Real Param)
|
||||
{
|
||||
paramBis = Param;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//function : Distance
|
||||
// purpose :
|
||||
//=============================================================================
|
||||
void Bisector_PointOnBis::Distance(const Standard_Real Distance)
|
||||
{
|
||||
distance = Distance;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//function : Point
|
||||
// purpose :
|
||||
//=============================================================================
|
||||
void Bisector_PointOnBis::Point (const gp_Pnt2d& P)
|
||||
{
|
||||
point = P;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//function : IsInfinite
|
||||
// purpose :
|
||||
//=============================================================================
|
||||
void Bisector_PointOnBis::IsInfinite(const Standard_Boolean Infinite)
|
||||
{
|
||||
infinite = Infinite;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//function : ParamOnC1
|
||||
// purpose :
|
||||
//=============================================================================
|
||||
Standard_Real Bisector_PointOnBis::ParamOnC1()const
|
||||
{
|
||||
return param1;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//function : ParamOnC2
|
||||
// purpose :
|
||||
//=============================================================================
|
||||
Standard_Real Bisector_PointOnBis::ParamOnC2()const
|
||||
{
|
||||
return param2;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//function : ParamOnBis
|
||||
// purpose :
|
||||
//=============================================================================
|
||||
Standard_Real Bisector_PointOnBis::ParamOnBis()const
|
||||
{
|
||||
return paramBis;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//function : Distance
|
||||
// purpose :
|
||||
//=============================================================================
|
||||
Standard_Real Bisector_PointOnBis::Distance()const
|
||||
{
|
||||
return distance;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//function : Point
|
||||
// purpose :
|
||||
//=============================================================================
|
||||
gp_Pnt2d Bisector_PointOnBis::Point ()const
|
||||
{
|
||||
return point;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//function : IsInfinite
|
||||
// purpose :
|
||||
//=============================================================================
|
||||
Standard_Boolean Bisector_PointOnBis::IsInfinite() const
|
||||
{
|
||||
return infinite;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//function : Dump
|
||||
// purpose :
|
||||
//=============================================================================
|
||||
void Bisector_PointOnBis::Dump() const
|
||||
{
|
||||
cout <<"Param1 :"<<param1<<endl;
|
||||
cout <<"Param2 :"<<param2<<endl;
|
||||
cout <<"Param Bis :"<<paramBis<<endl;
|
||||
cout <<"Distance :"<<distance<<endl;
|
||||
}
|
Reference in New Issue
Block a user