FlowVis
Content
Index
Previous (main)
Next

Unit
  matrix

Description
  this file implements function to operate with vectors and matrices

Author
 

Wolfgang Freiler
Philipp Hartl


Version
 

1.0


Classes
 
Class Description

Types
 
Type Description
TMatrix3x3f #No TAG found in source code#
TPoint2Di #No TAG found in source code#
TPoint2Dui #No TAG found in source code#
TPoint3D #No TAG found in source code#
TPoint3Dui #No TAG found in source code#
TVector2D #No TAG found in source code#

Constants
 
Constant Description

Variables
 
Variable Description

Functions
 
Function Description
AbsoluteValue Returns the absolute value of a vector
AddVectors Adds two vectors
CrossProduct the cross or outer product of two vectors
DotProduct calculates the dot product of two vectors
GetIdentityMatrix creates the identity matrix
GetRotateMatrix creates a rotate matrix
GetScaleMatrix creates a scale matrix
GetTranslateMatrix creates a translation matrix
InvertTransformAndScaleMatrix inverts a matrix consisting of transformation an scale-matrices only.
MultiplyMatrices multiplies two matrices
NegativeVector inverts a vector
NormalizeVector normalize a vector (set its length to 1)
NormalOfLine a fast method to get a normal vector of a line (p1 -> p2)
Point2Di returns a TPoint2Di consisting of (x,y)
Point3D Returns a TPoint3D consisting of x,y and w
QuadDistance calculates the square of the distance between two vectors
ScaleVector Scales a vector by a decimal value
SubtractVectors subtract two vectors
TransformPoint transforms a point by multiplying it with a matrix
Vector2D Returns a TVector2D consisting of x and y
Vector2D Returns a TVector2D from point 1 to point 2

Links
  #UnderConstruction#

FlowVis
Content
Index
Previous (main)
Next


Created with DelphiCodeToDoc. To obtain the latest revision, please see http://dephicodetodoc.sourceforge.net/
Under GNU GPL licence. Copyright (c) 2003 - TridenT.