hgeometry-0.14: Geometric Algorithms, Data structures, and Data types.
Copyright(C) Frank Staals
Licensesee the LICENSE file
MaintainerFrank Staals
Safe HaskellNone
LanguageHaskell2010

Data.Geometry.Box

Description

Orthogonal \(d\)-dimensiontal boxes (e.g. rectangles)

Synopsis

Documentation

inBox' :: (Arity d, Ord r) => Point d r -> Box d p r -> PointLocationResult Source #

Compute whether the point lies inside, on the boundary of, or outside the box.

Orphan instances

(NFData p, NFData r, Arity d) => NFData (Box d p r) Source # 
Instance details

Methods

rnf :: Box d p r -> () #