SAGA API  v9.6
CSG_Point Class Reference

#include <geo_tools.h>

Inheritance diagram for CSG_Point:
SSG_Point

Public Member Functions

 CSG_Point (void)
 
 CSG_Point (const CSG_Point &Point)
 
 CSG_Point (const TSG_Point &Point)
 
 CSG_Point (double x, double y)
 
virtual ~CSG_Point (void)
 
virtual TSG_Point_Type Get_Type (void) const
 
virtual bool operator== (const CSG_Point &Point) const
 
virtual bool operator!= (const CSG_Point &Point) const
 
virtual CSG_Point operator+ (const CSG_Point &Point) const
 
virtual CSG_Point operator- (const CSG_Point &Point) const
 
virtual CSG_Pointoperator= (const CSG_Point &Point)
 
virtual CSG_Pointoperator+= (const CSG_Point &Point)
 
virtual CSG_Pointoperator-= (const CSG_Point &Point)
 
virtual CSG_Pointoperator*= (const CSG_Point &Point)
 
CSG_Point operator* (double Value) const
 
CSG_Point operator/ (double Value) const
 
virtual CSG_Pointoperator*= (double Value)
 
virtual CSG_Pointoperator/= (double Value)
 
virtual void Assign (double x, double y)
 
virtual void Assign (const CSG_Point &Point)
 
virtual void Add (const CSG_Point &Point)
 
virtual void Subtract (const CSG_Point &Point)
 
virtual void Multiply (const CSG_Point &Point)
 
virtual void Multiply (double Value)
 
virtual void Divide (double Value)
 
virtual double Get_Length (void) const
 
virtual bool is_Equal (const CSG_Point &Point, double epsilon=0.) const
 
virtual bool is_Equal (double _x, double _y, double epsilon=0.) const
 

Additional Inherited Members

- Public Attributes inherited from SSG_Point
double x
 
double y
 

Detailed Description

Definition at line 134 of file geo_tools.h.

Constructor & Destructor Documentation

◆ CSG_Point() [1/4]

CSG_Point::CSG_Point ( void  )

Definition at line 65 of file geo_classes.cpp.

References Assign().

◆ CSG_Point() [2/4]

CSG_Point::CSG_Point ( const CSG_Point Point)

Definition at line 70 of file geo_classes.cpp.

References Assign(), SSG_Point::x, and SSG_Point::y.

◆ CSG_Point() [3/4]

CSG_Point::CSG_Point ( const TSG_Point Point)

Definition at line 75 of file geo_classes.cpp.

References Assign(), SSG_Point::x, and SSG_Point::y.

◆ CSG_Point() [4/4]

CSG_Point::CSG_Point ( double  x,
double  y 
)

Definition at line 80 of file geo_classes.cpp.

References Assign().

◆ ~CSG_Point()

virtual CSG_Point::~CSG_Point ( void  )
inlinevirtual

Definition at line 142 of file geo_tools.h.

Member Function Documentation

◆ Add()

void CSG_Point::Add ( const CSG_Point Point)
virtual

Definition at line 99 of file geo_classes.cpp.

References SSG_Point::x, and SSG_Point::y.

◆ Assign() [1/2]

void CSG_Point::Assign ( const CSG_Point Point)
virtual

Definition at line 92 of file geo_classes.cpp.

References SSG_Point::x, and SSG_Point::y.

◆ Assign() [2/2]

void CSG_Point::Assign ( double  x,
double  y 
)
virtual

◆ Divide()

void CSG_Point::Divide ( double  Value)
virtual

Definition at line 123 of file geo_classes.cpp.

References SSG_Point::x, and SSG_Point::y.

◆ Get_Length()

double CSG_Point::Get_Length ( void  ) const
virtual

Definition at line 130 of file geo_classes.cpp.

References SSG_Point::x, and SSG_Point::y.

◆ Get_Type()

virtual TSG_Point_Type CSG_Point::Get_Type ( void  ) const
inlinevirtual

Definition at line 144 of file geo_tools.h.

◆ is_Equal() [1/2]

virtual bool CSG_Point::is_Equal ( const CSG_Point Point,
double  epsilon = 0. 
) const
inlinevirtual

Definition at line 174 of file geo_tools.h.

References is_Equal(), SSG_Point::x, and SSG_Point::y.

Referenced by CSG_Shape::Intersects(), is_Equal(), and CSG_Shape_Points::On_Intersects().

◆ is_Equal() [2/2]

virtual bool CSG_Point::is_Equal ( double  _x,
double  _y,
double  epsilon = 0. 
) const
inlinevirtual

Definition at line 175 of file geo_tools.h.

◆ Multiply() [1/2]

void CSG_Point::Multiply ( const CSG_Point Point)
virtual

Definition at line 111 of file geo_classes.cpp.

References SSG_Point::x, and SSG_Point::y.

◆ Multiply() [2/2]

void CSG_Point::Multiply ( double  Value)
virtual

Definition at line 117 of file geo_classes.cpp.

References SSG_Point::x, and SSG_Point::y.

◆ operator!=()

virtual bool CSG_Point::operator!= ( const CSG_Point Point) const
inlinevirtual

Definition at line 147 of file geo_tools.h.

◆ operator*()

CSG_Point CSG_Point::operator* ( double  Value) const
inline

Definition at line 157 of file geo_tools.h.

◆ operator*=() [1/2]

virtual CSG_Point& CSG_Point::operator*= ( const CSG_Point Point)
inlinevirtual

Definition at line 155 of file geo_tools.h.

◆ operator*=() [2/2]

virtual CSG_Point& CSG_Point::operator*= ( double  Value)
inlinevirtual

Definition at line 159 of file geo_tools.h.

◆ operator+()

virtual CSG_Point CSG_Point::operator+ ( const CSG_Point Point) const
inlinevirtual

Definition at line 149 of file geo_tools.h.

References SSG_Point::x, and SSG_Point::y.

◆ operator+=()

virtual CSG_Point& CSG_Point::operator+= ( const CSG_Point Point)
inlinevirtual

Definition at line 153 of file geo_tools.h.

◆ operator-()

virtual CSG_Point CSG_Point::operator- ( const CSG_Point Point) const
inlinevirtual

Definition at line 150 of file geo_tools.h.

References SSG_Point::x, and SSG_Point::y.

◆ operator-=()

virtual CSG_Point& CSG_Point::operator-= ( const CSG_Point Point)
inlinevirtual

Definition at line 154 of file geo_tools.h.

◆ operator/()

CSG_Point CSG_Point::operator/ ( double  Value) const
inline

Definition at line 158 of file geo_tools.h.

◆ operator/=()

virtual CSG_Point& CSG_Point::operator/= ( double  Value)
inlinevirtual

Definition at line 160 of file geo_tools.h.

◆ operator=()

virtual CSG_Point& CSG_Point::operator= ( const CSG_Point Point)
inlinevirtual

Definition at line 152 of file geo_tools.h.

◆ operator==()

virtual bool CSG_Point::operator== ( const CSG_Point Point) const
inlinevirtual

Definition at line 146 of file geo_tools.h.

◆ Subtract()

void CSG_Point::Subtract ( const CSG_Point Point)
virtual

Definition at line 105 of file geo_classes.cpp.

References SSG_Point::x, and SSG_Point::y.


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