|
||||
File indexing completed on 2025-01-18 10:03:16
0001 // Created on: 1995-01-09 0002 // Created by: Modelistation 0003 // Copyright (c) 1995-1999 Matra Datavision 0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS 0005 // 0006 // This file is part of Open CASCADE Technology software library. 0007 // 0008 // This library is free software; you can redistribute it and/or modify it under 0009 // the terms of the GNU Lesser General Public License version 2.1 as published 0010 // by the Free Software Foundation, with special exception defined in the file 0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT 0012 // distribution for complete text of the license and disclaimer of any warranty. 0013 // 0014 // Alternatively, this file may be used under the terms of Open CASCADE 0015 // commercial license or contractual agreement. 0016 0017 #ifndef _BRepPrim_Wedge_HeaderFile 0018 #define _BRepPrim_Wedge_HeaderFile 0019 0020 #include <Standard.hxx> 0021 #include <Standard_DefineAlloc.hxx> 0022 #include <Standard_Handle.hxx> 0023 0024 #include <BRepPrim_GWedge.hxx> 0025 class gp_Ax2; 0026 0027 0028 //! Provides constructors without Builders. 0029 class BRepPrim_Wedge : public BRepPrim_GWedge 0030 { 0031 public: 0032 0033 DEFINE_STANDARD_ALLOC 0034 0035 //! Default constructor 0036 BRepPrim_Wedge() {} 0037 0038 //! Creates a Wedge algorithm. <Axes> is the axis 0039 //! system for the primitive. 0040 //! 0041 //! XMin, YMin, ZMin are set to 0 0042 //! XMax, YMax, ZMax are set to dx, dy, dz 0043 //! Z2Min = ZMin 0044 //! Z2Max = ZMax 0045 //! X2Min = XMin 0046 //! X2Max = XMax 0047 //! The result is a box 0048 //! dx,dy,dz should be positive 0049 Standard_EXPORT BRepPrim_Wedge(const gp_Ax2& Axes, const Standard_Real dx, const Standard_Real dy, const Standard_Real dz); 0050 0051 //! Creates a Wedge primitive. <Axes> is the axis 0052 //! system for the primitive. 0053 //! 0054 //! XMin, YMin, ZMin are set to 0 0055 //! XMax, YMax, ZMax are set to dx, dy, dz 0056 //! Z2Min = ZMin 0057 //! Z2Max = ZMax 0058 //! X2Min = ltx 0059 //! X2Max = ltx 0060 //! The result is a STEP right angular wedge 0061 //! dx,dy,dz should be positive 0062 //! ltx should not be negative 0063 Standard_EXPORT BRepPrim_Wedge(const gp_Ax2& Axes, const Standard_Real dx, const Standard_Real dy, const Standard_Real dz, const Standard_Real ltx); 0064 0065 //! Create a Wedge primitive. <Axes> is the axis 0066 //! system for the primitive. 0067 //! 0068 //! all the fields are set to the corresponding value 0069 //! XYZMax - XYZMin should be positive 0070 //! ZX2Max - ZX2Min should not be negative 0071 Standard_EXPORT BRepPrim_Wedge(const gp_Ax2& Axes, const Standard_Real xmin, const Standard_Real ymin, const Standard_Real zmin, const Standard_Real z2min, const Standard_Real x2min, const Standard_Real xmax, const Standard_Real ymax, const Standard_Real zmax, const Standard_Real z2max, const Standard_Real x2max); 0072 0073 0074 0075 0076 protected: 0077 0078 0079 0080 0081 0082 private: 0083 0084 0085 0086 0087 0088 }; 0089 0090 0091 0092 0093 0094 0095 0096 #endif // _BRepPrim_Wedge_HeaderFile
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |