All Classes |Grouped Classes |Index

Class CL_Pointf

2D (x,y) point structure - Float More...

Derived from:

public CL_Pointx< float >

Derived by:

None

Group:

Math (Core)

#include <ClanLib/core.h>

Class Members:

Attributes:

normalize

Normalizes this vector.

dot

Dot products this vector with an other vector.

round

Rounds all components of this vector.

rotate

Rotate this vector around another point.

length

Returns the length (magnitude) of this vector.

angle

Calculate the angle between this vector and an other vector.

angle_relative

Calculate the angle between this vector relative to another vector.

distance

Calculate the distance between this vector and an other vector.

round_value

Rounds a value for the datatype.


Operators:

operator[]

operator float *

operator float *const

operator+=

+= operator.

operator+

operator-=

-= operator.

operator-

operator*=

*= operator.

operator*

operator/=

/= operator.

operator/

/ operator.

operator==

== operator.

operator!=

!= operator.

CL_Pointf

calc_origin

Returns the anchor point for the origin within the dimensions of the size structure.

dot

Dot products a vector with an other vector.

normalize

Normalizes a vector.

rotate

Rotate a vector around another point.

round

Rounds all components on a vector.