LibreOffice Module vcl (master) 1
Public Member Functions | Public Attributes | List of all members
DXFVector Class Reference

#include <dxfvec.hxx>

Public Member Functions

 DXFVector (double fX=0.0, double fY=0.0, double fZ=0.0)
 
DXFVectoroperator+= (const DXFVector &rV)
 
DXFVector operator+ (const DXFVector &rV) const
 
DXFVector operator- (const DXFVector &rV) const
 
DXFVector operator* (const DXFVector &rV) const
 
double SProd (const DXFVector &rV) const
 
DXFVectoroperator*= (double fs)
 
DXFVector operator* (double fs) const
 
double Abs () const
 
DXFVector Unit () const
 
bool operator== (const DXFVector &rV) const
 

Public Attributes

double fx
 
double fy
 
double fz
 

Detailed Description

Definition at line 50 of file dxfvec.hxx.

Constructor & Destructor Documentation

◆ DXFVector()

DXFVector::DXFVector ( double  fX = 0.0,
double  fY = 0.0,
double  fZ = 0.0 
)
inline

Definition at line 154 of file dxfvec.hxx.

References fx, fy, and fz.

Referenced by operator*(), operator+(), operator-(), and Unit().

Member Function Documentation

◆ Abs()

double DXFVector::Abs ( ) const

◆ operator*() [1/2]

DXFVector DXFVector::operator* ( const DXFVector rV) const
inline

Definition at line 179 of file dxfvec.hxx.

References DXFVector(), fx, fy, and fz.

◆ operator*() [2/2]

DXFVector DXFVector::operator* ( double  fs) const
inline

Definition at line 202 of file dxfvec.hxx.

References DXFVector(), fx, fy, and fz.

◆ operator*=()

DXFVector & DXFVector::operator*= ( double  fs)
inline

Definition at line 195 of file dxfvec.hxx.

References fx, fy, and fz.

◆ operator+()

DXFVector DXFVector::operator+ ( const DXFVector rV) const
inline

Definition at line 167 of file dxfvec.hxx.

References DXFVector(), fx, fy, and fz.

◆ operator+=()

DXFVector & DXFVector::operator+= ( const DXFVector rV)
inline

Definition at line 160 of file dxfvec.hxx.

References fx, fy, and fz.

◆ operator-()

DXFVector DXFVector::operator- ( const DXFVector rV) const
inline

Definition at line 173 of file dxfvec.hxx.

References DXFVector(), fx, fy, and fz.

◆ operator==()

bool DXFVector::operator== ( const DXFVector rV) const
inline

Definition at line 208 of file dxfvec.hxx.

References fx, fy, and fz.

◆ SProd()

double DXFVector::SProd ( const DXFVector rV) const
inline

Definition at line 189 of file dxfvec.hxx.

References fx, fy, and fz.

Referenced by Abs(), and DXFTransform::Mirror().

◆ Unit()

DXFVector DXFVector::Unit ( ) const

Definition at line 35 of file dxfvec.cxx.

References Abs(), and DXFVector().

Referenced by DXFTransform::DXFTransform().

Member Data Documentation

◆ fx

double DXFVector::fx

◆ fy

double DXFVector::fy

◆ fz

double DXFVector::fz

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