mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0027772: Foundation Classes - define Standard_Boolean using C++ type "bool" instead of "unsigned int"
Code has been updated to remove no-op casts and implicit casts to Standard_Boolean. Places of inproper use of Standard_Boolean instead of Standard_Integer have been corrected: - Bnd_Box, Bnd_Box2d Bit flags are now defined as private enum - HLRAlgo_BiPoint, HLRAlgo_EdgesBlock, HLRBRep_EdgeData, HLRBRep_FaceData Bit flags are now defined as enum - HLRAlgo_EdgeStatus, HLRBRep_BiPnt2D, HLRBRep_BiPoint Bit flags are now defined as bool fields - HLRAlgo_PolyData Bit flags are now defined as Standard_Integer - OSD_DirectoryIterator, OSD_FileIterator Boolean flag is now defined as Standard_Boolean - ShapeAnalysis_Surface::SurfaceNewton() now returns Standard_Integer (values 0, 1 or 3) - ChFi2d_FilletAlgo now uses TColStd_SequenceOfBoolean instead of TColStd_SequenceOfInteger for storing boolean flags Method IFSelect_Dispatch::PacketsCount() has been dropped from interface. ShapeFix_Solid::Status() has been fixed to decode requested status instead of returning integer value. TopOpeBRepBuild_Builder1 now defines map storing Standard_Boolean values instead of Standard_Integer. Persistence for Standard_Boolean type has been corrected to keep backward compatibility: - BinMDataStd, BinTools, FSD_BinaryFile Broken Draw Harness commands vdisplaymode and verasemode have been removed. BRepMesh_FastDiscretFace::initDataStructure() - workaround old gcc limitations BRepMesh_IncrementalMesh::clear() - avoid ambiguity
This commit is contained in:
@@ -9,12 +9,8 @@ HLRBRep_Array1OfFData.hxx
|
||||
HLRBRep_BCurveTool.cxx
|
||||
HLRBRep_BCurveTool.hxx
|
||||
HLRBRep_BCurveTool.lxx
|
||||
HLRBRep_BiPnt2D.cxx
|
||||
HLRBRep_BiPnt2D.hxx
|
||||
HLRBRep_BiPnt2D.lxx
|
||||
HLRBRep_BiPoint.cxx
|
||||
HLRBRep_BiPoint.hxx
|
||||
HLRBRep_BiPoint.lxx
|
||||
HLRBRep_BSurfaceTool.cxx
|
||||
HLRBRep_BSurfaceTool.hxx
|
||||
HLRBRep_BSurfaceTool.lxx
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
// Created on: 1992-08-25
|
||||
// Created by: Christophe MARION
|
||||
// Copyright (c) 1992-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
|
||||
#include <gp_Pnt2d.hxx>
|
||||
#include <HLRBRep_BiPnt2D.hxx>
|
||||
#include <TopoDS_Shape.hxx>
|
||||
|
||||
//=======================================================================
|
||||
//function : HLRBRep_BiPnt2D
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
HLRBRep_BiPnt2D::HLRBRep_BiPnt2D ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : HLRBRep_BiPnt2D
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
HLRBRep_BiPnt2D::HLRBRep_BiPnt2D (const Standard_Real x1,
|
||||
const Standard_Real y1,
|
||||
const Standard_Real x2,
|
||||
const Standard_Real y2,
|
||||
const TopoDS_Shape& S,
|
||||
const Standard_Boolean reg1,
|
||||
const Standard_Boolean regn,
|
||||
const Standard_Boolean outl,
|
||||
const Standard_Boolean intl) :
|
||||
myP1(x1,y1),
|
||||
myP2(x2,y2),
|
||||
myShape(S),
|
||||
myFlags(0)
|
||||
{
|
||||
Rg1Line(reg1);
|
||||
RgNLine(regn);
|
||||
OutLine(outl);
|
||||
IntLine(intl);
|
||||
}
|
||||
@@ -25,9 +25,6 @@
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
class TopoDS_Shape;
|
||||
class gp_Pnt2d;
|
||||
|
||||
|
||||
//! Contains the colors of a shape.
|
||||
class HLRBRep_BiPnt2D
|
||||
@@ -36,61 +33,55 @@ public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT HLRBRep_BiPnt2D();
|
||||
|
||||
Standard_EXPORT HLRBRep_BiPnt2D(const Standard_Real x1, const Standard_Real y1, const Standard_Real x2, const Standard_Real y2, const TopoDS_Shape& S, const Standard_Boolean reg1, const Standard_Boolean regn, const Standard_Boolean outl, const Standard_Boolean intl);
|
||||
|
||||
const gp_Pnt2d& P1() const;
|
||||
|
||||
const gp_Pnt2d& P2() const;
|
||||
|
||||
const TopoDS_Shape& Shape() const;
|
||||
|
||||
void Shape (const TopoDS_Shape& S);
|
||||
|
||||
Standard_Boolean Rg1Line() const;
|
||||
|
||||
void Rg1Line (const Standard_Boolean B);
|
||||
|
||||
Standard_Boolean RgNLine() const;
|
||||
|
||||
void RgNLine (const Standard_Boolean B);
|
||||
|
||||
Standard_Boolean OutLine() const;
|
||||
|
||||
void OutLine (const Standard_Boolean B);
|
||||
|
||||
Standard_Boolean IntLine() const;
|
||||
|
||||
void IntLine (const Standard_Boolean B);
|
||||
HLRBRep_BiPnt2D()
|
||||
: myRg1Line (false),
|
||||
myRgNLine (false),
|
||||
myOutLine (false),
|
||||
myIntLine (false) {}
|
||||
|
||||
HLRBRep_BiPnt2D(const Standard_Real x1, const Standard_Real y1, const Standard_Real x2, const Standard_Real y2, const TopoDS_Shape& S, const Standard_Boolean reg1, const Standard_Boolean regn, const Standard_Boolean outl, const Standard_Boolean intl)
|
||||
: myP1(x1,y1),
|
||||
myP2(x2,y2),
|
||||
myShape(S),
|
||||
myRg1Line (reg1),
|
||||
myRgNLine (regn),
|
||||
myOutLine (outl),
|
||||
myIntLine (intl) {}
|
||||
|
||||
const gp_Pnt2d& P1() const { return myP1; }
|
||||
|
||||
const gp_Pnt2d& P2() const { return myP2; }
|
||||
|
||||
protected:
|
||||
const TopoDS_Shape& Shape() const { return myShape; }
|
||||
|
||||
void Shape (const TopoDS_Shape& S) { myShape = S; }
|
||||
|
||||
Standard_Boolean Rg1Line() const { return myRg1Line; }
|
||||
|
||||
void Rg1Line (const Standard_Boolean B) { myRg1Line = B; }
|
||||
|
||||
Standard_Boolean RgNLine() const { return myRgNLine; }
|
||||
|
||||
void RgNLine (const Standard_Boolean B) { myRgNLine = B; }
|
||||
|
||||
Standard_Boolean OutLine() const { return myOutLine; }
|
||||
|
||||
void OutLine (const Standard_Boolean B) { myOutLine = B; }
|
||||
|
||||
Standard_Boolean IntLine() const { return myIntLine; }
|
||||
|
||||
void IntLine (const Standard_Boolean B) { myIntLine = B; }
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
gp_Pnt2d myP1;
|
||||
gp_Pnt2d myP2;
|
||||
TopoDS_Shape myShape;
|
||||
Standard_Boolean myFlags;
|
||||
|
||||
bool myRg1Line;
|
||||
bool myRgNLine;
|
||||
bool myOutLine;
|
||||
bool myIntLine;
|
||||
|
||||
};
|
||||
|
||||
|
||||
#include <HLRBRep_BiPnt2D.lxx>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _HLRBRep_BiPnt2D_HeaderFile
|
||||
|
||||
@@ -1,128 +0,0 @@
|
||||
// Created on: 1992-08-25
|
||||
// Created by: Christophe MARION
|
||||
// Copyright (c) 1992-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#define EMskRg1Line ((Standard_Boolean)1)
|
||||
#define EMskRgNLine ((Standard_Boolean)2)
|
||||
#define EMskOutLine ((Standard_Boolean)4)
|
||||
#define EMskIntLine ((Standard_Boolean)8)
|
||||
|
||||
//=======================================================================
|
||||
//function : P1
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline const gp_Pnt2d & HLRBRep_BiPnt2D::P1 () const
|
||||
{ return myP1; }
|
||||
|
||||
//=======================================================================
|
||||
//function : P2
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline const gp_Pnt2d & HLRBRep_BiPnt2D::P2 () const
|
||||
{ return myP2; }
|
||||
|
||||
//=======================================================================
|
||||
//function : Shape
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline const TopoDS_Shape & HLRBRep_BiPnt2D::Shape () const
|
||||
{ return myShape; }
|
||||
|
||||
//=======================================================================
|
||||
//function : Shape
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline void HLRBRep_BiPnt2D::Shape (const TopoDS_Shape& S)
|
||||
{ myShape = S; }
|
||||
|
||||
//=======================================================================
|
||||
//function : Rg1Line
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline Standard_Boolean HLRBRep_BiPnt2D::Rg1Line () const
|
||||
{ return (myFlags & EMskRg1Line) != 0; }
|
||||
|
||||
//=======================================================================
|
||||
//function : Rg1Line
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline void HLRBRep_BiPnt2D::Rg1Line (const Standard_Boolean B)
|
||||
{
|
||||
if (B) myFlags |= EMskRg1Line;
|
||||
else myFlags &= ~EMskRg1Line;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : RgNLine
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline Standard_Boolean HLRBRep_BiPnt2D::RgNLine () const
|
||||
{ return (myFlags & EMskRgNLine) != 0; }
|
||||
|
||||
//=======================================================================
|
||||
//function : RgNLine
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline void HLRBRep_BiPnt2D::RgNLine (const Standard_Boolean B)
|
||||
{
|
||||
if (B) myFlags |= EMskRgNLine;
|
||||
else myFlags &= ~EMskRgNLine;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : OutLine
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline Standard_Boolean HLRBRep_BiPnt2D::OutLine () const
|
||||
{ return (myFlags & EMskOutLine) != 0; }
|
||||
|
||||
//=======================================================================
|
||||
//function : OutLine
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline void HLRBRep_BiPnt2D::OutLine (const Standard_Boolean B)
|
||||
{
|
||||
if (B) myFlags |= EMskOutLine;
|
||||
else myFlags &= ~EMskOutLine;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : IntLine
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline Standard_Boolean HLRBRep_BiPnt2D::IntLine () const
|
||||
{ return (myFlags & EMskIntLine) != 0; }
|
||||
|
||||
//=======================================================================
|
||||
//function : IntLine
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline void HLRBRep_BiPnt2D::IntLine (const Standard_Boolean B)
|
||||
{
|
||||
if (B) myFlags |= EMskIntLine;
|
||||
else myFlags &= ~EMskIntLine;
|
||||
}
|
||||
@@ -1,55 +0,0 @@
|
||||
// Created on: 1992-08-25
|
||||
// Created by: Christophe MARION
|
||||
// Copyright (c) 1992-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
|
||||
#include <gp_Pnt.hxx>
|
||||
#include <HLRBRep_BiPoint.hxx>
|
||||
#include <TopoDS_Shape.hxx>
|
||||
|
||||
//=======================================================================
|
||||
//function : HLRBRep_BiPoint
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
HLRBRep_BiPoint::HLRBRep_BiPoint ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : HLRBRep_BiPoint
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
HLRBRep_BiPoint::HLRBRep_BiPoint (const Standard_Real x1,
|
||||
const Standard_Real y1,
|
||||
const Standard_Real z1,
|
||||
const Standard_Real x2,
|
||||
const Standard_Real y2,
|
||||
const Standard_Real z2,
|
||||
const TopoDS_Shape& S,
|
||||
const Standard_Boolean reg1,
|
||||
const Standard_Boolean regn,
|
||||
const Standard_Boolean outl,
|
||||
const Standard_Boolean intl) :
|
||||
myP1(x1,y1,z1),
|
||||
myP2(x2,y2,z2),
|
||||
myShape(S),
|
||||
myFlags(0)
|
||||
{
|
||||
Rg1Line(reg1);
|
||||
RgNLine(regn);
|
||||
OutLine(outl);
|
||||
IntLine(intl);
|
||||
}
|
||||
@@ -28,7 +28,6 @@
|
||||
class TopoDS_Shape;
|
||||
class gp_Pnt;
|
||||
|
||||
|
||||
//! Contains the colors of a shape.
|
||||
class HLRBRep_BiPoint
|
||||
{
|
||||
@@ -36,61 +35,61 @@ public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT HLRBRep_BiPoint();
|
||||
|
||||
Standard_EXPORT HLRBRep_BiPoint(const Standard_Real x1, const Standard_Real y1, const Standard_Real z1, const Standard_Real x2, const Standard_Real y2, const Standard_Real z2, const TopoDS_Shape& S, const Standard_Boolean reg1, const Standard_Boolean regn, const Standard_Boolean outl, const Standard_Boolean intl);
|
||||
|
||||
const gp_Pnt& P1() const;
|
||||
|
||||
const gp_Pnt& P2() const;
|
||||
|
||||
const TopoDS_Shape& Shape() const;
|
||||
|
||||
void Shape (const TopoDS_Shape& S);
|
||||
|
||||
Standard_Boolean Rg1Line() const;
|
||||
|
||||
void Rg1Line (const Standard_Boolean B);
|
||||
|
||||
Standard_Boolean RgNLine() const;
|
||||
|
||||
void RgNLine (const Standard_Boolean B);
|
||||
|
||||
Standard_Boolean OutLine() const;
|
||||
|
||||
void OutLine (const Standard_Boolean B);
|
||||
|
||||
Standard_Boolean IntLine() const;
|
||||
|
||||
void IntLine (const Standard_Boolean B);
|
||||
HLRBRep_BiPoint()
|
||||
: myRg1Line (false),
|
||||
myRgNLine (false),
|
||||
myOutLine (false),
|
||||
myIntLine (false) {}
|
||||
|
||||
HLRBRep_BiPoint (const Standard_Real x1, const Standard_Real y1, const Standard_Real z1,
|
||||
const Standard_Real x2, const Standard_Real y2, const Standard_Real z2,
|
||||
const TopoDS_Shape& S,
|
||||
const Standard_Boolean reg1,
|
||||
const Standard_Boolean regn,
|
||||
const Standard_Boolean outl,
|
||||
const Standard_Boolean intl)
|
||||
: myP1 (x1, y1, z1),
|
||||
myP2 (x2, y2, z2),
|
||||
myShape (S),
|
||||
myRg1Line (reg1),
|
||||
myRgNLine (regn),
|
||||
myOutLine (outl),
|
||||
myIntLine (intl) {}
|
||||
|
||||
const gp_Pnt& P1() const { return myP1; }
|
||||
|
||||
const gp_Pnt& P2() const { return myP2; }
|
||||
|
||||
protected:
|
||||
const TopoDS_Shape& Shape() const { return myShape; }
|
||||
|
||||
void Shape (const TopoDS_Shape& S) { myShape = S; }
|
||||
|
||||
Standard_Boolean Rg1Line() const { return myRg1Line; }
|
||||
|
||||
void Rg1Line (const Standard_Boolean B) { myRg1Line = B; }
|
||||
|
||||
Standard_Boolean RgNLine() const { return myRgNLine; }
|
||||
|
||||
void RgNLine (const Standard_Boolean B) { myRgNLine = B; }
|
||||
|
||||
Standard_Boolean OutLine() const { return myOutLine; }
|
||||
|
||||
void OutLine (const Standard_Boolean B) { myOutLine = B; }
|
||||
|
||||
Standard_Boolean IntLine() const { return myIntLine; }
|
||||
|
||||
void IntLine (const Standard_Boolean B) { myIntLine = B; }
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
gp_Pnt myP1;
|
||||
gp_Pnt myP2;
|
||||
TopoDS_Shape myShape;
|
||||
Standard_Boolean myFlags;
|
||||
|
||||
Standard_Boolean myRg1Line;
|
||||
Standard_Boolean myRgNLine;
|
||||
Standard_Boolean myOutLine;
|
||||
Standard_Boolean myIntLine;
|
||||
|
||||
};
|
||||
|
||||
|
||||
#include <HLRBRep_BiPoint.lxx>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _HLRBRep_BiPoint_HeaderFile
|
||||
|
||||
@@ -1,128 +0,0 @@
|
||||
// Created on: 1992-08-25
|
||||
// Created by: Christophe MARION
|
||||
// Copyright (c) 1992-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#define EMskRg1Line ((Standard_Boolean)1)
|
||||
#define EMskRgNLine ((Standard_Boolean)2)
|
||||
#define EMskOutLine ((Standard_Boolean)4)
|
||||
#define EMskIntLine ((Standard_Boolean)8)
|
||||
|
||||
//=======================================================================
|
||||
//function : P1
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline const gp_Pnt & HLRBRep_BiPoint::P1 () const
|
||||
{ return myP1; }
|
||||
|
||||
//=======================================================================
|
||||
//function : P2
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline const gp_Pnt & HLRBRep_BiPoint::P2 () const
|
||||
{ return myP2; }
|
||||
|
||||
//=======================================================================
|
||||
//function : Shape
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline const TopoDS_Shape & HLRBRep_BiPoint::Shape () const
|
||||
{ return myShape; }
|
||||
|
||||
//=======================================================================
|
||||
//function : Shape
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline void HLRBRep_BiPoint::Shape (const TopoDS_Shape& S)
|
||||
{ myShape = S; }
|
||||
|
||||
//=======================================================================
|
||||
//function : Rg1Line
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline Standard_Boolean HLRBRep_BiPoint::Rg1Line () const
|
||||
{ return (myFlags & EMskRg1Line) != 0; }
|
||||
|
||||
//=======================================================================
|
||||
//function : Rg1Line
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline void HLRBRep_BiPoint::Rg1Line (const Standard_Boolean B)
|
||||
{
|
||||
if (B) myFlags |= EMskRg1Line;
|
||||
else myFlags &= ~EMskRg1Line;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : RgNLine
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline Standard_Boolean HLRBRep_BiPoint::RgNLine () const
|
||||
{ return (myFlags & EMskRgNLine) != 0; }
|
||||
|
||||
//=======================================================================
|
||||
//function : RgNLine
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline void HLRBRep_BiPoint::RgNLine (const Standard_Boolean B)
|
||||
{
|
||||
if (B) myFlags |= EMskRgNLine;
|
||||
else myFlags &= ~EMskRgNLine;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : OutLine
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline Standard_Boolean HLRBRep_BiPoint::OutLine () const
|
||||
{ return (myFlags & EMskOutLine) != 0; }
|
||||
|
||||
//=======================================================================
|
||||
//function : OutLine
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline void HLRBRep_BiPoint::OutLine (const Standard_Boolean B)
|
||||
{
|
||||
if (B) myFlags |= EMskOutLine;
|
||||
else myFlags &= ~EMskOutLine;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : IntLine
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline Standard_Boolean HLRBRep_BiPoint::IntLine () const
|
||||
{ return (myFlags & EMskIntLine) != 0; }
|
||||
|
||||
//=======================================================================
|
||||
//function : IntLine
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline void HLRBRep_BiPoint::IntLine (const Standard_Boolean B)
|
||||
{
|
||||
if (B) myFlags |= EMskIntLine;
|
||||
else myFlags &= ~EMskIntLine;
|
||||
}
|
||||
@@ -123,20 +123,28 @@ public:
|
||||
|
||||
Standard_ShortReal Tolerance() const;
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
enum EMaskFlags
|
||||
{
|
||||
EMaskSelected = 1,
|
||||
EMaskUsed = 2,
|
||||
EMaskRg1Line = 4,
|
||||
EMaskVertical = 8,
|
||||
EMaskSimple = 16,
|
||||
EMaskOutLVSta = 32,
|
||||
EMaskOutLVEnd = 64,
|
||||
EMaskIntDone = 128,
|
||||
EMaskCutAtSta = 256,
|
||||
EMaskCutAtEnd = 512,
|
||||
EMaskVerAtSta = 1024,
|
||||
EMaskVerAtEnd = 2048,
|
||||
EMaskRgNLine = 4096
|
||||
};
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
Standard_Boolean myFlags;
|
||||
Standard_Integer myFlags;
|
||||
Standard_Integer myHideCount;
|
||||
Standard_Integer myVSta;
|
||||
Standard_Integer myVEnd;
|
||||
@@ -145,14 +153,8 @@ private:
|
||||
HLRBRep_Curve myGeometry;
|
||||
Standard_ShortReal myTolerance;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
#include <HLRBRep_EdgeData.lxx>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _HLRBRep_EdgeData_HeaderFile
|
||||
|
||||
@@ -14,20 +14,6 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#define EMaskSelected ((Standard_Boolean)1)
|
||||
#define EMaskUsed ((Standard_Boolean)2)
|
||||
#define EMaskRg1Line ((Standard_Boolean)4)
|
||||
#define EMaskVertical ((Standard_Boolean)8)
|
||||
#define EMaskSimple ((Standard_Boolean)16)
|
||||
#define EMaskOutLVSta ((Standard_Boolean)32)
|
||||
#define EMaskOutLVEnd ((Standard_Boolean)64)
|
||||
#define EMaskIntDone ((Standard_Boolean)128)
|
||||
#define EMaskCutAtSta ((Standard_Boolean)256)
|
||||
#define EMaskCutAtEnd ((Standard_Boolean)512)
|
||||
#define EMaskVerAtSta ((Standard_Boolean)1024)
|
||||
#define EMaskVerAtEnd ((Standard_Boolean)2048)
|
||||
#define EMaskRgNLine ((Standard_Boolean)4096)
|
||||
|
||||
//=======================================================================
|
||||
//function : Selected
|
||||
//purpose :
|
||||
|
||||
@@ -121,33 +121,36 @@ public:
|
||||
|
||||
Standard_ShortReal Tolerance() const;
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
enum EMaskFlags
|
||||
{
|
||||
EMaskOrient = 15,
|
||||
FMaskSelected = 16,
|
||||
FMaskBack = 32,
|
||||
FMaskSide = 64,
|
||||
FMaskClosed = 128,
|
||||
FMaskHiding = 256,
|
||||
FMaskSimple = 512,
|
||||
FMaskCut = 1024,
|
||||
FMaskWithOutL = 2048,
|
||||
FMaskPlane = 4096,
|
||||
FMaskCylinder = 8192,
|
||||
FMaskCone = 16384,
|
||||
FMaskSphere = 32768,
|
||||
FMaskTorus = 65536
|
||||
};
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
Standard_Boolean myFlags;
|
||||
Standard_Integer myFlags;
|
||||
Handle(HLRAlgo_WiresBlock) myWires;
|
||||
HLRBRep_Surface myGeometry;
|
||||
Standard_Real mySize;
|
||||
Standard_ShortReal myTolerance;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
#include <HLRBRep_FaceData.lxx>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _HLRBRep_FaceData_HeaderFile
|
||||
|
||||
@@ -14,21 +14,6 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#define EMaskOrient ((Standard_Boolean)15)
|
||||
#define FMaskSelected ((Standard_Boolean)16)
|
||||
#define FMaskBack ((Standard_Boolean)32)
|
||||
#define FMaskSide ((Standard_Boolean)64)
|
||||
#define FMaskClosed ((Standard_Boolean)128)
|
||||
#define FMaskHiding ((Standard_Boolean)256)
|
||||
#define FMaskSimple ((Standard_Boolean)512)
|
||||
#define FMaskCut ((Standard_Boolean)1024)
|
||||
#define FMaskWithOutL ((Standard_Boolean)2048)
|
||||
#define FMaskPlane ((Standard_Boolean)4096)
|
||||
#define FMaskCylinder ((Standard_Boolean)8192)
|
||||
#define FMaskCone ((Standard_Boolean)16384)
|
||||
#define FMaskSphere ((Standard_Boolean)32768)
|
||||
#define FMaskTorus ((Standard_Boolean)65536)
|
||||
|
||||
//=======================================================================
|
||||
//function : Selected
|
||||
//purpose :
|
||||
@@ -308,7 +293,7 @@ inline TopAbs_Orientation HLRBRep_FaceData::Orientation() const
|
||||
inline void HLRBRep_FaceData::Orientation(const TopAbs_Orientation O)
|
||||
{
|
||||
myFlags &= ~EMaskOrient;
|
||||
myFlags |= (((Standard_Boolean)O) & EMaskOrient);
|
||||
myFlags |= (O & EMaskOrient);
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
|
||||
@@ -56,26 +56,26 @@
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(HLRBRep_PolyAlgo,MMgt_TShared)
|
||||
|
||||
#define EMskOutLin1 ((Standard_Boolean) 1)
|
||||
#define EMskOutLin2 ((Standard_Boolean) 2)
|
||||
#define EMskOutLin3 ((Standard_Boolean) 4)
|
||||
#define EMskGrALin1 ((Standard_Boolean) 8)
|
||||
#define EMskGrALin2 ((Standard_Boolean) 16)
|
||||
#define EMskGrALin3 ((Standard_Boolean) 32)
|
||||
#define FMskBack ((Standard_Boolean) 64)
|
||||
#define FMskSide ((Standard_Boolean) 128)
|
||||
#define FMskHiding ((Standard_Boolean) 256)
|
||||
#define FMskFlat ((Standard_Boolean) 512)
|
||||
#define FMskOnOutL ((Standard_Boolean)1024)
|
||||
#define FMskOrBack ((Standard_Boolean)2048)
|
||||
#define FMskFrBack ((Standard_Boolean)4096)
|
||||
#define EMskOutLin1 ((Standard_Integer) 1)
|
||||
#define EMskOutLin2 ((Standard_Integer) 2)
|
||||
#define EMskOutLin3 ((Standard_Integer) 4)
|
||||
#define EMskGrALin1 ((Standard_Integer) 8)
|
||||
#define EMskGrALin2 ((Standard_Integer) 16)
|
||||
#define EMskGrALin3 ((Standard_Integer) 32)
|
||||
#define FMskBack ((Standard_Integer) 64)
|
||||
#define FMskSide ((Standard_Integer) 128)
|
||||
#define FMskHiding ((Standard_Integer) 256)
|
||||
#define FMskFlat ((Standard_Integer) 512)
|
||||
#define FMskOnOutL ((Standard_Integer)1024)
|
||||
#define FMskOrBack ((Standard_Integer)2048)
|
||||
#define FMskFrBack ((Standard_Integer)4096)
|
||||
|
||||
#define NMskVert ((Standard_Boolean) 1)
|
||||
#define NMskOutL ((Standard_Boolean) 2)
|
||||
#define NMskNorm ((Standard_Boolean) 4)
|
||||
#define NMskFuck ((Standard_Boolean) 8)
|
||||
#define NMskEdge ((Standard_Boolean)16)
|
||||
#define NMskMove ((Standard_Boolean)32)
|
||||
#define NMskVert ((Standard_Integer) 1)
|
||||
#define NMskOutL ((Standard_Integer) 2)
|
||||
#define NMskNorm ((Standard_Integer) 4)
|
||||
#define NMskFuck ((Standard_Integer) 8)
|
||||
#define NMskEdge ((Standard_Integer)16)
|
||||
#define NMskMove ((Standard_Integer)32)
|
||||
|
||||
#define PntXTI1 ((Standard_Real*)Coordinates)[ 0]
|
||||
#define PntYTI1 ((Standard_Real*)Coordinates)[ 1]
|
||||
@@ -106,17 +106,17 @@ IMPLEMENT_STANDARD_RTTIEXT(HLRBRep_PolyAlgo,MMgt_TShared)
|
||||
#define Tri1Node1 ((Standard_Integer*)Tri1Indices)[0]
|
||||
#define Tri1Node2 ((Standard_Integer*)Tri1Indices)[1]
|
||||
#define Tri1Node3 ((Standard_Integer*)Tri1Indices)[2]
|
||||
#define Tri1Flags ((Standard_Boolean*)Tri1Indices)[3]
|
||||
#define Tri1Flags ((Standard_Integer*)Tri1Indices)[3]
|
||||
|
||||
#define Tri2Node1 ((Standard_Integer*)Tri2Indices)[0]
|
||||
#define Tri2Node2 ((Standard_Integer*)Tri2Indices)[1]
|
||||
#define Tri2Node3 ((Standard_Integer*)Tri2Indices)[2]
|
||||
#define Tri2Flags ((Standard_Boolean*)Tri2Indices)[3]
|
||||
#define Tri2Flags ((Standard_Integer*)Tri2Indices)[3]
|
||||
|
||||
#define Tri3Node1 ((Standard_Integer*)Tri3Indices)[0]
|
||||
#define Tri3Node2 ((Standard_Integer*)Tri3Indices)[1]
|
||||
#define Tri3Node3 ((Standard_Integer*)Tri3Indices)[2]
|
||||
#define Tri3Flags ((Standard_Boolean*)Tri3Indices)[3]
|
||||
#define Tri3Flags ((Standard_Integer*)Tri3Indices)[3]
|
||||
|
||||
#define Seg1LstSg1 ((Standard_Integer*)Seg1Indices)[0]
|
||||
#define Seg1LstSg2 ((Standard_Integer*)Seg1Indices)[1]
|
||||
@@ -133,9 +133,9 @@ IMPLEMENT_STANDARD_RTTIEXT(HLRBRep_PolyAlgo,MMgt_TShared)
|
||||
#define Seg2Conex2 ((Standard_Integer*)Seg2Indices)[5]
|
||||
|
||||
#define Nod1NdSg ((Standard_Integer*)Nod1Indices)[0]
|
||||
#define Nod1Flag ((Standard_Boolean*)Nod1Indices)[1]
|
||||
#define Nod1Edg1 ((Standard_Boolean*)Nod1Indices)[2]
|
||||
#define Nod1Edg2 ((Standard_Boolean*)Nod1Indices)[3]
|
||||
#define Nod1Flag ((Standard_Integer*)Nod1Indices)[1]
|
||||
#define Nod1Edg1 ((Standard_Integer*)Nod1Indices)[2]
|
||||
#define Nod1Edg2 ((Standard_Integer*)Nod1Indices)[3]
|
||||
|
||||
#define Nod1PntX ((Standard_Real*)Nod1RValues)[ 0]
|
||||
#define Nod1PntY ((Standard_Real*)Nod1RValues)[ 1]
|
||||
@@ -150,9 +150,9 @@ IMPLEMENT_STANDARD_RTTIEXT(HLRBRep_PolyAlgo,MMgt_TShared)
|
||||
#define Nod1Scal ((Standard_Real*)Nod1RValues)[10]
|
||||
|
||||
#define NodANdSg ((Standard_Integer*)NodAIndices)[0]
|
||||
#define NodAFlag ((Standard_Boolean*)NodAIndices)[1]
|
||||
#define NodAEdg1 ((Standard_Boolean*)NodAIndices)[2]
|
||||
#define NodAEdg2 ((Standard_Boolean*)NodAIndices)[3]
|
||||
#define NodAFlag ((Standard_Integer*)NodAIndices)[1]
|
||||
#define NodAEdg1 ((Standard_Integer*)NodAIndices)[2]
|
||||
#define NodAEdg2 ((Standard_Integer*)NodAIndices)[3]
|
||||
|
||||
#define NodAPntX ((Standard_Real*)NodARValues)[ 0]
|
||||
#define NodAPntY ((Standard_Real*)NodARValues)[ 1]
|
||||
@@ -167,9 +167,9 @@ IMPLEMENT_STANDARD_RTTIEXT(HLRBRep_PolyAlgo,MMgt_TShared)
|
||||
#define NodAScal ((Standard_Real*)NodARValues)[10]
|
||||
|
||||
#define NodBNdSg ((Standard_Integer*)NodBIndices)[0]
|
||||
#define NodBFlag ((Standard_Boolean*)NodBIndices)[1]
|
||||
#define NodBEdg1 ((Standard_Boolean*)NodBIndices)[2]
|
||||
#define NodBEdg2 ((Standard_Boolean*)NodBIndices)[3]
|
||||
#define NodBFlag ((Standard_Integer*)NodBIndices)[1]
|
||||
#define NodBEdg1 ((Standard_Integer*)NodBIndices)[2]
|
||||
#define NodBEdg2 ((Standard_Integer*)NodBIndices)[3]
|
||||
|
||||
#define NodBPntX ((Standard_Real*)NodBRValues)[ 0]
|
||||
#define NodBPntY ((Standard_Real*)NodBRValues)[ 1]
|
||||
@@ -184,9 +184,9 @@ IMPLEMENT_STANDARD_RTTIEXT(HLRBRep_PolyAlgo,MMgt_TShared)
|
||||
#define NodBScal ((Standard_Real*)NodBRValues)[10]
|
||||
|
||||
#define Nod2NdSg ((Standard_Integer*)Nod2Indices)[0]
|
||||
#define Nod2Flag ((Standard_Boolean*)Nod2Indices)[1]
|
||||
#define Nod2Edg1 ((Standard_Boolean*)Nod2Indices)[2]
|
||||
#define Nod2Edg2 ((Standard_Boolean*)Nod2Indices)[3]
|
||||
#define Nod2Flag ((Standard_Integer*)Nod2Indices)[1]
|
||||
#define Nod2Edg1 ((Standard_Integer*)Nod2Indices)[2]
|
||||
#define Nod2Edg2 ((Standard_Integer*)Nod2Indices)[3]
|
||||
|
||||
#define Nod2PntX ((Standard_Real*)Nod2RValues)[ 0]
|
||||
#define Nod2PntY ((Standard_Real*)Nod2RValues)[ 1]
|
||||
@@ -201,9 +201,9 @@ IMPLEMENT_STANDARD_RTTIEXT(HLRBRep_PolyAlgo,MMgt_TShared)
|
||||
#define Nod2Scal ((Standard_Real*)Nod2RValues)[10]
|
||||
|
||||
#define Nod3NdSg ((Standard_Integer*)Nod3Indices)[0]
|
||||
#define Nod3Flag ((Standard_Boolean*)Nod3Indices)[1]
|
||||
#define Nod3Edg1 ((Standard_Boolean*)Nod3Indices)[2]
|
||||
#define Nod3Edg2 ((Standard_Boolean*)Nod3Indices)[3]
|
||||
#define Nod3Flag ((Standard_Integer*)Nod3Indices)[1]
|
||||
#define Nod3Edg1 ((Standard_Integer*)Nod3Indices)[2]
|
||||
#define Nod3Edg2 ((Standard_Integer*)Nod3Indices)[3]
|
||||
|
||||
#define Nod3PntX ((Standard_Real*)Nod3RValues)[ 0]
|
||||
#define Nod3PntY ((Standard_Real*)Nod3RValues)[ 1]
|
||||
@@ -218,9 +218,9 @@ IMPLEMENT_STANDARD_RTTIEXT(HLRBRep_PolyAlgo,MMgt_TShared)
|
||||
#define Nod3Scal ((Standard_Real*)Nod3RValues)[10]
|
||||
|
||||
#define Nod4NdSg ((Standard_Integer*)Nod4Indices)[0]
|
||||
#define Nod4Flag ((Standard_Boolean*)Nod4Indices)[1]
|
||||
#define Nod4Edg1 ((Standard_Boolean*)Nod4Indices)[2]
|
||||
#define Nod4Edg2 ((Standard_Boolean*)Nod4Indices)[3]
|
||||
#define Nod4Flag ((Standard_Integer*)Nod4Indices)[1]
|
||||
#define Nod4Edg1 ((Standard_Integer*)Nod4Indices)[2]
|
||||
#define Nod4Edg2 ((Standard_Integer*)Nod4Indices)[3]
|
||||
|
||||
#define Nod4PntX ((Standard_Real*)Nod4RValues)[ 0]
|
||||
#define Nod4PntY ((Standard_Real*)Nod4RValues)[ 1]
|
||||
@@ -235,9 +235,9 @@ IMPLEMENT_STANDARD_RTTIEXT(HLRBRep_PolyAlgo,MMgt_TShared)
|
||||
#define Nod4Scal ((Standard_Real*)Nod4RValues)[10]
|
||||
|
||||
#define Nod11NdSg ((Standard_Integer*)Nod11Indices)[0]
|
||||
#define Nod11Flag ((Standard_Boolean*)Nod11Indices)[1]
|
||||
#define Nod11Edg1 ((Standard_Boolean*)Nod11Indices)[2]
|
||||
#define Nod11Edg2 ((Standard_Boolean*)Nod11Indices)[3]
|
||||
#define Nod11Flag ((Standard_Integer*)Nod11Indices)[1]
|
||||
#define Nod11Edg1 ((Standard_Integer*)Nod11Indices)[2]
|
||||
#define Nod11Edg2 ((Standard_Integer*)Nod11Indices)[3]
|
||||
|
||||
#define Nod11PntX ((Standard_Real*)Nod11RValues)[ 0]
|
||||
#define Nod11PntY ((Standard_Real*)Nod11RValues)[ 1]
|
||||
@@ -252,9 +252,9 @@ IMPLEMENT_STANDARD_RTTIEXT(HLRBRep_PolyAlgo,MMgt_TShared)
|
||||
#define Nod11Scal ((Standard_Real*)Nod11RValues)[10]
|
||||
|
||||
#define Nod1ANdSg ((Standard_Integer*)Nod1AIndices)[0]
|
||||
#define Nod1AFlag ((Standard_Boolean*)Nod1AIndices)[1]
|
||||
#define Nod1AEdg1 ((Standard_Boolean*)Nod1AIndices)[2]
|
||||
#define Nod1AEdg2 ((Standard_Boolean*)Nod1AIndices)[3]
|
||||
#define Nod1AFlag ((Standard_Integer*)Nod1AIndices)[1]
|
||||
#define Nod1AEdg1 ((Standard_Integer*)Nod1AIndices)[2]
|
||||
#define Nod1AEdg2 ((Standard_Integer*)Nod1AIndices)[3]
|
||||
|
||||
#define Nod1APntX ((Standard_Real*)Nod1ARValues)[ 0]
|
||||
#define Nod1APntY ((Standard_Real*)Nod1ARValues)[ 1]
|
||||
@@ -269,9 +269,9 @@ IMPLEMENT_STANDARD_RTTIEXT(HLRBRep_PolyAlgo,MMgt_TShared)
|
||||
#define Nod1AScal ((Standard_Real*)Nod1ARValues)[10]
|
||||
|
||||
#define Nod1BNdSg ((Standard_Integer*)Nod1BIndices)[0]
|
||||
#define Nod1BFlag ((Standard_Boolean*)Nod1BIndices)[1]
|
||||
#define Nod1BEdg1 ((Standard_Boolean*)Nod1BIndices)[2]
|
||||
#define Nod1BEdg2 ((Standard_Boolean*)Nod1BIndices)[3]
|
||||
#define Nod1BFlag ((Standard_Integer*)Nod1BIndices)[1]
|
||||
#define Nod1BEdg1 ((Standard_Integer*)Nod1BIndices)[2]
|
||||
#define Nod1BEdg2 ((Standard_Integer*)Nod1BIndices)[3]
|
||||
|
||||
#define Nod1BPntX ((Standard_Real*)Nod1BRValues)[ 0]
|
||||
#define Nod1BPntY ((Standard_Real*)Nod1BRValues)[ 1]
|
||||
@@ -286,9 +286,9 @@ IMPLEMENT_STANDARD_RTTIEXT(HLRBRep_PolyAlgo,MMgt_TShared)
|
||||
#define Nod1BScal ((Standard_Real*)Nod1BRValues)[10]
|
||||
|
||||
#define Nod12NdSg ((Standard_Integer*)Nod12Indices)[0]
|
||||
#define Nod12Flag ((Standard_Boolean*)Nod12Indices)[1]
|
||||
#define Nod12Edg1 ((Standard_Boolean*)Nod12Indices)[2]
|
||||
#define Nod12Edg2 ((Standard_Boolean*)Nod12Indices)[3]
|
||||
#define Nod12Flag ((Standard_Integer*)Nod12Indices)[1]
|
||||
#define Nod12Edg1 ((Standard_Integer*)Nod12Indices)[2]
|
||||
#define Nod12Edg2 ((Standard_Integer*)Nod12Indices)[3]
|
||||
|
||||
#define Nod12PntX ((Standard_Real*)Nod12RValues)[ 0]
|
||||
#define Nod12PntY ((Standard_Real*)Nod12RValues)[ 1]
|
||||
@@ -303,9 +303,9 @@ IMPLEMENT_STANDARD_RTTIEXT(HLRBRep_PolyAlgo,MMgt_TShared)
|
||||
#define Nod12Scal ((Standard_Real*)Nod12RValues)[10]
|
||||
|
||||
#define Nod13NdSg ((Standard_Integer*)Nod13Indices)[0]
|
||||
#define Nod13Flag ((Standard_Boolean*)Nod13Indices)[1]
|
||||
#define Nod13Edg1 ((Standard_Boolean*)Nod13Indices)[2]
|
||||
#define Nod13Edg2 ((Standard_Boolean*)Nod13Indices)[3]
|
||||
#define Nod13Flag ((Standard_Integer*)Nod13Indices)[1]
|
||||
#define Nod13Edg1 ((Standard_Integer*)Nod13Indices)[2]
|
||||
#define Nod13Edg2 ((Standard_Integer*)Nod13Indices)[3]
|
||||
|
||||
#define Nod13PntX ((Standard_Real*)Nod13RValues)[ 0]
|
||||
#define Nod13PntY ((Standard_Real*)Nod13RValues)[ 1]
|
||||
@@ -320,9 +320,9 @@ IMPLEMENT_STANDARD_RTTIEXT(HLRBRep_PolyAlgo,MMgt_TShared)
|
||||
#define Nod13Scal ((Standard_Real*)Nod13RValues)[10]
|
||||
|
||||
#define Nod14NdSg ((Standard_Integer*)Nod14Indices)[0]
|
||||
#define Nod14Flag ((Standard_Boolean*)Nod14Indices)[1]
|
||||
#define Nod14Edg1 ((Standard_Boolean*)Nod14Indices)[2]
|
||||
#define Nod14Edg2 ((Standard_Boolean*)Nod14Indices)[3]
|
||||
#define Nod14Flag ((Standard_Integer*)Nod14Indices)[1]
|
||||
#define Nod14Edg1 ((Standard_Integer*)Nod14Indices)[2]
|
||||
#define Nod14Edg2 ((Standard_Integer*)Nod14Indices)[3]
|
||||
|
||||
#define Nod14PntX ((Standard_Real*)Nod14RValues)[ 0]
|
||||
#define Nod14PntY ((Standard_Real*)Nod14RValues)[ 1]
|
||||
@@ -337,9 +337,9 @@ IMPLEMENT_STANDARD_RTTIEXT(HLRBRep_PolyAlgo,MMgt_TShared)
|
||||
#define Nod14Scal ((Standard_Real*)Nod14RValues)[10]
|
||||
|
||||
#define Nod21NdSg ((Standard_Integer*)Nod21Indices)[0]
|
||||
#define Nod21Flag ((Standard_Boolean*)Nod21Indices)[1]
|
||||
#define Nod21Edg1 ((Standard_Boolean*)Nod21Indices)[2]
|
||||
#define Nod21Edg2 ((Standard_Boolean*)Nod21Indices)[3]
|
||||
#define Nod21Flag ((Standard_Integer*)Nod21Indices)[1]
|
||||
#define Nod21Edg1 ((Standard_Integer*)Nod21Indices)[2]
|
||||
#define Nod21Edg2 ((Standard_Integer*)Nod21Indices)[3]
|
||||
|
||||
#define Nod21PntX ((Standard_Real*)Nod21RValues)[ 0]
|
||||
#define Nod21PntY ((Standard_Real*)Nod21RValues)[ 1]
|
||||
@@ -354,9 +354,9 @@ IMPLEMENT_STANDARD_RTTIEXT(HLRBRep_PolyAlgo,MMgt_TShared)
|
||||
#define Nod21Scal ((Standard_Real*)Nod21RValues)[10]
|
||||
|
||||
#define Nod2ANdSg ((Standard_Integer*)Nod2AIndices)[0]
|
||||
#define Nod2AFlag ((Standard_Boolean*)Nod2AIndices)[1]
|
||||
#define Nod2AEdg1 ((Standard_Boolean*)Nod2AIndices)[2]
|
||||
#define Nod2AEdg2 ((Standard_Boolean*)Nod2AIndices)[3]
|
||||
#define Nod2AFlag ((Standard_Integer*)Nod2AIndices)[1]
|
||||
#define Nod2AEdg1 ((Standard_Integer*)Nod2AIndices)[2]
|
||||
#define Nod2AEdg2 ((Standard_Integer*)Nod2AIndices)[3]
|
||||
|
||||
#define Nod2APntX ((Standard_Real*)Nod2ARValues)[ 0]
|
||||
#define Nod2APntY ((Standard_Real*)Nod2ARValues)[ 1]
|
||||
@@ -371,9 +371,9 @@ IMPLEMENT_STANDARD_RTTIEXT(HLRBRep_PolyAlgo,MMgt_TShared)
|
||||
#define Nod2AScal ((Standard_Real*)Nod2ARValues)[10]
|
||||
|
||||
#define Nod2BNdSg ((Standard_Integer*)Nod2BIndices)[0]
|
||||
#define Nod2BFlag ((Standard_Boolean*)Nod2BIndices)[1]
|
||||
#define Nod2BEdg1 ((Standard_Boolean*)Nod2BIndices)[2]
|
||||
#define Nod2BEdg2 ((Standard_Boolean*)Nod2BIndices)[3]
|
||||
#define Nod2BFlag ((Standard_Integer*)Nod2BIndices)[1]
|
||||
#define Nod2BEdg1 ((Standard_Integer*)Nod2BIndices)[2]
|
||||
#define Nod2BEdg2 ((Standard_Integer*)Nod2BIndices)[3]
|
||||
|
||||
#define Nod2BPntX ((Standard_Real*)Nod2BRValues)[ 0]
|
||||
#define Nod2BPntY ((Standard_Real*)Nod2BRValues)[ 1]
|
||||
@@ -388,9 +388,9 @@ IMPLEMENT_STANDARD_RTTIEXT(HLRBRep_PolyAlgo,MMgt_TShared)
|
||||
#define Nod2BScal ((Standard_Real*)Nod2BRValues)[10]
|
||||
|
||||
#define Nod22NdSg ((Standard_Integer*)Nod22Indices)[0]
|
||||
#define Nod22Flag ((Standard_Boolean*)Nod22Indices)[1]
|
||||
#define Nod22Edg1 ((Standard_Boolean*)Nod22Indices)[2]
|
||||
#define Nod22Edg2 ((Standard_Boolean*)Nod22Indices)[3]
|
||||
#define Nod22Flag ((Standard_Integer*)Nod22Indices)[1]
|
||||
#define Nod22Edg1 ((Standard_Integer*)Nod22Indices)[2]
|
||||
#define Nod22Edg2 ((Standard_Integer*)Nod22Indices)[3]
|
||||
|
||||
#define Nod22PntX ((Standard_Real*)Nod22RValues)[ 0]
|
||||
#define Nod22PntY ((Standard_Real*)Nod22RValues)[ 1]
|
||||
@@ -405,9 +405,9 @@ IMPLEMENT_STANDARD_RTTIEXT(HLRBRep_PolyAlgo,MMgt_TShared)
|
||||
#define Nod22Scal ((Standard_Real*)Nod22RValues)[10]
|
||||
|
||||
#define Nod23NdSg ((Standard_Integer*)Nod23Indices)[0]
|
||||
#define Nod23Flag ((Standard_Boolean*)Nod23Indices)[1]
|
||||
#define Nod23Edg1 ((Standard_Boolean*)Nod23Indices)[2]
|
||||
#define Nod23Edg2 ((Standard_Boolean*)Nod23Indices)[3]
|
||||
#define Nod23Flag ((Standard_Integer*)Nod23Indices)[1]
|
||||
#define Nod23Edg1 ((Standard_Integer*)Nod23Indices)[2]
|
||||
#define Nod23Edg2 ((Standard_Integer*)Nod23Indices)[3]
|
||||
|
||||
#define Nod23PntX ((Standard_Real*)Nod23RValues)[ 0]
|
||||
#define Nod23PntY ((Standard_Real*)Nod23RValues)[ 1]
|
||||
@@ -422,9 +422,9 @@ IMPLEMENT_STANDARD_RTTIEXT(HLRBRep_PolyAlgo,MMgt_TShared)
|
||||
#define Nod23Scal ((Standard_Real*)Nod23RValues)[10]
|
||||
|
||||
#define Nod24NdSg ((Standard_Integer*)Nod24Indices)[0]
|
||||
#define Nod24Flag ((Standard_Boolean*)Nod24Indices)[1]
|
||||
#define Nod24Edg1 ((Standard_Boolean*)Nod24Indices)[2]
|
||||
#define Nod24Edg2 ((Standard_Boolean*)Nod24Indices)[3]
|
||||
#define Nod24Flag ((Standard_Integer*)Nod24Indices)[1]
|
||||
#define Nod24Edg1 ((Standard_Integer*)Nod24Indices)[2]
|
||||
#define Nod24Edg2 ((Standard_Integer*)Nod24Indices)[3]
|
||||
|
||||
#define Nod24PntX ((Standard_Real*)Nod24RValues)[ 0]
|
||||
#define Nod24PntY ((Standard_Real*)Nod24RValues)[ 1]
|
||||
@@ -1272,7 +1272,7 @@ InitBiPointsWithConnexity (const Standard_Integer e,
|
||||
&(((HLRAlgo_Array1OfPINod*)PINod1)->ChangeValue(Pol1(iPol)));
|
||||
Standard_Address Nod1AIndices = (*pi1pA)->Indices();
|
||||
Standard_Address Nod1ARValues = (*pi1pA)->RValues();
|
||||
if (Nod1AEdg1 == 0 || Nod1AEdg1 == (Standard_Boolean) e) {
|
||||
if (Nod1AEdg1 == 0 || Nod1AEdg1 == e) {
|
||||
Nod1AEdg1 = e;
|
||||
Nod1APCu1 = par->Value(iPol);
|
||||
}
|
||||
@@ -1288,8 +1288,8 @@ InitBiPointsWithConnexity (const Standard_Integer e,
|
||||
XTI2 = X2 = Nod12PntX;
|
||||
YTI2 = Y2 = Nod12PntY;
|
||||
ZTI2 = Z2 = Nod12PntZ;
|
||||
if (Nod12Edg1 == (Standard_Boolean) e) U2 = Nod12PCu1;
|
||||
else if (Nod12Edg2 == (Standard_Boolean) e) U2 = Nod12PCu2;
|
||||
if (Nod12Edg1 == e) U2 = Nod12PCu1;
|
||||
else if (Nod12Edg2 == e) U2 = Nod12PCu2;
|
||||
#ifdef OCCT_DEBUG
|
||||
else {
|
||||
cout << " HLRBRep_PolyAlgo::InitBiPointsWithConnexity : ";
|
||||
@@ -1340,8 +1340,8 @@ InitBiPointsWithConnexity (const Standard_Integer e,
|
||||
XTI2 = X2 = Nod12PntX;
|
||||
YTI2 = Y2 = Nod12PntY;
|
||||
ZTI2 = Z2 = Nod12PntZ;
|
||||
if (Nod12Edg1 == (Standard_Boolean) e) U2 = Nod12PCu1;
|
||||
else if (Nod12Edg2 == (Standard_Boolean) e) U2 = Nod12PCu2;
|
||||
if (Nod12Edg1 == e) U2 = Nod12PCu1;
|
||||
else if (Nod12Edg2 == e) U2 = Nod12PCu2;
|
||||
#ifdef OCCT_DEBUG
|
||||
else {
|
||||
cout << " HLRBRep_PolyAlgo::InitBiPointsWithConnexity : ";
|
||||
@@ -1431,7 +1431,7 @@ InitBiPointsWithConnexity (const Standard_Integer e,
|
||||
Standard_Address Nod2AIndices = (*pi2pA)->Indices();
|
||||
Standard_Address Nod2ARValues = (*pi2pA)->RValues();
|
||||
Standard_Real PCu = par->Value(iPol);
|
||||
if (Nod1AEdg1 == 0 || Nod1AEdg1 == (Standard_Boolean) e) {
|
||||
if (Nod1AEdg1 == 0 || Nod1AEdg1 == e) {
|
||||
Nod1AEdg1 = e;
|
||||
Nod1APCu1 = PCu;
|
||||
}
|
||||
@@ -1439,7 +1439,7 @@ InitBiPointsWithConnexity (const Standard_Integer e,
|
||||
Nod1AEdg2 = e;
|
||||
Nod1APCu2 = PCu;
|
||||
}
|
||||
if (Nod2AEdg1 == 0 || Nod2AEdg1 == (Standard_Boolean) e) {
|
||||
if (Nod2AEdg1 == 0 || Nod2AEdg1 == e) {
|
||||
Nod2AEdg1 = e;
|
||||
Nod2APCu1 = PCu;
|
||||
}
|
||||
@@ -1458,8 +1458,8 @@ InitBiPointsWithConnexity (const Standard_Integer e,
|
||||
XTI2 = X2 = Nod12PntX;
|
||||
YTI2 = Y2 = Nod12PntY;
|
||||
ZTI2 = Z2 = Nod12PntZ;
|
||||
if (Nod12Edg1 == (Standard_Boolean) e) U2 = Nod12PCu1;
|
||||
else if (Nod12Edg2 == (Standard_Boolean) e) U2 = Nod12PCu2;
|
||||
if (Nod12Edg1 == e) U2 = Nod12PCu1;
|
||||
else if (Nod12Edg2 == e) U2 = Nod12PCu2;
|
||||
#ifdef OCCT_DEBUG
|
||||
else {
|
||||
cout << " HLRBRep_PolyAlgo::InitBiPointsWithConnexity : ";
|
||||
@@ -1531,8 +1531,8 @@ InitBiPointsWithConnexity (const Standard_Integer e,
|
||||
XTI2 = X2 = Nod12PntX;
|
||||
YTI2 = Y2 = Nod12PntY;
|
||||
ZTI2 = Z2 = Nod12PntZ;
|
||||
if (Nod12Edg1 == (Standard_Boolean) e) U2 = Nod12PCu1;
|
||||
else if (Nod12Edg2 == (Standard_Boolean) e) U2 = Nod12PCu2;
|
||||
if (Nod12Edg1 == e) U2 = Nod12PCu1;
|
||||
else if (Nod12Edg2 == e) U2 = Nod12PCu2;
|
||||
#ifdef OCCT_DEBUG
|
||||
else {
|
||||
cout << " HLRBRep_PolyAlgo::InitBiPointsWithConnexity : ";
|
||||
@@ -1727,7 +1727,7 @@ Interpolation (HLRAlgo_ListOfBPoint& List,
|
||||
Standard_Real X3,Y3,Z3,XTI3,YTI3,ZTI3,coef3,U3;
|
||||
Standard_Real X4,Y4,Z4,XTI4,YTI4,ZTI4,coef4,U4;
|
||||
// gp_Pnt P3,PT3,P4,PT4;
|
||||
Standard_Boolean flag = 0;
|
||||
Standard_Integer flag = 0;
|
||||
if (rg >= GeomAbs_G1) flag += 1;
|
||||
if (rg >= GeomAbs_G2) flag += 2;
|
||||
insP3 = Interpolation(U1,U2,Nod11RValues,Nod12RValues,
|
||||
@@ -1884,7 +1884,7 @@ MoveOrInsertPoint (HLRAlgo_ListOfBPoint& List,
|
||||
const Standard_Real U3,
|
||||
const Standard_Boolean insP3,
|
||||
const Standard_Boolean mP3P1,
|
||||
const Standard_Boolean flag) const
|
||||
const Standard_Integer flag) const
|
||||
{
|
||||
Standard_Address TData2 = 0;
|
||||
Standard_Address PISeg2 = 0;
|
||||
@@ -1908,8 +1908,8 @@ MoveOrInsertPoint (HLRAlgo_ListOfBPoint& List,
|
||||
Nod11PntX = X3;
|
||||
Nod11PntY = Y3;
|
||||
Nod11PntZ = Z3;
|
||||
if (Nod11Edg1 == (Standard_Boolean) e) Nod11PCu1 = U3;
|
||||
else if (Nod11Edg2 == (Standard_Boolean) e) Nod11PCu2 = U3;
|
||||
if (Nod11Edg1 == e) Nod11PCu1 = U3;
|
||||
else if (Nod11Edg2 == e) Nod11PCu2 = U3;
|
||||
#ifdef OCCT_DEBUG
|
||||
else {
|
||||
cout << " HLRBRep_PolyAlgo::MoveOrInsertPoint : ";
|
||||
@@ -1946,8 +1946,8 @@ MoveOrInsertPoint (HLRAlgo_ListOfBPoint& List,
|
||||
Nod12PntX = X3;
|
||||
Nod12PntY = Y3;
|
||||
Nod12PntZ = Z3;
|
||||
if (Nod12Edg1 == (Standard_Boolean) e) Nod12PCu1 = U3;
|
||||
else if (Nod12Edg2 == (Standard_Boolean) e) Nod12PCu2 = U3;
|
||||
if (Nod12Edg1 == e) Nod12PCu1 = U3;
|
||||
else if (Nod12Edg2 == e) Nod12PCu2 = U3;
|
||||
#ifdef OCCT_DEBUG
|
||||
else {
|
||||
cout << " HLRBRep_PolyAlgo::MoveOrInsertPoint : ";
|
||||
@@ -2045,7 +2045,7 @@ MoveOrInsertPoint (HLRAlgo_ListOfBPoint& List,
|
||||
const Standard_Real U3,
|
||||
const Standard_Boolean insP3,
|
||||
const Standard_Boolean mP3P1,
|
||||
const Standard_Boolean flag) const
|
||||
const Standard_Integer flag) const
|
||||
{
|
||||
Standard_Boolean ins3 = insP3;
|
||||
if (ins3 && mP3P1) { // P1 ---> P3
|
||||
@@ -2071,8 +2071,8 @@ MoveOrInsertPoint (HLRAlgo_ListOfBPoint& List,
|
||||
Nod11PntX = X3;
|
||||
Nod11PntY = Y3;
|
||||
Nod11PntZ = Z3;
|
||||
if (Nod11Edg1 == (Standard_Boolean) e) Nod11PCu1 = U3;
|
||||
else if (Nod11Edg2 == (Standard_Boolean) e) Nod11PCu2 = U3;
|
||||
if (Nod11Edg1 == e) Nod11PCu1 = U3;
|
||||
else if (Nod11Edg2 == e) Nod11PCu2 = U3;
|
||||
#ifdef OCCT_DEBUG
|
||||
else {
|
||||
cout << " HLRBRep_PolyAlgo::MoveOrInsertPoint : ";
|
||||
@@ -2085,8 +2085,8 @@ MoveOrInsertPoint (HLRAlgo_ListOfBPoint& List,
|
||||
Nod21PntX = X3;
|
||||
Nod21PntY = Y3;
|
||||
Nod21PntZ = Z3;
|
||||
if (Nod21Edg1 == (Standard_Boolean) e) Nod21PCu1 = U3;
|
||||
else if (Nod21Edg2 == (Standard_Boolean) e) Nod21PCu2 = U3;
|
||||
if (Nod21Edg1 == e) Nod21PCu1 = U3;
|
||||
else if (Nod21Edg2 == e) Nod21PCu2 = U3;
|
||||
#ifdef OCCT_DEBUG
|
||||
else {
|
||||
cout << " HLRBRep_PolyAlgo::MoveOrInsertPoint : ";
|
||||
@@ -2128,8 +2128,8 @@ MoveOrInsertPoint (HLRAlgo_ListOfBPoint& List,
|
||||
Nod12PntX = X3;
|
||||
Nod12PntY = Y3;
|
||||
Nod12PntZ = Z3;
|
||||
if (Nod12Edg1 == (Standard_Boolean) e) Nod12PCu1 = U3;
|
||||
else if (Nod12Edg2 == (Standard_Boolean) e) Nod12PCu2 = U3;
|
||||
if (Nod12Edg1 == e) Nod12PCu1 = U3;
|
||||
else if (Nod12Edg2 == e) Nod12PCu2 = U3;
|
||||
#ifdef OCCT_DEBUG
|
||||
else {
|
||||
cout << " HLRBRep_PolyAlgo::MoveOrInsertPoint : ";
|
||||
@@ -2142,8 +2142,8 @@ MoveOrInsertPoint (HLRAlgo_ListOfBPoint& List,
|
||||
Nod22PntX = X3;
|
||||
Nod22PntY = Y3;
|
||||
Nod22PntZ = Z3;
|
||||
if (Nod22Edg1 == (Standard_Boolean) e) Nod22PCu1 = U3;
|
||||
else if (Nod22Edg2 == (Standard_Boolean) e) Nod22PCu2 = U3;
|
||||
if (Nod22Edg1 == e) Nod22PCu1 = U3;
|
||||
else if (Nod22Edg2 == e) Nod22PCu2 = U3;
|
||||
#ifdef OCCT_DEBUG
|
||||
else {
|
||||
cout << " HLRBRep_PolyAlgo::MoveOrInsertPoint : ";
|
||||
@@ -2265,7 +2265,7 @@ MoveOrInsertPoint (HLRAlgo_ListOfBPoint& List,
|
||||
const Standard_Real U4,
|
||||
const Standard_Boolean insP4,
|
||||
const Standard_Boolean mP4P1,
|
||||
const Standard_Boolean flag) const
|
||||
const Standard_Integer flag) const
|
||||
{
|
||||
Standard_Boolean ins3 = insP3;
|
||||
Standard_Boolean ins4 = insP4;
|
||||
@@ -2292,8 +2292,8 @@ MoveOrInsertPoint (HLRAlgo_ListOfBPoint& List,
|
||||
Nod11PntX = X3;
|
||||
Nod11PntY = Y3;
|
||||
Nod11PntZ = Z3;
|
||||
if (Nod11Edg1 == (Standard_Boolean) e) Nod11PCu1 = U3;
|
||||
else if (Nod11Edg2 == (Standard_Boolean) e) Nod11PCu2 = U3;
|
||||
if (Nod11Edg1 == e) Nod11PCu1 = U3;
|
||||
else if (Nod11Edg2 == e) Nod11PCu2 = U3;
|
||||
#ifdef OCCT_DEBUG
|
||||
else {
|
||||
cout << " HLRBRep_PolyAlgo::MoveOrInsertPoint : ";
|
||||
@@ -2306,8 +2306,8 @@ MoveOrInsertPoint (HLRAlgo_ListOfBPoint& List,
|
||||
Nod21PntX = X3;
|
||||
Nod21PntY = Y3;
|
||||
Nod21PntZ = Z3;
|
||||
if (Nod21Edg1 == (Standard_Boolean) e) Nod21PCu1 = U3;
|
||||
else if (Nod21Edg2 == (Standard_Boolean) e) Nod21PCu2 = U3;
|
||||
if (Nod21Edg1 == e) Nod21PCu1 = U3;
|
||||
else if (Nod21Edg2 == e) Nod21PCu2 = U3;
|
||||
#ifdef OCCT_DEBUG
|
||||
else {
|
||||
cout << " HLRBRep_PolyAlgo::MoveOrInsertPoint : ";
|
||||
@@ -2349,8 +2349,8 @@ MoveOrInsertPoint (HLRAlgo_ListOfBPoint& List,
|
||||
Nod12PntX = X4;
|
||||
Nod12PntY = Y4;
|
||||
Nod12PntZ = Z4;
|
||||
if (Nod12Edg1 == (Standard_Boolean) e) Nod12PCu1 = U4;
|
||||
else if (Nod12Edg2 == (Standard_Boolean) e) Nod12PCu2 = U4;
|
||||
if (Nod12Edg1 == e) Nod12PCu1 = U4;
|
||||
else if (Nod12Edg2 == e) Nod12PCu2 = U4;
|
||||
#ifdef OCCT_DEBUG
|
||||
else {
|
||||
cout << " HLRBRep_PolyAlgo::MoveOrInsertPoint : ";
|
||||
@@ -2363,8 +2363,8 @@ MoveOrInsertPoint (HLRAlgo_ListOfBPoint& List,
|
||||
Nod22PntX = X4;
|
||||
Nod22PntY = Y4;
|
||||
Nod22PntZ = Z4;
|
||||
if (Nod22Edg1 == (Standard_Boolean) e) Nod22PCu1 = U4;
|
||||
else if (Nod22Edg2 == (Standard_Boolean) e) Nod22PCu2 = U4;
|
||||
if (Nod22Edg1 == e) Nod22PCu1 = U4;
|
||||
else if (Nod22Edg2 == e) Nod22PCu2 = U4;
|
||||
#ifdef OCCT_DEBUG
|
||||
else {
|
||||
cout << " HLRBRep_PolyAlgo::MoveOrInsertPoint : ";
|
||||
@@ -3163,9 +3163,9 @@ HLRBRep_PolyAlgo::OrientTriangle(const Standard_Integer,
|
||||
const Standard_Address Nod3Indices,
|
||||
const Standard_Address Nod3RValues) const
|
||||
{
|
||||
Standard_Boolean o1 = Nod1Flag & NMskOutL;
|
||||
Standard_Boolean o2 = Nod2Flag & NMskOutL;
|
||||
Standard_Boolean o3 = Nod3Flag & NMskOutL;
|
||||
Standard_Boolean o1 = (Nod1Flag & NMskOutL) != 0;
|
||||
Standard_Boolean o2 = (Nod2Flag & NMskOutL) != 0;
|
||||
Standard_Boolean o3 = (Nod3Flag & NMskOutL) != 0;
|
||||
Tri1Flags &= ~FMskFlat;
|
||||
Tri1Flags &= ~FMskOnOutL;
|
||||
if (o1 && o2 && o3) {
|
||||
|
||||
@@ -214,11 +214,11 @@ private:
|
||||
|
||||
Standard_EXPORT Standard_Boolean Interpolation (const Standard_Real U1, const Standard_Real U2, const Standard_Address Nod1RValues, const Standard_Address Nod2RValues, Standard_Real& X3, Standard_Real& Y3, Standard_Real& Z3, Standard_Real& XT3, Standard_Real& YT3, Standard_Real& ZT3, Standard_Real& coef3, Standard_Real& U3, Standard_Boolean& mP3P1) const;
|
||||
|
||||
Standard_EXPORT void MoveOrInsertPoint (HLRAlgo_ListOfBPoint& List, Standard_Real& X1, Standard_Real& Y1, Standard_Real& Z1, Standard_Real& X2, Standard_Real& Y2, Standard_Real& Z2, Standard_Real& XTI1, Standard_Real& YTI1, Standard_Real& ZTI1, Standard_Real& XTI2, Standard_Real& YTI2, Standard_Real& ZTI2, const Standard_Integer e, Standard_Real& U1, Standard_Real& U2, Standard_Address& Nod11Indices, Standard_Address& Nod11RValues, Standard_Address& Nod12Indices, Standard_Address& Nod12RValues, const Standard_Integer i1p1, const Standard_Integer i1p2, const Standard_Integer i1, const Handle(HLRAlgo_PolyInternalData)& pid1, Standard_Address& TData1, Standard_Address& PISeg1, Standard_Address& PINod1, const Standard_Real X3, const Standard_Real Y3, const Standard_Real Z3, const Standard_Real XT3, const Standard_Real YT3, const Standard_Real ZT3, const Standard_Real coef3, const Standard_Real U3, const Standard_Boolean insP3, const Standard_Boolean mP3P1, const Standard_Boolean flag) const;
|
||||
Standard_EXPORT void MoveOrInsertPoint (HLRAlgo_ListOfBPoint& List, Standard_Real& X1, Standard_Real& Y1, Standard_Real& Z1, Standard_Real& X2, Standard_Real& Y2, Standard_Real& Z2, Standard_Real& XTI1, Standard_Real& YTI1, Standard_Real& ZTI1, Standard_Real& XTI2, Standard_Real& YTI2, Standard_Real& ZTI2, const Standard_Integer e, Standard_Real& U1, Standard_Real& U2, Standard_Address& Nod11Indices, Standard_Address& Nod11RValues, Standard_Address& Nod12Indices, Standard_Address& Nod12RValues, const Standard_Integer i1p1, const Standard_Integer i1p2, const Standard_Integer i1, const Handle(HLRAlgo_PolyInternalData)& pid1, Standard_Address& TData1, Standard_Address& PISeg1, Standard_Address& PINod1, const Standard_Real X3, const Standard_Real Y3, const Standard_Real Z3, const Standard_Real XT3, const Standard_Real YT3, const Standard_Real ZT3, const Standard_Real coef3, const Standard_Real U3, const Standard_Boolean insP3, const Standard_Boolean mP3P1, const Standard_Integer flag) const;
|
||||
|
||||
Standard_EXPORT void MoveOrInsertPoint (HLRAlgo_ListOfBPoint& List, Standard_Real& X1, Standard_Real& Y1, Standard_Real& Z1, Standard_Real& X2, Standard_Real& Y2, Standard_Real& Z2, Standard_Real& XTI1, Standard_Real& YTI1, Standard_Real& ZTI1, Standard_Real& XTI2, Standard_Real& YTI2, Standard_Real& ZTI2, const Standard_Integer e, Standard_Real& U1, Standard_Real& U2, Standard_Address& Nod11Indices, Standard_Address& Nod11RValues, Standard_Address& Nod12Indices, Standard_Address& Nod12RValues, const Standard_Integer i1p1, const Standard_Integer i1p2, const Standard_Integer i1, const Handle(HLRAlgo_PolyInternalData)& pid1, Standard_Address& TData1, Standard_Address& PISeg1, Standard_Address& PINod1, Standard_Address& Nod21Indices, Standard_Address& Nod21RValues, Standard_Address& Nod22Indices, Standard_Address& Nod22RValues, const Standard_Integer i2p1, const Standard_Integer i2p2, const Standard_Integer i2, const Handle(HLRAlgo_PolyInternalData)& pid2, Standard_Address& TData2, Standard_Address& PISeg2, Standard_Address& PINod2, const Standard_Real X3, const Standard_Real Y3, const Standard_Real Z3, const Standard_Real XT3, const Standard_Real YT3, const Standard_Real ZT3, const Standard_Real coef3, const Standard_Real U3, const Standard_Boolean insP3, const Standard_Boolean mP3P1, const Standard_Boolean flag) const;
|
||||
Standard_EXPORT void MoveOrInsertPoint (HLRAlgo_ListOfBPoint& List, Standard_Real& X1, Standard_Real& Y1, Standard_Real& Z1, Standard_Real& X2, Standard_Real& Y2, Standard_Real& Z2, Standard_Real& XTI1, Standard_Real& YTI1, Standard_Real& ZTI1, Standard_Real& XTI2, Standard_Real& YTI2, Standard_Real& ZTI2, const Standard_Integer e, Standard_Real& U1, Standard_Real& U2, Standard_Address& Nod11Indices, Standard_Address& Nod11RValues, Standard_Address& Nod12Indices, Standard_Address& Nod12RValues, const Standard_Integer i1p1, const Standard_Integer i1p2, const Standard_Integer i1, const Handle(HLRAlgo_PolyInternalData)& pid1, Standard_Address& TData1, Standard_Address& PISeg1, Standard_Address& PINod1, Standard_Address& Nod21Indices, Standard_Address& Nod21RValues, Standard_Address& Nod22Indices, Standard_Address& Nod22RValues, const Standard_Integer i2p1, const Standard_Integer i2p2, const Standard_Integer i2, const Handle(HLRAlgo_PolyInternalData)& pid2, Standard_Address& TData2, Standard_Address& PISeg2, Standard_Address& PINod2, const Standard_Real X3, const Standard_Real Y3, const Standard_Real Z3, const Standard_Real XT3, const Standard_Real YT3, const Standard_Real ZT3, const Standard_Real coef3, const Standard_Real U3, const Standard_Boolean insP3, const Standard_Boolean mP3P1, const Standard_Integer flag) const;
|
||||
|
||||
Standard_EXPORT void MoveOrInsertPoint (HLRAlgo_ListOfBPoint& List, Standard_Real& X1, Standard_Real& Y1, Standard_Real& Z1, Standard_Real& X2, Standard_Real& Y2, Standard_Real& Z2, Standard_Real& XTI1, Standard_Real& YTI1, Standard_Real& ZTI1, Standard_Real& XTI2, Standard_Real& YTI2, Standard_Real& ZTI2, const Standard_Integer e, Standard_Real& U1, Standard_Real& U2, Standard_Address& Nod11Indices, Standard_Address& Nod11RValues, Standard_Address& Nod12Indices, Standard_Address& Nod12RValues, const Standard_Integer i1p1, const Standard_Integer i1p2, const Standard_Integer i1, const Handle(HLRAlgo_PolyInternalData)& pid1, Standard_Address& TData1, Standard_Address& PISeg1, Standard_Address& PINod1, Standard_Address& Nod21Indices, Standard_Address& Nod21RValues, Standard_Address& Nod22Indices, Standard_Address& Nod22RValues, const Standard_Integer i2p1, const Standard_Integer i2p2, const Standard_Integer i2, const Handle(HLRAlgo_PolyInternalData)& pid2, Standard_Address& TData2, Standard_Address& PISeg2, Standard_Address& PINod2, const Standard_Real X3, const Standard_Real Y3, const Standard_Real Z3, const Standard_Real XT3, const Standard_Real YT3, const Standard_Real ZT3, const Standard_Real coef3, const Standard_Real U3, const Standard_Boolean insP3, const Standard_Boolean mP3P1, const Standard_Real X4, const Standard_Real Y4, const Standard_Real Z4, const Standard_Real XT4, const Standard_Real YT4, const Standard_Real ZT4, const Standard_Real coef4, const Standard_Real U4, const Standard_Boolean insP4, const Standard_Boolean mP4P1, const Standard_Boolean flag) const;
|
||||
Standard_EXPORT void MoveOrInsertPoint (HLRAlgo_ListOfBPoint& List, Standard_Real& X1, Standard_Real& Y1, Standard_Real& Z1, Standard_Real& X2, Standard_Real& Y2, Standard_Real& Z2, Standard_Real& XTI1, Standard_Real& YTI1, Standard_Real& ZTI1, Standard_Real& XTI2, Standard_Real& YTI2, Standard_Real& ZTI2, const Standard_Integer e, Standard_Real& U1, Standard_Real& U2, Standard_Address& Nod11Indices, Standard_Address& Nod11RValues, Standard_Address& Nod12Indices, Standard_Address& Nod12RValues, const Standard_Integer i1p1, const Standard_Integer i1p2, const Standard_Integer i1, const Handle(HLRAlgo_PolyInternalData)& pid1, Standard_Address& TData1, Standard_Address& PISeg1, Standard_Address& PINod1, Standard_Address& Nod21Indices, Standard_Address& Nod21RValues, Standard_Address& Nod22Indices, Standard_Address& Nod22RValues, const Standard_Integer i2p1, const Standard_Integer i2p2, const Standard_Integer i2, const Handle(HLRAlgo_PolyInternalData)& pid2, Standard_Address& TData2, Standard_Address& PISeg2, Standard_Address& PINod2, const Standard_Real X3, const Standard_Real Y3, const Standard_Real Z3, const Standard_Real XT3, const Standard_Real YT3, const Standard_Real ZT3, const Standard_Real coef3, const Standard_Real U3, const Standard_Boolean insP3, const Standard_Boolean mP3P1, const Standard_Real X4, const Standard_Real Y4, const Standard_Real Z4, const Standard_Real XT4, const Standard_Real YT4, const Standard_Real ZT4, const Standard_Real coef4, const Standard_Real U4, const Standard_Boolean insP4, const Standard_Boolean mP4P1, const Standard_Integer flag) const;
|
||||
|
||||
Standard_EXPORT void InsertOnOutLine (TColStd_Array1OfTransient& PID);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user