SMC_VectorMult (FUN) ¶ FUNCTION SMC_VectorMult : BOOL InOut: Scope Name Type Return SMC_VectorMult BOOL Input pv POINTER TO SMC_Vector3D d LREAL
SMC_XNormed2D (FUN) ¶ FUNCTION SMC_XNormed2D : LREAL Computes the x coordinate divided by the 2D norm. InOut: Scope Name Type Return SMC_XNormed2D LREAL Input pvec POINTER TO SMC_VECTOR3D
SMC_YNormed2D (FUN) ¶ FUNCTION SMC_YNormed2D : LREAL Computes the y coordinate divided by the 2D norm. InOut: Scope Name Type Return SMC_YNormed2D LREAL Input pvec POINTER TO SMC_VECTOR3D
SMC_V3_Add (FUN) ¶ FUNCTION SMC_V3_Add Adds two vectors. InOut: Scope Name Type Comment Inout vDst SMC_Vector3D The result Inout Const vLhs SMC_Vector3D The left hand side vRhs SMC_Vector3D The right hand side
SMC_V3_Angle (FUN) ¶ FUNCTION SMC_V3_Angle : LREAL Computes the angle (in radian) between two 3d-vectors. Note: if one of the vectors has zero length, the result is zero. The returned value is in the range [0 .. pi]. InOut: Scope Name Type Inout Const v1 SMC_Vector3D v2 SMC_Vector3D Return SMC_V3_Angle LREAL
SMC_V3_DistE (FUN) ¶ FUNCTION SMC_V3_DistE : LREAL Computes the euclidean distance of two vectors. InOut: Scope Name Type Inout Const v0 SMC_Vector3D v1 SMC_Vector3D Return SMC_V3_DistE LREAL
SMC_V3_Dot (FUN) ¶ FUNCTION SMC_V3_Dot : LREAL Computes the standard scalar (dot) product of two vectors. InOut: Scope Name Type Inout Const v1 SMC_Vector3D v2 SMC_Vector3D Return SMC_V3_Dot LREAL
SMC_V3_DotSq (FUN) ¶ FUNCTION SMC_V3_DotSq : LREAL Computes the standard scalar (dot) product of a vector with itself. InOut: Scope Name Type Inout Const v SMC_Vector3D Return SMC_V3_DotSq LREAL
SMC_V3_Equals (FUN) ¶ FUNCTION SMC_V3_Equals : BOOL InOut: Scope Name Type Inout Const v1 SMC_VECTOR3D v2 SMC_VECTOR3D Return SMC_V3_Equals BOOL
SMC_V3_IsScalarMultiple (FUN) ¶ FUNCTION SMC_V3_IsScalarMultiple : BOOL Returns whether v = lambda * u for some real-valued lambda. (Note that lambda may be zero or negative.) InOut: Scope Name Type Comment Inout Const u SMC_Vector3D v SMC_Vector3D Input dEps LREAL The required accuracy Return SMC_V3_IsScalarMultiple BOOL