FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
AcGePoint2d.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 AcGeLine2d;
20class AcGeMatrix2d;
21class AcGeTol;
22class AcGeVector2d;
23
25{
26public:
28 double x;
29 double y;
30
31public:
33 AcGePoint2d(double,double);
35 bool isEqualTo( AcGePoint2d const &, AcGeTol const & = AcGeTol::gTol )const ;
36 bool operator!=( AcGePoint2d const &)const ;
37 bool operator==( AcGePoint2d const &)const ;
46 AcGePoint2d & set(double,double);
50 AcGePoint2d operator*(double)const ;
53 AcGePoint2d operator/(double)const ;
56 double & operator[](unsigned int);
57 double distanceTo( AcGePoint2d const &)const ;
58 double operator[](unsigned int)const ;
59
60};
#define ARX_API_STATIC
Definition FxARXAPI.h:25
AcGePoint2d & operator*=(double)
AcGePoint2d(void)
double & operator[](unsigned int)
AcGePoint2d operator-(AcGeVector2d const &) const
double distanceTo(AcGePoint2d const &) const
AcGePoint2d operator*(double) const
double operator[](unsigned int) const
AcGePoint2d & operator-=(AcGeVector2d const &)
AcGePoint2d & transformBy(AcGeMatrix2d const &)
AcGePoint2d operator/(double) const
bool operator!=(AcGePoint2d const &) const
AcGePoint2d & scaleBy(double, AcGePoint2d const &=AcGePoint2d::kOrigin)
AcGePoint2d(AcGePoint2d const &)
AcGePoint2d & set(double, double)
AcGePoint2d operator+(AcGeVector2d const &) const
AcGePoint2d & operator+=(AcGeVector2d const &)
AcGePoint2d & mirror(AcGeLine2d const &)
bool isEqualTo(AcGePoint2d const &, AcGeTol const &=AcGeTol::gTol) const
AcGePoint2d(double, double)
AcGePoint2d & rotateBy(double, AcGePoint2d const &=AcGePoint2d::kOrigin)
AcGePoint2d & setToProduct(AcGeMatrix2d const &, AcGePoint2d const &)
AcGePoint2d & setToSum(AcGePoint2d const &, AcGeVector2d const &)
AcGeVector2d operator-(AcGePoint2d const &) const
AcGeVector2d asVector(void) const
AcGePoint2d & operator=(AcGePoint2d const &)
bool operator==(AcGePoint2d const &) const
AcGePoint2d & operator/=(double)
static ARX_API_STATIC const AcGePoint2d kOrigin
Definition AcGePoint2d.h:27
static ARX_API_STATIC AcGeTol gTol
Definition AcGeTol.h:24