Open CASCADE Technology 6.6.0
|
defines IGESUniformRectGrid, Type <406> Form <22>
in package IGESGraph
Stores sufficient information for the creation of
a uniform rectangular grid within a drawing
#include <IGESGraph_UniformRectGrid.hxx>
Public Member Functions | |
IGESGraph_UniformRectGrid () | |
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) |
This method is used to set the fields of the class UniformRectGrid | |
Standard_Integer | NbPropertyValues () const |
returns the number of property values in <me>. | |
Standard_Boolean | IsFinite () const |
returns False if <me> is an infinite grid, True if <me> is a finite grid. | |
Standard_Boolean | IsLine () const |
returns False if <me> is a Point grid, True if <me> is a Line grid. | |
Standard_Boolean | IsWeighted () const |
returns False if <me> is a Weighted grid, True if <me> is not a Weighted grid. | |
gp_Pnt2d | GridPoint () const |
returns coordinates of lower left corner, if <me> is a finite grid, coordinates of an arbitrary point, if <me> is an infinite grid. | |
gp_Vec2d | GridSpacing () const |
returns the grid-spacing in drawing coordinates. | |
Standard_Integer | NbPointsX () const |
returns the no. of points/lines in X direction (only applicable if IsFinite() = 1, i.e: a finite grid). | |
Standard_Integer | NbPointsY () const |
returns the no. of points/lines in Y direction (only applicable if IsFinite() = 1, i.e: a finite grid). |
IGESGraph_UniformRectGrid::IGESGraph_UniformRectGrid | ( | ) |
gp_Pnt2d IGESGraph_UniformRectGrid::GridPoint | ( | ) | const |
gp_Vec2d IGESGraph_UniformRectGrid::GridSpacing | ( | ) | const |
void IGESGraph_UniformRectGrid::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 | ||
) |
Standard_Boolean IGESGraph_UniformRectGrid::IsFinite | ( | ) | const |
Standard_Boolean IGESGraph_UniformRectGrid::IsLine | ( | ) | const |
Standard_Boolean IGESGraph_UniformRectGrid::IsWeighted | ( | ) | const |
Standard_Integer IGESGraph_UniformRectGrid::NbPointsX | ( | ) | const |
Standard_Integer IGESGraph_UniformRectGrid::NbPointsY | ( | ) | const |
Standard_Integer IGESGraph_UniformRectGrid::NbPropertyValues | ( | ) | const |