File indexing completed on 2026-09-28 09:19:37
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef _BRepGraphInc_Representation_HeaderFile
0015 #define _BRepGraphInc_Representation_HeaderFile
0016
0017 #include <BRepGraphInc_RepId.hxx>
0018 #include <BRepGraph_NodeId.hxx>
0019 #include <Geom2d_Curve.hxx>
0020 #include <Geom_Curve.hxx>
0021 #include <Geom_Surface.hxx>
0022 #include <Poly_Polygon2D.hxx>
0023 #include <Poly_Polygon3D.hxx>
0024 #include <Poly_PolygonOnTriangulation.hxx>
0025 #include <Poly_Triangulation.hxx>
0026 #include <Standard_Handle.hxx>
0027
0028
0029
0030
0031
0032
0033 namespace BRepGraphInc
0034 {
0035
0036
0037 struct EdgeCurve3DRep
0038 {
0039 using TypeId = BRepGraph_EdgeCurve3DRepId;
0040
0041 BRepGraph_EdgeId ParentEdgeId;
0042 occ::handle<Geom_Curve> Curve;
0043 double ParamFirst = 0.0;
0044 double ParamLast = 0.0;
0045 };
0046
0047
0048 struct EdgePolygon3DRep
0049 {
0050 using TypeId = BRepGraph_EdgePolygon3DRepId;
0051
0052 BRepGraph_EdgeId ParentEdgeId;
0053 occ::handle<Poly_Polygon3D> Polygon;
0054 };
0055
0056
0057 struct CoEdgeCurve2DRep
0058 {
0059 using TypeId = BRepGraph_CoEdgeCurve2DRepId;
0060
0061 BRepGraph_CoEdgeId ParentCoEdgeId;
0062 occ::handle<Geom2d_Curve> Curve;
0063 double ParamFirst = 0.0;
0064 double ParamLast = 0.0;
0065 };
0066
0067
0068 struct CoEdgePolygon2DRep
0069 {
0070 using TypeId = BRepGraph_CoEdgePolygon2DRepId;
0071
0072 BRepGraph_CoEdgeId ParentCoEdgeId;
0073 occ::handle<Poly_Polygon2D> Polygon;
0074 };
0075
0076
0077 struct CoEdgePolygonOnTriRep
0078 {
0079 using TypeId = BRepGraph_CoEdgePolygonOnTriRepId;
0080
0081 BRepGraph_CoEdgeId ParentCoEdgeId;
0082 occ::handle<Poly_PolygonOnTriangulation> Polygon;
0083 };
0084
0085
0086 struct FaceSurfaceRep
0087 {
0088 using TypeId = BRepGraph_FaceSurfaceRepId;
0089
0090 BRepGraph_FaceId ParentFaceId;
0091 occ::handle<Geom_Surface> Surface;
0092 };
0093
0094
0095 struct FaceTriangulationRep
0096 {
0097 using TypeId = BRepGraph_FaceTriangulationRepId;
0098
0099 BRepGraph_FaceId ParentFaceId;
0100 occ::handle<Poly_Triangulation> Triangulation;
0101 };
0102
0103 }
0104
0105 #endif