mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-06 17:12:00 +08:00
License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast Wrong license statements corrected in several files. Copyright and license statements added in XSD and GLSL files. Copyright year updated in some files. Obsolete documentation files removed from DrawResources.
168 lines
7.0 KiB
Plaintext
168 lines
7.0 KiB
Plaintext
-- Created on: 1995-01-27
|
|
-- Created by: Marie Jose MARTZ
|
|
-- 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 BRWire from BRepToIGES inherits BREntity from BRepToIGES
|
|
|
|
---Purpose: This class implements the transfer of Shape Entities
|
|
-- from Geom To IGES. These can be :
|
|
-- . Vertex
|
|
-- . Edge
|
|
-- . Wire
|
|
|
|
|
|
uses
|
|
|
|
Shape from TopoDS,
|
|
Vertex from TopoDS,
|
|
Edge from TopoDS,
|
|
Wire from TopoDS,
|
|
Face from TopoDS,
|
|
Surface from Geom,
|
|
Curve from Geom2d,
|
|
Location from TopLoc,
|
|
Pnt2d from gp,
|
|
IGESEntity from IGESData,
|
|
BREntity from BRepToIGES
|
|
|
|
|
|
is
|
|
|
|
Create returns BRWire from BRepToIGES;
|
|
|
|
|
|
Create (BR : BREntity from BRepToIGES)
|
|
returns BRWire from BRepToIGES;
|
|
|
|
|
|
TransferWire (me : in out;
|
|
start : Shape from TopoDS)
|
|
returns mutable IGESEntity from IGESData;
|
|
---Purpose : Transfert a Shape entity from TopoDS to IGES
|
|
-- this entity must be a Vertex or an Edge or a Wire.
|
|
-- If this Entity could not be converted,
|
|
-- this member returns a NullEntity.
|
|
|
|
|
|
TransferVertex (me : in out;
|
|
myvertex : Vertex from TopoDS)
|
|
returns mutable IGESEntity from IGESData;
|
|
---Purpose : Transfert a Vertex entity from TopoDS to IGES
|
|
-- If this Entity could not be converted,
|
|
-- this member returns a NullEntity.
|
|
|
|
|
|
TransferVertex (me : in out;
|
|
myvertex : Vertex from TopoDS;
|
|
myedge : Edge from TopoDS;
|
|
parameter : out Real from Standard)
|
|
returns mutable IGESEntity from IGESData;
|
|
---Purpose : Transfert a Vertex entity on an Edge from TopoDS to IGES
|
|
-- Returns the parameter of myvertex on myedge.
|
|
-- If this Entity could not be converted,
|
|
-- this member returns a NullEntity.
|
|
|
|
|
|
TransferVertex (me : in out;
|
|
myvertex : Vertex from TopoDS;
|
|
myedge : Edge from TopoDS;
|
|
myface : Face from TopoDS;
|
|
parameter : out Real from Standard)
|
|
returns mutable IGESEntity from IGESData;
|
|
---Purpose : Transfert a Vertex entity of an edge on a Face
|
|
-- from TopoDS to IGES
|
|
-- Returns the parameter of myvertex on the pcurve
|
|
-- of myedge on myface
|
|
-- If this Entity could not be converted,
|
|
-- this member returns a NullEntity.
|
|
|
|
|
|
TransferVertex (me : in out;
|
|
myvertex : Vertex from TopoDS;
|
|
myedge : Edge from TopoDS;
|
|
mysurface : Surface from Geom;
|
|
myloc : Location from TopLoc;
|
|
parameter : out Real from Standard)
|
|
returns mutable IGESEntity from IGESData;
|
|
---Purpose : Transfert a Vertex entity of an edge on a Surface
|
|
-- from TopoDS to IGES
|
|
-- Returns the parameter of myvertex on the pcurve
|
|
-- of myedge on mysurface
|
|
-- If this Entity could not be converted,
|
|
-- this member returns a NullEntity.
|
|
|
|
|
|
TransferVertex (me : in out;
|
|
myvertex : Vertex from TopoDS;
|
|
myface : Face from TopoDS;
|
|
mypoint : out Pnt2d from gp)
|
|
returns mutable IGESEntity from IGESData;
|
|
---Purpose : Transfert a Vertex entity on a Face from TopoDS to IGES
|
|
-- Returns the parameters of myvertex on myface
|
|
-- If this Entity could not be converted,
|
|
-- this member returns a NullEntity.
|
|
|
|
|
|
TransferEdge (me : in out;
|
|
myedge : Edge from TopoDS;
|
|
-- IsRevol : in Boolean from Standard
|
|
isBRepMode: in Boolean from Standard)
|
|
returns mutable IGESEntity from IGESData;
|
|
---Purpose : Transfert an Edge entity from TopoDS to IGES
|
|
-- If this Entity could not be converted,
|
|
-- this member returns a NullEntity.
|
|
-- isBRepMode indicates if write mode is BRep
|
|
-- (True when called from BRepToIGESBRep and False when from BRepToIGES)
|
|
-- If edge is REVERSED and isBRepMode is False 3D edge curve is reversed,
|
|
-- otherwise, not.
|
|
|
|
|
|
TransferEdge (me : in out;
|
|
myedge : Edge from TopoDS;
|
|
myface : Face from TopoDS;
|
|
length : in Real from Standard;
|
|
isBRepMode: in Boolean from Standard)
|
|
returns mutable IGESEntity from IGESData;
|
|
---Purpose : Transfert an Edge entity on a Face from TopoDS to IGES
|
|
-- If this Entity could not be converted,
|
|
-- this member returns a NullEntity.
|
|
-- isBRepMode indicates if write mode is BRep
|
|
-- (True when called from BRepToIGESBRep and False when from BRepToIGES)
|
|
-- passing into Transform2dCurve()
|
|
|
|
TransferWire (me : in out;
|
|
mywire : Wire from TopoDS)
|
|
returns mutable IGESEntity from IGESData;
|
|
---Purpose : Transfert a Wire entity from TopoDS to IGES
|
|
-- If this Entity could not be converted,
|
|
-- this member returns a NullEntity.
|
|
|
|
|
|
TransferWire (me : in out;
|
|
mywire : Wire from TopoDS;
|
|
myface : Face from TopoDS;
|
|
mycurve2d : out IGESEntity from IGESData;
|
|
length : in Real from Standard)
|
|
-- IsRevol : in Boolean from Standard
|
|
returns mutable IGESEntity from IGESData;
|
|
---Purpose : Transfert a Wire entity from TopoDS to IGES.
|
|
-- Returns the curve associated to mywire in
|
|
-- the parametric space of myface.
|
|
-- If this Entity could not be converted,
|
|
-- this member returns a NullEntity.
|
|
-- Parameter IsRevol is not used anymore
|
|
|
|
end BRWire;
|