Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CFX_VTemplate< BaseType > Class Template Referencefinal

#include <fx_coordinates.h>

+ Inheritance diagram for CFX_VTemplate< BaseType >:
+ Collaboration diagram for CFX_VTemplate< BaseType >:

Public Member Functions

 CFX_VTemplate ()
 
 CFX_VTemplate (BaseType new_x, BaseType new_y)
 
 CFX_VTemplate (const CFX_VTemplate &other)
 
 CFX_VTemplate (const CFX_PTemplate< BaseType > &point1, const CFX_PTemplate< BaseType > &point2)
 
float Length () const
 
void Normalize ()
 
float Length () const
 
void Normalize ()
 
float Length () const
 
void Normalize ()
 
- Public Member Functions inherited from CFX_PTemplate< BaseType >
constexpr CFX_PTemplate ()=default
 
constexpr CFX_PTemplate (BaseType new_x, BaseType new_y)
 
 CFX_PTemplate (const CFX_PTemplate &other)=default
 
CFX_PTemplateoperator= (const CFX_PTemplate &other)=default
 
bool operator== (const CFX_PTemplate &other) const
 
bool operator!= (const CFX_PTemplate &other) const
 
CFX_PTemplateoperator+= (const CFX_PTemplate< BaseType > &obj)
 
CFX_PTemplateoperator-= (const CFX_PTemplate< BaseType > &obj)
 
CFX_PTemplate operator+ (const CFX_PTemplate &other) const
 
CFX_PTemplate operator- (const CFX_PTemplate &other) const
 

Additional Inherited Members

- Public Attributes inherited from CFX_PTemplate< BaseType >
BaseType x = 0
 
BaseType y = 0
 

Detailed Description

template<class BaseType>
class CFX_VTemplate< BaseType >

Definition at line 122 of file fx_coordinates.h.

Constructor & Destructor Documentation

◆ CFX_VTemplate() [1/4]

template<class BaseType >
CFX_VTemplate< BaseType >::CFX_VTemplate ( )
inline

Definition at line 127 of file fx_coordinates.h.

◆ CFX_VTemplate() [2/4]

template<class BaseType >
CFX_VTemplate< BaseType >::CFX_VTemplate ( BaseType new_x,
BaseType new_y )
inline

Definition at line 128 of file fx_coordinates.h.

◆ CFX_VTemplate() [3/4]

template<class BaseType >
CFX_VTemplate< BaseType >::CFX_VTemplate ( const CFX_VTemplate< BaseType > & other)
inline

Definition at line 131 of file fx_coordinates.h.

◆ CFX_VTemplate() [4/4]

template<class BaseType >
CFX_VTemplate< BaseType >::CFX_VTemplate ( const CFX_PTemplate< BaseType > & point1,
const CFX_PTemplate< BaseType > & point2 )
inline

Definition at line 133 of file fx_coordinates.h.

Member Function Documentation

◆ Length() [1/3]

float CFX_VTemplate< float >::Length ( ) const

Definition at line 67 of file fx_coordinates.cpp.

◆ Length() [2/3]

float CFX_VTemplate< float >::Length ( ) const

Definition at line 67 of file fx_coordinates.cpp.

◆ Length() [3/3]

template<class BaseType >
float CFX_VTemplate< BaseType >::Length ( ) const

◆ Normalize() [1/3]

void CFX_VTemplate< float >::Normalize ( )

Definition at line 72 of file fx_coordinates.cpp.

◆ Normalize() [2/3]

void CFX_VTemplate< float >::Normalize ( )

Definition at line 72 of file fx_coordinates.cpp.

◆ Normalize() [3/3]

template<class BaseType >
void CFX_VTemplate< BaseType >::Normalize ( )

The documentation for this class was generated from the following file: