hp2FEM  0.1
include/nurbs/ParametricLines.h
00001 #ifndef _PARAMETRICLINES_H_
00002 #define _PARAMETRICLINES_H_
00003 // ---------------------------------------------
00004 // company   : 
00005 // user      : 
00006 // date      : 22 Mar 2015 17:25
00007 // file      : ParametricLines.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 "NURBSLine.h"
00038 
00039 
00043 class ParametricLines
00044 {
00045 //#UBLK-BEG-CLASSDEF mm:a720de23-0929-4983-ae1c-5b97ed3b89d5
00046 //#UBLK-END-CLASSDEF
00047 
00048  public:
00049 
00050    // METHOD=mm:9776b787-12b4-47fe-bc87-bb85cf6edb37
00051    ParametricLines();
00052 
00053    // METHOD=mm:bba7ef91-3ed3-4bba-b555-cda30cf3f5a0
00054    ~ParametricLines();
00055 
00056    // METHOD=mm:21e7b4b6-96ab-4d1a-b246-35c894c5f16e
00057    void Save(FILE* File);
00058 
00059    // METHOD=mm:f55814cd-eabd-41e0-bf6c-953046ef588e
00060    void Restore(FILE* File);
00061 
00062    // METHOD=mm:3492df52-d3f7-4d45-b549-c18ef0dd710a
00063    void Read(FILE* File);
00064 
00065    // METHOD=mm:414aa1ee-a3f3-477b-a9dc-7a12dee230e6
00066    void Print(FILE* File = stdout);
00067 
00068    // METHOD=mm:0e5e1657-bc42-4eac-9ce2-c2c7176be8a7
00069    void Free();
00070 
00071    // METHOD=mm:85acc2d9-04f2-4267-87c7-849c57fd72ff
00072    NURBSLine& operator[](long LineNumber);
00073 
00074    // METHOD=mm:e8eca9d6-353c-4dc3-bb9f-f9254350687c
00075    long GetLocalIndex(long LineNumber);
00076 
00077    // METHOD=mm:38ee1e9d-0f2c-42c1-86c3-ae75f1fab68f
00078    NURBSLine& GetNURBSLine(long LocalNumber);
00079 
00080    // METHOD=mm:dbae4052-52fa-4ee0-8f95-47dbad33ff1a
00081    long GetNumberOfParametricLines();
00082 
00083 
00084  protected:
00085 
00097    // attr=mm:be86ac88-060c-407f-8ae4-3041b538108b
00098    BuiltInArray<long> LineIndex;
00099 
00109    // attr=mm:4634fbb2-08e7-48a6-b3dd-31cf514b872d
00110    Array<NURBSLine> Lines;
00111 
00112 
00113  private:
00114 
00115 //#UBLK-BEG-CLASSMEMB mm:a720de23-0929-4983-ae1c-5b97ed3b89d5
00116 //#UBLK-END-CLASSMEMB
00117 };
00118 
00119 //#UBLK-BEG-GLOBALH
00120 //#UBLK-END-GLOBALH
00121 
00122 
00123 #endif // _PARAMETRICLINES_H_
 All Classes Files Functions Variables Typedefs Friends Defines