Module

Data.Geometry.BoundingBox

Package
purescript-liminal
Repository
jstoxrocky/purescript-liminal

#BoundingBox Source

#accumulateAxes Source

accumulateAxes :: forall f a. Applicative f => Semigroup (f a) => { x :: f a, y :: f a, z :: f a } -> Vector3 a -> { x :: f a, y :: f a, z :: f a }

#pivotAxes Source

pivotAxes :: forall f a. Applicative f => Monoid (f a) => Foldable f => f (Vector3 a) -> { x :: f a, y :: f a, z :: f a }

#maxByOrder Source

maxByOrder :: forall a. Ord a => a -> a -> a

#minByOrder Source

minByOrder :: forall a. Ord a => a -> a -> a

#consMax Source

consMax :: forall a f. Foldable f => Ord a => a -> f a -> a

#consMin Source

consMin :: forall a f. Foldable f => Ord a => a -> f a -> a

#nonEmptyMax Source

nonEmptyMax :: forall a. Ord a => NonEmptyArray a -> a

#nonEmptyMin Source

nonEmptyMin :: forall a. Ord a => NonEmptyArray a -> a

#pivotNonEmptyAxes Source

pivotNonEmptyAxes :: forall a. NonEmptyArray (Vector3 a) -> { x :: NonEmptyArray a, y :: NonEmptyArray a, z :: NonEmptyArray a }