// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _IGESGraph_UniformRectGrid_HeaderFile #define _IGESGraph_UniformRectGrid_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_IGESGraph_UniformRectGrid_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _gp_XY_HeaderFile #include #endif #ifndef _IGESData_IGESEntity_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif class gp_XY; class gp_Pnt2d; class gp_Vec2d; //! defines IGESUniformRectGrid, Type <406> Form <22>
//! in package IGESGraph
class IGESGraph_UniformRectGrid : public IGESData_IGESEntity { public: Standard_EXPORT IGESGraph_UniformRectGrid(); //! This method is used to set the fields of the class
//! UniformRectGrid
//! - nbProps : Number of property values (NP = 9)
//! - finite : Finite/Infinite grid flag
//! - line : Line/Point grid flag
//! - weighted : Weighted/Unweighted grid flag
//! - aGridPoint : Point on the grid
//! - aGridSpacing : Grid spacing
//! - pointsX : No. of points/lines in X Direction
//! - pointsY : No. of points/lines in Y Direction
Standard_EXPORT void Init(const Standard_Integer nbProps,const Standard_Integer finite,const Standard_Integer line,const Standard_Integer weighted,const gp_XY& aGridPoint,const gp_XY& aGridSpacing,const Standard_Integer pointsX,const Standard_Integer pointsY) ; //! returns the number of property values in .
Standard_EXPORT Standard_Integer NbPropertyValues() const; //! returns False if is an infinite grid,
//! True if is a finite grid.
Standard_EXPORT Standard_Boolean IsFinite() const; //! returns False if is a Point grid,
//! True if is a Line grid.
Standard_EXPORT Standard_Boolean IsLine() const; //! returns False if is a Weighted grid,
//! True if is not a Weighted grid.
Standard_EXPORT Standard_Boolean IsWeighted() const; //! returns coordinates of lower left corner,
//! if is a finite grid,
//! coordinates of an arbitrary point,
//! if is an infinite grid.
Standard_EXPORT gp_Pnt2d GridPoint() const; //! returns the grid-spacing in drawing coordinates.
Standard_EXPORT gp_Vec2d GridSpacing() const; //! returns the no. of points/lines in X direction
//! (only applicable if IsFinite() = 1, i.e: a finite grid).
Standard_EXPORT Standard_Integer NbPointsX() const; //! returns the no. of points/lines in Y direction
//! (only applicable if IsFinite() = 1, i.e: a finite grid).
Standard_EXPORT Standard_Integer NbPointsY() const; DEFINE_STANDARD_RTTI(IGESGraph_UniformRectGrid) protected: private: Standard_Integer theNbPropertyValues; Standard_Integer isItFinite; Standard_Integer isItLine; Standard_Integer isItWeighted; gp_XY theGridPoint; gp_XY theGridSpacing; Standard_Integer theNbPointsX; Standard_Integer theNbPointsY; }; // other Inline functions and methods (like "C++: function call" methods) #endif