JunkBox_Lib++ (for Windows) 1.10.1
Loading...
Searching...
No Matches
TriBrep.h
Go to the documentation of this file.
1#ifndef __JBXL_TRI_BREP_H_
2#define __JBXL_TRI_BREP_H_
3
14#include "STL.h"
15
16
17namespace jbxl {
18
19
20DllExport BREP_CONTOUR* CreateContourByVector(BREP_FACET* facet, Vector<double>* v, Vector<double>* n=NULL, UVMap<double>* uv=NULL, ArrayParam<int>* w=NULL, bool dupli=false);
22
27
31
32DllExport void FillShortageWings(BREP_SOLID* solid, int method, bool mode);
33DllExport int FillShortageWings_Next(BREP_SOLID* solid, bool mode);
34DllExport int FillShortageWings_Near(BREP_SOLID* solid, bool mode);
35DllExport bool PatchupContour(BREP_SHELL* shell, BREP_VERTEX** vert, bool mode);
36
38
42
47
50
51DllExport bool IsCollisionContours(BREP_SOLID* solid, BREP_CONTOUR* contour, BREP_CONTOUR** collision);
54DllExport bool IsInTriangle(BREP_CONTOUR* contour1, BREP_CONTOUR* contour2);
55
56DllExport int CommonVertex(BREP_CONTOUR* contour1, BREP_CONTOUR* contour2);
57DllExport bool SamePlaneContour(BREP_CONTOUR* contour1, BREP_CONTOUR* contour2, int& lineno);
58
59DllExport int CreateTriSolidFromSTL(BREP_SOLID* solid, STLData* stldata, int fno, bool check=true);
60DllExport int CreateTriSolidFromVector(BREP_SOLID* solid, int vno, Vector<double>* v, Vector<double>* n=NULL, UVMap<double>* uv=NULL, ArrayParam<int>* w=NULL, bool dupli=false, bool check=true);
61
62DllExport void AddVector2TriSolid(BREP_SOLID* solid, BREP_SHELL* shell, Vector<double>* v, Vector<double>* n=NULL, UVMap<double>* uv=NULL, ArrayParam<int>* w=NULL, bool dupli=false);
63DllExport int CloseTriSolid(BREP_SOLID* solid, bool check=true, CVCounter* counter=NULL);
64
65DllExport bool IsConnectEdges(BREP_WING* wing1, BREP_WING* wing2);
66
67
68} // namespace
69
70
71#endif
STL ファイル入出力用ライブラリ ヘッダ
#define DllExport
Definition common.h:105
Definition Brep.h:29
DllExport void CreateSurplusContoursList(BREP_SOLID *solid)
Definition TriBrep.cpp:84
DllExport int IsAtLine(BREP_VERTEX **v)
Definition TriBrep.cpp:853
DllExport void CreateShortageWingsList(BREP_SOLID *solid)
Definition TriBrep.cpp:105
DllExport void AddVector2TriSolid(BREP_SOLID *solid, BREP_SHELL *shell, Vector< double > *v, Vector< double > *n=NULL, UVMap< double > *uv=NULL, ArrayParam< int > *w=NULL, bool dupli=false)
Definition TriBrep.cpp:1412
DllExport bool PatchupContour(BREP_SHELL *shell, BREP_VERTEX **vert, bool mode)
Definition TriBrep.cpp:487
DllExport int FillShortageWings_Next(BREP_SOLID *solid, bool mode)
Definition TriBrep.cpp:337
class DllExport BREP_SOLID
Definition Brep.h:32
DllExport void DeleteShortageWings(BREP_SOLID *solid)
Definition TriBrep.cpp:250
DllExport void FastDeleteFacet(BREP_FACET *facet)
Definition TriBrep.cpp:787
DllExport int CloseTriSolid(BREP_SOLID *solid, bool check=true, CVCounter *counter=NULL)
Definition TriBrep.cpp:1459
class DllExport BREP_CONTOUR
Definition Brep.h:35
std::list< BREP_VERTEX * > BREP_VERTEX_LIST
Definition Brep.h:47
DllExport bool SamePlaneContour(BREP_CONTOUR *contour1, BREP_CONTOUR *contour2, int &lineno)
Definition TriBrep.cpp:1167
DllExport void CreateWingsList(BREP_SOLID *solid)
Definition TriBrep.cpp:58
DllExport int DupEdgeNumber(BREP_CONTOUR *contour)
Definition TriBrep.cpp:651
class DllExport BREP_FACET
Definition Brep.h:34
class DllExport BREP_SHELL
Definition Brep.h:33
DllExport bool IsCollisionContours(BREP_SOLID *solid, BREP_CONTOUR *contour, BREP_CONTOUR **collision)
Definition TriBrep.cpp:930
DllExport void DeleteStraightEdges(BREP_SOLID *solid)
Definition TriBrep.cpp:210
DllExport void SetDeletableContoursByEdge(BREP_EDGE *edge)
Definition TriBrep.cpp:816
DllExport BREP_CONTOUR * CreateContourByVector(BREP_FACET *facet, Vector< double > *v, Vector< double > *n=NULL, UVMap< double > *uv=NULL, ArrayParam< int > *w=NULL, bool dupli=false)
Definition TriBrep.cpp:684
DllExport void ReverseContours(BREP_SOLID *solid)
Definition TriBrep.cpp:530
DllExport void FillShortageWings(BREP_SOLID *solid, int method, bool mode)
Definition TriBrep.cpp:292
DllExport void CreateContoursList(BREP_SOLID *solid)
Definition TriBrep.cpp:22
DllExport int CreateTriSolidFromVector(BREP_SOLID *solid, int vno, Vector< double > *v, Vector< double > *n=NULL, UVMap< double > *uv=NULL, ArrayParam< int > *w=NULL, bool dupli=false, bool check=true)
Definition TriBrep.cpp:1321
DllExport bool IsInTriangle(BREP_CONTOUR *contour1, BREP_CONTOUR *contour2)
Definition TriBrep.cpp:1132
DllExport int FillShortageWings_Near(BREP_SOLID *solid, bool mode)
Definition TriBrep.cpp:383
DllExport void SetMinVertex(BREP_VERTEX_LIST *list, BREP_VERTEX *vrtx)
Definition TriBrep.cpp:445
DllExport bool CollisionTriContour2D(BREP_CONTOUR *contour1, BREP_CONTOUR *contour2)
Definition TriBrep.cpp:1053
class DllExport BREP_WING
Definition Brep.h:37
DllExport void JoinShortageWings(BREP_SOLID *solid)
Definition TriBrep.cpp:592
class DllExport BREP_EDGE
Definition Brep.h:36
DllExport bool IsConnectEdges(BREP_WING *wing1, BREP_WING *wing2)
Definition TriBrep.cpp:1489
DllExport int CommonVertex(BREP_CONTOUR *contour1, BREP_CONTOUR *contour2)
Definition TriBrep.cpp:1191
DllExport bool IsIncludeCompleteEdge(BREP_WING *wing)
Definition TriBrep.cpp:765
DllExport BREP_VERTEX * FindConnectEdgeVertex(BREP_VERTEX *vert)
Definition TriBrep.cpp:465
DllExport BREP_CONTOUR * CreateContourByVertex(BREP_FACET *facet, BREP_VERTEX **vtx)
Definition TriBrep.cpp:735
DllExport bool IsForbiddenEdge(BREP_VERTEX **vert)
Definition TriBrep.cpp:886
DllExport int CreateTriSolidFromSTL(BREP_SOLID *solid, STLData *stldata, int fno, bool check=true)
Definition TriBrep.cpp:1230
DllExport bool CollisionTriContour3D(BREP_CONTOUR *contour1, BREP_CONTOUR *contour2)
Definition TriBrep.cpp:991
class DllExport BREP_VERTEX
Definition Brep.h:38
DllExport void DeleteSurplusContours(BREP_SOLID *solid)
Definition TriBrep.cpp:140