File indexing completed on 2025-01-18 10:03:05
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _BRep_PointRepresentation_HeaderFile
0018 #define _BRep_PointRepresentation_HeaderFile
0019
0020 #include <Standard.hxx>
0021
0022 #include <TopLoc_Location.hxx>
0023 #include <Standard_Real.hxx>
0024 #include <Standard_Transient.hxx>
0025 class Geom_Curve;
0026 class Geom2d_Curve;
0027 class Geom_Surface;
0028
0029
0030 class BRep_PointRepresentation;
0031 DEFINE_STANDARD_HANDLE(BRep_PointRepresentation, Standard_Transient)
0032
0033
0034
0035 class BRep_PointRepresentation : public Standard_Transient
0036 {
0037
0038 public:
0039
0040
0041
0042 Standard_EXPORT virtual Standard_Boolean IsPointOnCurve() const;
0043
0044
0045 Standard_EXPORT virtual Standard_Boolean IsPointOnCurveOnSurface() const;
0046
0047
0048 Standard_EXPORT virtual Standard_Boolean IsPointOnSurface() const;
0049
0050
0051 Standard_EXPORT virtual Standard_Boolean IsPointOnCurve (const Handle(Geom_Curve)& C, const TopLoc_Location& L) const;
0052
0053
0054 Standard_EXPORT virtual Standard_Boolean IsPointOnCurveOnSurface (const Handle(Geom2d_Curve)& PC, const Handle(Geom_Surface)& S, const TopLoc_Location& L) const;
0055
0056
0057 Standard_EXPORT virtual Standard_Boolean IsPointOnSurface (const Handle(Geom_Surface)& S, const TopLoc_Location& L) const;
0058
0059 const TopLoc_Location& Location() const;
0060
0061 void Location (const TopLoc_Location& L);
0062
0063 Standard_Real Parameter() const;
0064
0065 void Parameter (const Standard_Real P);
0066
0067 Standard_EXPORT virtual Standard_Real Parameter2() const;
0068
0069 Standard_EXPORT virtual void Parameter2 (const Standard_Real P);
0070
0071 Standard_EXPORT virtual const Handle(Geom_Curve)& Curve() const;
0072
0073 Standard_EXPORT virtual void Curve (const Handle(Geom_Curve)& C);
0074
0075 Standard_EXPORT virtual const Handle(Geom2d_Curve)& PCurve() const;
0076
0077 Standard_EXPORT virtual void PCurve (const Handle(Geom2d_Curve)& C);
0078
0079 Standard_EXPORT virtual const Handle(Geom_Surface)& Surface() const;
0080
0081 Standard_EXPORT virtual void Surface (const Handle(Geom_Surface)& S);
0082
0083
0084 Standard_EXPORT virtual void DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth = -1) const;
0085
0086
0087
0088
0089 DEFINE_STANDARD_RTTIEXT(BRep_PointRepresentation,Standard_Transient)
0090
0091 protected:
0092
0093
0094 Standard_EXPORT BRep_PointRepresentation(const Standard_Real P, const TopLoc_Location& L);
0095
0096
0097
0098 private:
0099
0100
0101 TopLoc_Location myLocation;
0102 Standard_Real myParameter;
0103
0104
0105 };
0106
0107
0108 #include <BRep_PointRepresentation.lxx>
0109
0110
0111
0112
0113
0114 #endif