## Generated by Codox

# Walkmap 0.1.0-SNAPSHOT

##### Released under the EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0

A Clojure library designed to assist in computing walkmaps for games.

## Installation

To install, add the following dependency to your project or build file:

    [journeyman-cc/walkmap "0.1.0-SNAPSHOT"]

## Topics

- Dali performance
- Introduction to walkmap

## Namespaces

### walkmap.core

This namespace mostly gets used as a scratchpad for ideas which haven’t yet solidified.

Public variables and functions:

### walkmap.core

This namespace mostly gets used as a scratchpad for ideas which haven’t yet solidified.

Public variables and functions:

### walkmap.edge

Essentially the specification for things we shall consider to be an edge. An edge is a line segment having just a start and an end, with no intervening nodes.

Public variables and functions:

- centre
- collinear2d?
- collinear?
- edge
- edge?
- intersection2d
- length
- minimaxd
- on2d?
- on?
- orientation
- overlaps2d?
- parallel?
- unit-vector

### walkmap.geometry

TODO: write docs

Public variables and functions:

### walkmap.ocean

Deal with (specifically, at this stage, cull) ocean areas

Public variables and functions:

- *sea-level*
- cull-ocean-facets
- ocean?

### walkmap.path

Essentially the specification for things we shall consider to be path. Note that for these purposes `path` means any continuous linear feature, where such features specifically include watercourses.

Public variables and functions:

- length
- path
- path->edges
- path?
- polygon->path

### walkmap.polygon

Essentially the specification for things we shall consider to be polygons.

Public variables and functions:

- polygon?

### walkmap.stl

Utility functions dealing with stereolithography (STL) files. Not a stable API yet!

Public variables and functions:

- binary-stl
- binary-stl-to-ascii
- canonicalise
- centre
- decode-binary-stl
- facet
- stl->ascii
- stl?
- vect
- write-ascii-stl

### walkmap.superstructure

single indexing structure for walkmap objects

Public variables and functions:

- add-to-superstructure
- index-vertex
- index-vertices

### walkmap.svg

Utility functions for writing stereolithography (STL) files (and possibly, later, other geometry files of interest to us) as scalable vector graphics (SVG).

Public variables and functions:

- *preferred-svg-render*
- binary-stl-file->svg
- dali-stl->svg
- hiccup-stl->svg
- stl->svg

### walkmap.tag

Code for tagging, untagging, and finding tags on objects. Note the use of the namespaced keyword, `:walkmap.tag/tags`, denoted in this file `::tags`. This is in an attempt to avoid name clashes with other uses of this key.

Public variables and functions:

- tag
- tagged?
- tags
- untag

### walkmap.utils

Miscellaneous utility functions.

Public variables and functions:

- deep-merge
- vertices

### walkmap.vertex

Essentially the specification for things we shall consider to be vertices.

Public variables and functions:

- canonicalise
- ensure2d
- ensure3d
- vertex
- vertex-key
- vertex?