41 float top, bottom, left, right;
56 return (pt[
X] >= left && pt[
X] <= right &&
57 pt[
Y] >= bottom && pt[
Y] <= top);
218 float site[3], konst;
222 GLdouble modelMatrix[16], projMatrix[16];
253 for (gpt = gp->
points; gpt; gpt = gpt->
next) {
276 viewport, modelMatrix, projMatrix))
284 viewport, modelMatrix, projMatrix))
318 GLdouble modelMatrix[16], projMatrix[16];
339 for (gpt = gp->
points; gpt; gpt = gpt->
next) {
356 if (
gsd_checkpoint(site, window, viewport, modelMatrix, projMatrix))
int gpd_3dsite(geosite *gp, float xo, float yo, int do_fast)
Draw 3D point set.
void gsd_box(float *, int, float *)
Draw box.
void gsd_popmatrix(void)
Pop the current matrix stack.
int gs_get_att_src(geosurf *, int)
Get attribute source.
int gpd_2dsite(geosite *gp, geosurf *gs, int do_fast)
Draw 2D point set.
gvstyle_thematic * tstyle
void gsd_colormode(int)
Set color mode.
void gsd_diamond(float *, unsigned long, float)
Draw diamond symbol.
int gsd_checkpoint(float *, int *, int *, double *, double *)
void gsd_color_func(unsigned int)
Set current color.
int gs_update_curmask(geosurf *)
Update current maps.
void gsd_translate(float, float, float)
Multiply the current matrix by a translation matrix.
void gsd_x(geosurf *, float *, int, float)
Draw X symbol.
int gs_point_in_region(geosurf *gs, float *pt, float *region)
Check if point is in region.
void gsd_cube(float *, unsigned long, float)
Draw cube.
void gsd_sphere(float *, float)
ADD.
int viewcell_tri_interp(geosurf *, typbuff *, Point3, int)
ADD.
float GS_global_exag(void)
Get global z-exag value.
void gsd_draw_asterisk(float *, unsigned long, float)
Draw asterisk.
typbuff * gs_get_att_typbuff(geosurf *, int, int)
Get attribute data buffer.
void GS_v3eq(float *, float *)
Copy vector values.
int gs_point_is_masked(geosurf *, float *)
Check if point is masked.
void gsd_linewidth(short)
Set width of rasterized lines.
void gsd_getwindow(int *, int *, double *, double *)
Get viewport.
int GS_check_cancel(void)
Check for cancel.
void gsd_draw_box(float *, unsigned long, float)
Draw box.
void gpd_obj(geosurf *gs, gvstyle *style, Point3 pt)
Draw point representing object.
void gsd_pushmatrix(void)
Push the current matrix stack.
void gsd_draw_gyro(float *, unsigned long, float)
Draw gyro.
void gsd_do_scale(int)
Set current scale.
void gsd_scale(float, float, float)
Multiply the current matrix by a general scaling matrix.