Next: 5.3 Assignment Up: 5. The VMask class Previous: 5.1 Constructors Contents

# 5.2 Projection functions

A set of member functions of `VIMask` provide access to the fields in the matrix:

    int xsize() const;
    int ysize() const;
    int scale() const;
    int offset() const;
    const char *filename() const;

`VDMask` is the same, except that the `scale()` and `offset()` members return `double`. `VMask` allows all operations that are common to `VIMask` and `VDMask`.