rsagl-0.2.1: The RogueStar Animation and Graphics Library
Source code
Contents
Index
RSAGL.Vector
Documentation
data
Point3D
Source
Constructors
Point3D
!
Double
!
Double
!
Double
Instances
Eq
Point3D
Read
Point3D
Show
Point3D
NFData
Point3D
AbstractZero
Point3D
Xyz
Point3D
Homogenous
Point3D
AffineTransformable
Point3D
Bound3D
Point3D
ConcavityDetection
Point3D
AbstractSubtract
Point3D
Vector3D
AbstractAdd
Point3D
Vector3D
origin_point_3d
::
Point3D
Source
data
Vector3D
Source
Constructors
Vector3D
!
Double
!
Double
!
Double
Instances
Eq
Vector3D
Read
Vector3D
Show
Vector3D
NFData
Vector3D
AbstractVector
Vector3D
AbstractZero
Vector3D
AbstractMagnitude
Vector3D
AbstractScale
Vector3D
Xyz
Vector3D
Homogenous
Vector3D
AffineTransformable
Vector3D
AbstractSubtract
Vector3D
Vector3D
AbstractSubtract
Point3D
Vector3D
AbstractAdd
Vector3D
Vector3D
AbstractAdd
Point3D
Vector3D
data
SurfaceVertex3D
Source
Constructors
SurfaceVertex3D
sv3d_position
::
Point3D
sv3d_normal
::
Vector3D
Instances
Read
SurfaceVertex3D
Show
SurfaceVertex3D
NFData
SurfaceVertex3D
AffineTransformable
SurfaceVertex3D
Bound3D
SurfaceVertex3D
ConcavityDetection
SurfaceVertex3D
zero_vector
::
Vector3D
Source
point3d
:: (
Double
,
Double
,
Double
) ->
Point3D
Source
points3d
:: [(
Double
,
Double
,
Double
)] -> [
Point3D
]
Source
point2d
:: (
Double
,
Double
) ->
Point3D
Source
points2d
:: [(
Double
,
Double
)] -> [
Point3D
]
Source
vector3d
:: (
Double
,
Double
,
Double
) ->
Vector3D
Source
dotProduct
::
Vector3D
->
Vector3D
->
Double
Source
angleBetween
::
Vector3D
->
Vector3D
->
Angle
Source
crossProduct
::
Vector3D
->
Vector3D
->
Vector3D
Source
distanceBetween
::
Xyz
xyz => xyz -> xyz ->
Double
Source
distanceBetweenSquared
::
Xyz
xyz => xyz -> xyz ->
Double
Source
aNonZeroVector
::
Vector3D
->
Maybe
Vector3D
Source
vectorAdd
::
Vector3D
->
Vector3D
->
Vector3D
Source
vectorSum
:: [
Vector3D
] ->
Vector3D
Source
vectorScale
::
Double
->
Vector3D
->
Vector3D
Source
vectorScaleTo
::
Double
->
Vector3D
->
Vector3D
Source
vectorToFrom
::
Xyz
xyz => xyz -> xyz ->
Vector3D
Source
vectorNormalize
::
Vector3D
->
Vector3D
Source
vectorAverage
:: [
Vector3D
] ->
Vector3D
Source
vectorLength
::
Vector3D
->
Double
Source
vectorLengthSquared
::
Vector3D
->
Double
Source
newell
:: [
Point3D
] ->
Vector3D
Source
class
Xyz
a
where
Source
Methods
toXYZ
:: a ->
XYZ
Source
fromXYZ
::
XYZ
-> a
Source
Instances
Xyz
Vector3D
Xyz
Point3D
type
XYZ
= (
Double
,
Double
,
Double
)
Source
vectorString
::
Xyz
a => a ->
String
Source
randomXYZ
:: (
RandomGen
g,
Xyz
p) => (
Double
,
Double
) -> g -> (p, g)
Source
fixOrtho
::
Vector3D
->
Vector3D
->
Vector3D
Source
fixOrtho2
::
Vector3D
->
Vector3D
-> (
Vector3D
,
Vector3D
)
Source
fixOrtho2Left
::
Vector3D
->
Vector3D
-> (
Vector3D
,
Vector3D
)
Source
orthos
::
Vector3D
-> (
Vector3D
,
Vector3D
)
Source
Produced by
Haddock
version 2.1.0