| http://www.coin3d.org/ http://www.kongsberg.com/kogt/

Public Member Functions | Public Attributes | Friends | List of all members
dimeVec3f Class Reference

The dimeVec3f class is for containing and operating on a 3D vector / coordinate. More...

`#include <dime/util/Linear.h>`

## Public Member Functions

| dimeVec3f (const dxfdouble X, const dxfdouble Y, const dxfdouble Z)
| dimeVec3f (const dxfdouble *xyz)
| dimeVec3f (const dimeVec3f &v)
dimeVec3f | cross (const dimeVec3f &v) const
dxfdouble | dot (const dimeVec3f &v) const
bool | equals (const dimeVec3f &v)
bool | equals (const dimeVec3f &v, dxfdouble tol)
| operator dxfdouble * ()
const dxfdouble * | getValue () const
void | getValue (dxfdouble &_x, dxfdouble &_y, dxfdouble &_z) const
dxfdouble | length () const
dxfdouble | sqrLength (void) const
void | negate (void)
void | setValue (const dxfdouble *v)
void | setValue (const dxfdouble X, const dxfdouble Y, const dxfdouble Z)
dxfdouble | operator[] (const int i) const
dxfdouble & | operator[] (const int i)
dimeVec3f & | operator*= (const dxfdouble s)
dimeVec3f & | operator/= (const dxfdouble s)
dimeVec3f & | operator+= (const dimeVec3f &v)
dimeVec3f & | operator-= (const dimeVec3f &v)
dimeVec3f | operator- () const
dimeVec3f & | operator= (const dimeVec3f &v)
void | multMatrix (dxfdouble *matrix)
void | print () const
void | print (const char *s) const
dimeVec3f | multComponents (const dimeVec3f &v) const
dxfdouble | angle (const dimeVec3f &v2)
void | normalize ()

## Public Attributes

dxfdouble | x
dxfdouble | y
dxfdouble | z

## Friends

dimeVec3f | operator* (const dimeVec3f &v, dxfdouble s)
dimeVec3f | operator* (dxfdouble s, const dimeVec3f &v)
dimeVec3f | operator/ (const dimeVec3f &v, dxfdouble s)
dimeVec3f | operator+ (const dimeVec3f &v1, const dimeVec3f &v2)
dimeVec3f | operator- (const dimeVec3f &v1, const dimeVec3f &v2)
bool | operator== (const dimeVec3f &v1, const dimeVec3f &v2)
bool | operator!= (const dimeVec3f &v1, const dimeVec3f &v2)

## Detailed Description

The dimeVec3f class is for containing and operating on a 3D vector / coordinate.

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

- Linear.h
- Linear.cpp

Copyright © by Kongsberg Oil & Gas Technologies. All rights reserved.