FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
AcGeScale2d.h
Go to the documentation of this file.
1#pragma once
2
3//
4// (C) Copyright 2005-2024 by Graebert GmbH.
5//
6// Permission to use, copy, modify, and distribute this software in
7// object code form for any purpose and without fee is hereby granted,
8// provided that the above copyright notice appears in all copies and
9// that both that copyright notice and the limited warranty and
10// restricted rights notice below appear in all supporting
11// documentation.
12//
13// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
14// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
15// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
16// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
17// UNINTERRUPTED OR ERROR FREE.
18
19class AcGeMatrix2d;
20class AcGeTol;
21
23{
24public:
26 double sx;
27 double sy;
28
29public:
31 AcGeScale2d(double);
32 AcGeScale2d(double,double);
34 operator AcGeMatrix2d(void)const ;
35 bool isEqualTo( AcGeScale2d const &, AcGeTol const & = AcGeContext::gTol)const ;
36 bool operator!=( AcGeScale2d const &)const ;
37 bool operator==( AcGeScale2d const &)const ;
46 AcGeScale2d & set(double,double);
49 AcGeScale2d inverse(void)const ;
51 AcGeScale2d operator*(double)const ;
52 double & operator[](unsigned int);
53 double operator[](unsigned int)const ;
55 void getMatrix( AcGeMatrix2d &)const ;
56
57};
#define ARX_API_STATIC
Definition FxARXAPI.h:25
AcGeScale2d inverse(void) const
AcGeScale2d & preMultBy(AcGeScale2d const &)
AcGeScale2d & postMultBy(AcGeScale2d const &)
AcGeScale2d & operator=(AcGeScale2d const &)
AcGeScale2d & setToProduct(AcGeScale2d const &, AcGeScale2d const &)
bool isEqualTo(AcGeScale2d const &, AcGeTol const &=AcGeContext::gTol) const
static ARX_API_STATIC AcGeScale2d const kIdentity
Definition AcGeScale2d.h:25
Frx::Boolean isProportional(AcGeTol const &=AcGeContext::gTol) const
AcGeScale2d operator*(double) const
AcGeScale2d & set(double, double)
AcGeScale2d & extractScale(AcGeMatrix2d const &)
AcGeScale2d & setToProduct(AcGeScale2d const &, double)
AcGeScale2d(double, double)
bool operator!=(AcGeScale2d const &) const
AcGeScale2d & operator*=(AcGeScale2d const &)
AcGeScale2d(AcGeScale2d const &)
double operator[](unsigned int) const
AcGeScale2d(double)
AcGeScale2d & invert(void)
AcGeScale2d & operator*=(double)
AcGeScale2d & removeScale(AcGeMatrix2d &)
AcGeScale2d operator*(AcGeScale2d const &) const
void getMatrix(AcGeMatrix2d &) const
bool operator==(AcGeScale2d const &) const
double & operator[](unsigned int)
AcGeScale2d(void)
static ARX_API_STATIC AcGeTol gTol
Definition AcGeContext.h:24