hp2FEM
0.1
|
00001 #ifndef _PARAMETRIC3DCURVES_H_ 00002 #define _PARAMETRIC3DCURVES_H_ 00003 // --------------------------------------------- 00004 // company : 00005 // user : 00006 // date : 22 Mar 2015 17:25 00007 // file : Parametric3DCurves.h 00008 // markers : Full 00009 // language : C++ 00010 // generator : Metamill 6.0 00011 // --------------------------------------------- 00012 00013 //#UBLK-BEG-HEADERH 00014 //#UBLK-END-HEADERH 00015 00016 /*================================================================================================= 00017 = = 00018 = Copyright 2010-2015 Marco Lucio Bittencourt / Fabiano Fernandes Bargos = 00019 = Gilberto Luis Valente / Jorge Luis Suzuki / Allan Patrick Cordeiro Dias = 00020 = = 00021 = Licensed under the Apache License, Version 2.0 (the "License"); = 00022 = you may not use this file except in compliance with the License. = 00023 = You may obtain a copy of the License at = 00024 = = 00025 = http://www.apache.org/licenses/LICENSE-2.0 = 00026 = = 00027 = Unless required by applicable law or agreed to in writing, software = 00028 = distributed under the License is distributed on an "AS IS" BASIS, = 00029 = WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. = 00030 = See the License for the specific language governing permissions and = 00031 = limitations under the License. = 00032 = = 00033 =================================================================================================*/ 00034 00035 00036 #include "ds/Array.h" 00037 #include "NURBSBoundaryEntityInfo.h" 00038 #include "NURBSSurfaceBoundaryEntity.h" 00039 #include "NURBSLineBoundaryEntity.h" 00040 00041 00045 class Parametric3DCurves 00046 { 00047 //#UBLK-BEG-CLASSDEF mm:3e5b165c-4118-4034-a295-ea474ae1cffa 00048 //#UBLK-END-CLASSDEF 00049 00050 public: 00051 00052 // METHOD=mm:6c813fcf-1202-4ae9-9eb1-37d1b25a5a57 00053 Parametric3DCurves(); 00054 00055 // METHOD=mm:5b238425-6d4c-4ecc-83ea-b8dd493b7a4f 00056 ~Parametric3DCurves(); 00057 00058 // METHOD=mm:11b31f95-9b9a-4ee5-aa4c-044b09b3d6e3 00059 void Save(FILE* File); 00060 00061 // METHOD=mm:0c9b810d-00b6-4cb5-a325-3c5bf7fd01f3 00062 void Restore(FILE* File); 00063 00064 // METHOD=mm:ee7f34a0-8a19-4013-af39-9eba0af8ead4 00065 void Read(FILE* File); 00066 00067 // METHOD=mm:3a9d67bb-29dc-4e12-9b66-86a9135a6fc6 00068 void Print(FILE* File = stdout); 00069 00070 // METHOD=mm:7074db7a-8ab9-43f8-ab81-283548bed5d6 00071 void Free(); 00072 00073 // METHOD=mm:946ed1ae-c7ee-4593-a8c5-a5320efa0411 00074 NURBSSurfaceBoundaryEntity& operator[](long CurveNumber); 00075 00076 00077 protected: 00078 00090 // attr=mm:f4cb9321-7119-4cfa-a8e3-9bd56c3bbb17 00091 BuiltInArray<long> CurveIndex; 00092 00100 // attr=mm:42f12ce7-5f7a-4b06-8294-1b13c6fd9098 00101 Array<NURBSSurfaceBoundaryEntity> Curves; 00102 00103 00104 private: 00105 00106 //#UBLK-BEG-CLASSMEMB mm:3e5b165c-4118-4034-a295-ea474ae1cffa 00107 //#UBLK-END-CLASSMEMB 00108 }; 00109 00110 //#UBLK-BEG-GLOBALH 00111 //#UBLK-END-GLOBALH 00112 00113 00114 #endif // _PARAMETRIC3DCURVES_H_