Warning, file /include/opencascade/VrmlData_Coordinate.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef VrmlData_Coordinate_HeaderFile
0017 #define VrmlData_Coordinate_HeaderFile
0018
0019 #include <VrmlData_ArrayVec3d.hxx>
0020
0021
0022
0023
0024 class VrmlData_Coordinate : public VrmlData_ArrayVec3d
0025 {
0026 public:
0027
0028
0029
0030
0031
0032 inline VrmlData_Coordinate () {}
0033
0034
0035
0036
0037 inline VrmlData_Coordinate (const VrmlData_Scene& theScene,
0038 const char * theName,
0039 const size_t nPoints = 0,
0040 const gp_XYZ * arrPoints = 0L)
0041 : VrmlData_ArrayVec3d (theScene, theName, nPoints, arrPoints)
0042 {}
0043
0044
0045
0046
0047
0048
0049
0050
0051 inline const gp_XYZ& Coordinate (const Standard_Integer i) const
0052 { return Value(i); }
0053
0054
0055
0056
0057
0058
0059 Standard_EXPORT virtual Handle(VrmlData_Node)
0060 Clone (const Handle(VrmlData_Node)& theOther)const Standard_OVERRIDE;
0061
0062
0063
0064
0065 Standard_EXPORT virtual VrmlData_ErrorStatus
0066 Read (VrmlData_InBuffer& theBuffer) Standard_OVERRIDE;
0067
0068
0069
0070
0071 Standard_EXPORT virtual VrmlData_ErrorStatus
0072 Write (const char * thePrefix) const Standard_OVERRIDE;
0073
0074 private:
0075
0076
0077 public:
0078
0079 DEFINE_STANDARD_RTTI_INLINE(VrmlData_Coordinate,VrmlData_ArrayVec3d)
0080 };
0081
0082
0083 DEFINE_STANDARD_HANDLE (VrmlData_Coordinate, VrmlData_ArrayVec3d)
0084
0085
0086 #endif