File indexing completed on 2026-10-06 09:19:37
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _BRep_CurveOnClosedSurface_HeaderFile
0018 #define _BRep_CurveOnClosedSurface_HeaderFile
0019
0020 #include <Standard.hxx>
0021
0022 #include <BRep_CurveOnSurface.hxx>
0023 class Geom2d_Curve;
0024 class Geom_Surface;
0025 class TopLoc_Location;
0026 class BRep_CurveRepresentation;
0027
0028
0029
0030 class BRep_CurveOnClosedSurface : public BRep_CurveOnSurface
0031 {
0032
0033 public:
0034 Standard_EXPORT BRep_CurveOnClosedSurface(const occ::handle<Geom2d_Curve>& PC1,
0035 const occ::handle<Geom2d_Curve>& PC2,
0036 const occ::handle<Geom_Surface>& S,
0037 const TopLoc_Location& L,
0038 const GeomAbs_Shape C);
0039
0040 void SetUVPoints2(const gp_Pnt2d& P1, const gp_Pnt2d& P2);
0041
0042 void UVPoints2(gp_Pnt2d& P1, gp_Pnt2d& P2) const;
0043
0044
0045 Standard_EXPORT bool IsCurveOnClosedSurface() const override;
0046
0047
0048 Standard_EXPORT bool IsRegularity() const override;
0049
0050
0051 Standard_EXPORT bool IsRegularity(const occ::handle<Geom_Surface>& S1,
0052 const occ::handle<Geom_Surface>& S2,
0053 const TopLoc_Location& L1,
0054 const TopLoc_Location& L2) const override;
0055
0056 Standard_EXPORT const occ::handle<Geom2d_Curve>& PCurve2() const override;
0057
0058
0059 Standard_EXPORT const occ::handle<Geom_Surface>& Surface2() const override;
0060
0061
0062 Standard_EXPORT const TopLoc_Location& Location2() const override;
0063
0064 Standard_EXPORT const GeomAbs_Shape& Continuity() const override;
0065
0066 Standard_EXPORT void Continuity(const GeomAbs_Shape C) override;
0067
0068 Standard_EXPORT void PCurve2(const occ::handle<Geom2d_Curve>& C) override;
0069
0070
0071 Standard_EXPORT occ::handle<BRep_CurveRepresentation> Copy() const override;
0072
0073
0074
0075 Standard_EXPORT void Update() override;
0076
0077
0078 Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override;
0079
0080 DEFINE_STANDARD_RTTIEXT(BRep_CurveOnClosedSurface, BRep_CurveOnSurface)
0081
0082 private:
0083 occ::handle<Geom2d_Curve> myPCurve2;
0084 GeomAbs_Shape myContinuity;
0085 gp_Pnt2d myUV21;
0086 gp_Pnt2d myUV22;
0087 };
0088
0089 #include <BRep_CurveOnClosedSurface.lxx>
0090
0091 #endif