One Hat Cyber Team
Your IP :
216.73.216.136
Server IP :
162.240.179.46
Server :
Linux vps-14493116.nutrivittasaude.com.br 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
Server Software :
Apache
PHP Version :
8.2.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
imath-devel
/
html
/
_sources
/
classes
/
View File Name :
Vec4.rst.txt
Vec4 #### .. code-block:: #include <Imath/ImathVec.h> The ``Vec4`` class template represents a 4D vector, with predefined typedefs for vectors of type ``short``, ``int``, ``int64_t``, ``float``, and ``double``. Note that the integer specializations of ``Vec4`` lack the ``length()`` and ``normalize()`` methods that are present in the ``float`` and ``double`` versions, because the results don't fit into integer quantities. There are also various utility functions that operate on vectors defined in ``ImathVecAlgo.h`` and described in :ref:`Vector Functions <vector-functions>`. Example: .. literalinclude:: ../examples/Vec4.cpp :language: c++ .. doxygentypedef:: V4s .. doxygentypedef:: V4i .. doxygentypedef:: V4i64 .. doxygentypedef:: V4f .. doxygentypedef:: V4d .. doxygenclass:: Imath::Vec4 :undoc-members: :members: .. doxygenfunction:: operator<<(std::ostream& s, const Vec4<T>& v)