mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-14 08:11:35 +08:00
159 lines
4.0 KiB
Plaintext
Executable File
159 lines
4.0 KiB
Plaintext
Executable File
-- Created on: 1992-10-14
|
|
-- Created by: Christophe MARION
|
|
-- Copyright (c) 1992-1999 Matra Datavision
|
|
-- Copyright (c) 1999-2012 OPEN CASCADE SAS
|
|
--
|
|
-- The content of this file is subject to the Open CASCADE Technology Public
|
|
-- License Version 6.5 (the "License"). You may not use the content of this file
|
|
-- except in compliance with the License. Please obtain a copy of the License
|
|
-- at http://www.opencascade.org and read it completely before using this file.
|
|
--
|
|
-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
|
|
-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
|
|
--
|
|
-- The Original Code and all software distributed under the License is
|
|
-- distributed on an "AS IS" basis, without warranty of any kind, and the
|
|
-- Initial Developer hereby disclaims all such warranties, including without
|
|
-- limitation, any warranties of merchantability, fitness for a particular
|
|
-- purpose or non-infringement. Please see the License for the specific terms
|
|
-- and conditions governing the rights and limitations under the License.
|
|
|
|
|
|
package HLRBRep
|
|
---Purpose: Hidden Lines Removal
|
|
-- algorithms on the BRep DataStructure.
|
|
--
|
|
-- The class PolyAlgo is used to remove Hidden lines
|
|
-- on Shapes with Triangulations.
|
|
|
|
uses
|
|
Standard,
|
|
StdFail,
|
|
MMgt,
|
|
gp,
|
|
Geom,
|
|
Geom2d,
|
|
TCollection,
|
|
TColgp,
|
|
TColStd,
|
|
GeomAbs,
|
|
LProp,
|
|
IntRes2d,
|
|
IntCurve,
|
|
IntCurveSurface,
|
|
TopAbs,
|
|
TopoDS,
|
|
TopExp,
|
|
TopTools,
|
|
HLRAlgo,
|
|
Adaptor3d,
|
|
BRep,
|
|
BRepAdaptor,
|
|
BRepTopAdaptor,
|
|
HLRTopoBRep
|
|
|
|
is
|
|
class CurveTool;
|
|
class BCurveTool;
|
|
class Curve;
|
|
class SurfaceTool;
|
|
class BSurfaceTool;
|
|
class Surface;
|
|
|
|
class CLPropsATool;
|
|
class CLProps instantiates CLProps from LProp (
|
|
Address from Standard, -- as Curve from HLRBRep
|
|
Vec2d from gp,
|
|
Pnt2d from gp,
|
|
Dir2d from gp,
|
|
CLPropsATool from HLRBRep);
|
|
|
|
class SLPropsATool;
|
|
class SLProps instantiates SLProps from LProp (
|
|
Address from Standard, -- as Surface from HLRBRep
|
|
SLPropsATool from HLRBRep);
|
|
|
|
class CInter instantiates IntCurveCurveGen from IntCurve (
|
|
Address from Standard,
|
|
CurveTool from HLRBRep);
|
|
|
|
class LineTool;
|
|
|
|
class InterCSurf instantiates Inter from IntCurveSurface (
|
|
Lin from gp,
|
|
LineTool from HLRBRep,
|
|
Address from Standard,
|
|
SurfaceTool from HLRBRep);
|
|
|
|
class EdgeFaceTool;
|
|
|
|
class Intersector;
|
|
|
|
class EdgeData;
|
|
|
|
class FaceData;
|
|
|
|
class FaceIterator;
|
|
|
|
class Array1OfEData instantiates Array1 from TCollection
|
|
(EdgeData from HLRBRep);
|
|
|
|
class Array1OfFData instantiates Array1 from TCollection
|
|
(FaceData from HLRBRep);
|
|
|
|
class Data;
|
|
|
|
class ShapeToHLR;
|
|
|
|
class HLRToShape;
|
|
|
|
class ShapeBounds;
|
|
|
|
class SeqOfShapeBounds instantiates Sequence from TCollection
|
|
(ShapeBounds from HLRBRep);
|
|
|
|
class EdgeInterferenceTool;
|
|
|
|
class VertexList;
|
|
|
|
class EdgeIList;
|
|
|
|
class AreaLimit;
|
|
|
|
class EdgeBuilder;
|
|
|
|
class Hider;
|
|
|
|
class InternalAlgo;
|
|
|
|
class Algo;
|
|
---Purpose: Inherited from InternalAlgo to provide methods
|
|
-- with Shape from TopoDS.
|
|
|
|
class PolyAlgo;
|
|
---Purpose: to remove Hidden lines on Shapes with Triangulations.
|
|
|
|
class BiPoint;
|
|
class BiPnt2D;
|
|
|
|
class ListOfBPoint instantiates List from TCollection (
|
|
BiPoint from HLRBRep);
|
|
|
|
class ListOfBPnt2D instantiates List from TCollection (
|
|
BiPnt2D from HLRBRep);
|
|
|
|
class PolyHLRToShape;
|
|
|
|
MakeEdge(ec : Curve from HLRBRep;
|
|
U1,U2 : Real from Standard)
|
|
returns Edge from TopoDS;
|
|
|
|
MakeEdge3d(ec : Curve from HLRBRep;
|
|
U1,U2 : Real from Standard)
|
|
returns Edge from TopoDS;
|
|
|
|
PolyHLRAngleAndDeflection(InAngl : Real from Standard;
|
|
OutAngl, OutDefl : out Real from Standard);
|
|
|
|
end HLRBRep;
|