hp2FEM  0.1
include/nurbs/NURBSSurfaceBoundaryEntity.h
00001 #ifndef _NURBSSURFACEBOUNDARYENTITY_H_
00002 #define _NURBSSURFACEBOUNDARYENTITY_H_
00003 // ---------------------------------------------
00004 // company   : 
00005 // user      : 
00006 // date      : 22 Mar 2015 17:25
00007 // file      : NURBSSurfaceBoundaryEntity.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 "ds/BuiltInArray.h"
00038 #include "nurbs/NURBSBoundaryEntityInfo.h"
00039 
00040 
00044 class NURBSSurfaceBoundaryEntity
00045 {
00046 //#UBLK-BEG-CLASSDEF mm:3ffdc947-d498-4a33-962c-a534eebc743a
00047 //#UBLK-END-CLASSDEF
00048 
00049  public:
00050 
00051    // METHOD=mm:1e88e96b-7f89-4e35-90a4-02e82a19c2c0
00052    NURBSSurfaceBoundaryEntity();
00053 
00054    // METHOD=mm:4507c7b3-1367-481e-9b53-573ea52d06f7
00055    ~NURBSSurfaceBoundaryEntity();
00056 
00057    // METHOD=mm:3aac9d12-0326-45a6-b14b-cc802448574d
00058    void Save(FILE* File);
00059 
00060    // METHOD=mm:23259489-207d-47a1-8a4a-94e32a11eae0
00061    void Restore(FILE* File);
00062 
00063    // METHOD=mm:24b97e62-68e5-40b2-8a95-a616eda815c8
00064    void Read(FILE* File, long NumCPs);
00065 
00066    // METHOD=mm:5c5ce068-e526-4aa2-a30e-170709c75c76
00067    void Print(FILE* File);
00068 
00069    // METHOD=mm:3e643327-5f6c-4eb4-90e4-59167691f00e
00070    void Free();
00071 
00072    // METHOD=mm:c47ee2c2-404f-4d55-b0c9-6ff7dd6f23c1
00073    void SetNumberOfNURBSEntities(long NumEnt);
00074 
00075    // METHOD=mm:83b81a91-092a-4e97-be43-3ff9c509357c
00076    long GetNumberOfNURBSEntities();
00077 
00078    // METHOD=mm:1c140643-34e3-43f1-a10e-eaa15908a914
00079    void SetNURBSEntityNumber(long n, long NumEntity);
00080 
00081    // METHOD=mm:ad0d5d23-3ed0-4373-951c-fa05a8c3c044
00082    long GetNURBSEntityNumber(long n);
00083 
00084    // METHOD=mm:08afb611-6afe-4452-b5f5-f59f1df316ad
00085    void GetNURBSEntityCP(long& cpu, long& cpv, long n, long CPNum);
00086 
00087 
00088  protected:
00089 
00098    // attr=mm:17cca0ca-3f24-4e60-a2ef-428d675560d8
00099    Array<NURBSBoundaryEntityInfo> Entity;
00100 
00101 
00102  private:
00103 
00104 //#UBLK-BEG-CLASSMEMB mm:3ffdc947-d498-4a33-962c-a534eebc743a
00105 //#UBLK-END-CLASSMEMB
00106 };
00107 
00108 //#UBLK-BEG-GLOBALH
00109 //#UBLK-END-GLOBALH
00110 
00111 
00112 #endif // _NURBSSURFACEBOUNDARYENTITY_H_
 All Classes Files Functions Variables Typedefs Friends Defines