gimp/devel-docs/libgimpmath/tmpl/gimpvector.sgml

483 lines
4.8 KiB
Plaintext

<!-- ##### SECTION Title ##### -->
GimpVector
<!-- ##### SECTION Short_Description ##### -->
Utilities to set up and manipulate vectors.
<!-- ##### SECTION Long_Description ##### -->
<para>
Utilities to set up and manipulate vectors.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
#GimpMatrix3
</para>
<para>
#GimpMatrix4
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GimpVector2 ##### -->
<para>
A two dimensional vector.
</para>
@x:
@y:
<!-- ##### STRUCT GimpVector3 ##### -->
<para>
A three dimensional vector.
</para>
@x:
@y:
@z:
<!-- ##### STRUCT GimpVector4 ##### -->
<para>
A four dimensional vector.
</para>
@x:
@y:
@z:
@w:
<!-- ##### FUNCTION gimp_vector2_new ##### -->
<para>
</para>
@x:
@y:
@Returns:
<!-- ##### FUNCTION gimp_vector2_set ##### -->
<para>
</para>
@vector:
@x:
@y:
<!-- ##### FUNCTION gimp_vector2_length ##### -->
<para>
</para>
@vector:
@Returns:
<!-- ##### FUNCTION gimp_vector2_length_val ##### -->
<para>
</para>
@vector:
@Returns:
<!-- ##### FUNCTION gimp_vector2_mul ##### -->
<para>
</para>
@vector:
@factor:
<!-- ##### FUNCTION gimp_vector2_mul_val ##### -->
<para>
</para>
@vector:
@factor:
@Returns:
<!-- ##### FUNCTION gimp_vector2_normalize ##### -->
<para>
</para>
@vector:
<!-- ##### FUNCTION gimp_vector2_normalize_val ##### -->
<para>
</para>
@vector:
@Returns:
<!-- ##### FUNCTION gimp_vector2_neg ##### -->
<para>
</para>
@vector:
<!-- ##### FUNCTION gimp_vector2_neg_val ##### -->
<para>
</para>
@vector:
@Returns:
<!-- ##### FUNCTION gimp_vector2_add ##### -->
<para>
</para>
@result:
@vector1:
@vector2:
<!-- ##### FUNCTION gimp_vector2_add_val ##### -->
<para>
</para>
@vector1:
@vector2:
@Returns:
<!-- ##### FUNCTION gimp_vector2_sub ##### -->
<para>
</para>
@result:
@vector1:
@vector2:
<!-- ##### FUNCTION gimp_vector2_sub_val ##### -->
<para>
</para>
@vector1:
@vector2:
@Returns:
<!-- ##### FUNCTION gimp_vector2_inner_product ##### -->
<para>
</para>
@vector1:
@vector2:
@Returns:
<!-- ##### FUNCTION gimp_vector2_inner_product_val ##### -->
<para>
</para>
@vector1:
@vector2:
@Returns:
<!-- ##### FUNCTION gimp_vector2_cross_product ##### -->
<para>
</para>
@vector1:
@vector2:
@Returns:
<!-- ##### FUNCTION gimp_vector2_cross_product_val ##### -->
<para>
</para>
@vector1:
@vector2:
@Returns:
<!-- ##### FUNCTION gimp_vector2_rotate ##### -->
<para>
</para>
@vector:
@alpha:
<!-- ##### FUNCTION gimp_vector2_rotate_val ##### -->
<para>
</para>
@vector:
@alpha:
@Returns:
<!-- ##### FUNCTION gimp_vector3_new ##### -->
<para>
</para>
@x:
@y:
@z:
@Returns:
<!-- ##### FUNCTION gimp_vector3_set ##### -->
<para>
</para>
@vector:
@x:
@y:
@z:
<!-- ##### FUNCTION gimp_vector3_length ##### -->
<para>
</para>
@vector:
@Returns:
<!-- ##### FUNCTION gimp_vector3_length_val ##### -->
<para>
</para>
@vector:
@Returns:
<!-- ##### FUNCTION gimp_vector3_mul ##### -->
<para>
</para>
@vector:
@factor:
<!-- ##### FUNCTION gimp_vector3_mul_val ##### -->
<para>
</para>
@vector:
@factor:
@Returns:
<!-- ##### FUNCTION gimp_vector3_normalize ##### -->
<para>
</para>
@vector:
<!-- ##### FUNCTION gimp_vector3_normalize_val ##### -->
<para>
</para>
@vector:
@Returns:
<!-- ##### FUNCTION gimp_vector3_neg ##### -->
<para>
</para>
@vector:
<!-- ##### FUNCTION gimp_vector3_neg_val ##### -->
<para>
</para>
@vector:
@Returns:
<!-- ##### FUNCTION gimp_vector3_add ##### -->
<para>
</para>
@result:
@vector1:
@vector2:
<!-- ##### FUNCTION gimp_vector3_add_val ##### -->
<para>
</para>
@vector1:
@vector2:
@Returns:
<!-- ##### FUNCTION gimp_vector3_sub ##### -->
<para>
</para>
@result:
@vector1:
@vector2:
<!-- ##### FUNCTION gimp_vector3_sub_val ##### -->
<para>
</para>
@vector1:
@vector2:
@Returns:
<!-- ##### FUNCTION gimp_vector3_inner_product ##### -->
<para>
</para>
@vector1:
@vector2:
@Returns:
<!-- ##### FUNCTION gimp_vector3_inner_product_val ##### -->
<para>
</para>
@vector1:
@vector2:
@Returns:
<!-- ##### FUNCTION gimp_vector3_cross_product ##### -->
<para>
</para>
@vector1:
@vector2:
@Returns:
<!-- ##### FUNCTION gimp_vector3_cross_product_val ##### -->
<para>
</para>
@vector1:
@vector2:
@Returns:
<!-- ##### FUNCTION gimp_vector3_rotate ##### -->
<para>
</para>
@vector:
@alpha:
@beta:
@gamma:
<!-- ##### FUNCTION gimp_vector3_rotate_val ##### -->
<para>
</para>
@vector:
@alpha:
@beta:
@gamma:
@Returns:
<!-- ##### FUNCTION gimp_vector_2d_to_3d ##### -->
<para>
</para>
@sx:
@sy:
@w:
@h:
@x:
@y:
@vp:
@p:
<!-- ##### FUNCTION gimp_vector_2d_to_3d_val ##### -->
<para>
</para>
@sx:
@sy:
@w:
@h:
@x:
@y:
@vp:
@p:
@Returns:
<!-- ##### FUNCTION gimp_vector_3d_to_2d ##### -->
<para>
</para>
@sx:
@sy:
@w:
@h:
@x:
@y:
@vp:
@p: