-- Created on: 1995-09-19 -- Created by: Laurent PAINNOT -- Copyright (c) 1995-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. class HLRPolyShape from StdPrs inherits Root from Prs3d ---Purpose: Instantiates Prs3d_PolyHLRShape to define a -- display of a shape where hidden and visible lines are -- identified with respect to a given projection. -- StdPrs_HLRPolyShape works with a polyhedral -- simplification of the shape whereas -- StdPrs_HLRShape takes the shape itself into -- account. When you use StdPrs_HLRShape, you -- obtain an exact result, whereas, when you use -- StdPrs_HLRPolyShape, you reduce computation -- time but obtain polygonal segments. -- The polygonal algorithm is used. uses Shape from TopoDS, Presentation from Prs3d, Drawer from Prs3d, Projector from Prs3d is Add(myclass; aPresentation: Presentation from Prs3d; aShape : Shape from TopoDS; aDrawer : Drawer from Prs3d; aProjector : Projector from Prs3d); ---Purpose: Defines the hidden line removal display of the -- topology aShape in the projection defined by -- aProjector. The shape and the projection are added -- to the display aPresentation, and the attributes of the -- elements present in the aPresentation are defined by -- the attribute manager aDrawer. end HLRPolyShape from StdPrs;