GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-bea8435a9e
clip.c File Reference
#include <math.h>
#include <string.h>
#include <grass/gis.h>
#include <grass/display.h>
#include <grass/glocale.h>
#include "path.h"
#include "clip.h"
Include dependency graph for clip.c:

Go to the source code of this file.

Functions

void D__set_clip_planes (struct clip *clip, const struct rectangle *rect)
 
void D__cull_path (struct path *dst, const struct path *src, const struct clip *clip)
 
void D__clip_path (struct path *dst, const struct path *src, const struct clip *clip)
 

Function Documentation

◆ D__clip_path()

void D__clip_path ( struct path dst,
const struct path src,
const struct clip clip 
)

Definition at line 145 of file clip.c.

References path_init().

◆ D__cull_path()

void D__cull_path ( struct path dst,
const struct path src,
const struct clip clip 
)

Definition at line 128 of file clip.c.

References path_init().

◆ D__set_clip_planes()

void D__set_clip_planes ( struct clip clip,
const struct rectangle rect 
)