Functions:
aj3dVectorNew | Default constructor for zeroed AJAX 3D vectors. |
aj3dVectorCreate | Constructor for initialised AJAX 3D vectors. |
AjP3dVector aj3dVectorNew ( void );
Type | Name | Read/Write | Description |
---|---|---|---|
AjP3dVector | RETURN | Pointer to a zeroed 3D vector |
From EMBOSS 2.8.0
AjP3dVector aj3dVectorCreate ( float fX, float fY, float fZ );
Type | Name | Read/Write | Description |
---|---|---|---|
float | fX | Input | x component of 3D vector |
float | fY | Input | y component of 3D vector |
float | fZ | Input | z component of 3D vector |
AjP3dVector | RETURN | Pointer to an initialised 3D vector |
From EMBOSS 2.8.0
Functions:
aj3dVectorDel | Default destructor for Ajax 3-D Vectors. |
void aj3dVectorDel ( AjP3dVector* pthis );
Type | Name | Read/Write | Description |
---|---|---|---|
AjP3dVector* | pthis | Delete | Pointer to the 3-D vector to be deleted. The pointer is always deleted. |
void | RETURN |
From EMBOSS 2.8.0
Functions:
aj3dVectorCrossProduct | calculates the cross product of two 3D vectors, that is their "torque" |
aj3dVectorBetweenPoints | Calculates the vector from one point in space (start) to another (end) |
aj3dVectorLength | calculates the magnitude of a vector |
aj3dVectorAngle | Calculates the angle between two vectors |
aj3dVectorDihedralAngle | calculates the angle from the plane perpendicular to A x B to the plane perpendicular to B x C (where A, B and C are vectors) |
aj3dVectorDotProduct | calculates the dot product of two 3D vectors, that is their summed common scalar magnitude |
aj3dVectorSum | calculates the dot product of two 3D vectors, that is their summed common "scalar magnitude" |
void aj3dVectorCrossProduct ( const AjP3dVector first, const AjP3dVector second, AjP3dVector crossProduct );
Type | Name | Read/Write | Description |
---|---|---|---|
const AjP3dVector | first | Input | first 3D vector |
const AjP3dVector | second | Input | second 3D vector |
AjP3dVector | crossProduct | Output | 3D vector to contain cross product |
void | RETURN |
From EMBOSS 2.8.0
void aj3dVectorBetweenPoints ( AjP3dVector betweenPoints, float fStartX, float fStartY, float fStartZ, float fEndX, float fEndY, float fEndZ );
Type | Name | Read/Write | Description |
---|---|---|---|
AjP3dVector | betweenPoints | Modify | vector from start to end |
float | fStartX | Input | X coordinate of start |
float | fStartY | Input | Y coordinate of start |
float | fStartZ | Input | Z coordinate of start |
float | fEndX | Input | X coordinate of end |
float | fEndY | Input | Y coordinate of end |
float | fEndZ | Input | Z coordinate of end |
void | RETURN |
From EMBOSS 2.8.0
float aj3dVectorLength ( const AjP3dVector thys );
Type | Name | Read/Write | Description |
---|---|---|---|
const AjP3dVector | thys | Input | vector to be sized |
float | RETURN | length of vector to be sized |
From EMBOSS 2.8.0
float aj3dVectorAngle ( const AjP3dVector first, const AjP3dVector second );
Type | Name | Read/Write | Description |
---|---|---|---|
const AjP3dVector | first | Input | first vector |
const AjP3dVector | second | Input | second vector |
float | RETURN | angle between vectors in degrees |
From EMBOSS 2.8.0
float aj3dVectorDihedralAngle ( const AjP3dVector veca, const AjP3dVector vecb, const AjP3dVector vecc );
Type | Name | Read/Write | Description |
---|---|---|---|
const AjP3dVector | veca | Input | Vector A |
const AjP3dVector | vecb | Input | Vector B |
const AjP3dVector | vecc | Input | Vector C |
float | RETURN | dihedral angle |
From EMBOSS 2.8.0
float aj3dVectorDotProduct ( const AjP3dVector first, const AjP3dVector second );
Type | Name | Read/Write | Description |
---|---|---|---|
const AjP3dVector | first | Input | first vector |
const AjP3dVector | second | Input | second vector |
float | RETURN | dot product of first and second vectors |
From EMBOSS 2.8.0
void aj3dVectorSum ( const AjP3dVector first, const AjP3dVector second, AjP3dVector sum );
Type | Name | Read/Write | Description |
---|---|---|---|
const AjP3dVector | first | Input | first vector |
const AjP3dVector | second | Input | second vector |
AjP3dVector | sum | Output | sum of first and second vectors |
void | RETURN |
From EMBOSS 2.8.0