GSpatial Class Reference

[libgfc Index] [libgfc Hierarchy] [Headers]


Base class for all Spatial ADTs More...

#include <src/gadt.h>

Inherits: GADT

Public Members


Detailed Description

Base class for all Spatial ADTs.


Result scale(double , double , double zf=1) [public virtual]

scale the coordinates of spatial ADTs by xf,yf,zf

Result translate(double , double , double zf=1) [public virtual]

translate the coordinates of spatial ADTs by xf, yf, zf

Result rotate(double d, bool clock_wise) [public virtual]

rotate the spatial object by 'd' degree.

Result transform(const GMatrix& m) [public virtual]

perform a 2D transformation as specified in matrix m

Result mbr(GRect& b) const [public virtual]

get the minimum bounding rectangle (only for spatial ADTs)

int intersects(const GSpatial& a) const [public virtual]

tests if this object intersects 'a'

int covers(const GSpatial& a) const [public virtual]

tests if it covers 'a'


Documentation generated by lqian@lqian-sun on Wed Jul 14 09:36:10 EDT 1999
Kdoc