v0.14.0
Public Member Functions | Public Attributes | Friends | List of all members
ClipperLib::IntPoint Struct Reference

#include <users_modules/mortar_contact/src/clipper.hpp>

Collaboration diagram for ClipperLib::IntPoint:
[legend]

Public Member Functions

 IntPoint (cInt x=0, cInt y=0)
 

Public Attributes

cInt X
 
cInt Y
 

Friends

bool operator== (const IntPoint &a, const IntPoint &b)
 
bool operator!= (const IntPoint &a, const IntPoint &b)
 

Detailed Description

Definition at line 85 of file clipper.hpp.

Constructor & Destructor Documentation

◆ IntPoint()

ClipperLib::IntPoint::IntPoint ( cInt  x = 0,
cInt  y = 0 
)
inline

Definition at line 92 of file clipper.hpp.

92 : X(x), Y(y) {};

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const IntPoint a,
const IntPoint b 
)
friend

Definition at line 99 of file clipper.hpp.

100  {
101  return a.X != b.X || a.Y != b.Y;
102  }

◆ operator==

bool operator== ( const IntPoint a,
const IntPoint b 
)
friend

Definition at line 95 of file clipper.hpp.

96  {
97  return a.X == b.X && a.Y == b.Y;
98  }

Member Data Documentation

◆ X

cInt ClipperLib::IntPoint::X

Definition at line 86 of file clipper.hpp.

◆ Y

cInt ClipperLib::IntPoint::Y

Definition at line 87 of file clipper.hpp.


The documentation for this struct was generated from the following file:
ClipperLib::IntPoint::Y
cInt Y
Definition: clipper.hpp:87
a
constexpr double a
Definition: approx_sphere.cpp:30
ClipperLib::IntPoint::X
cInt X
Definition: clipper.hpp:86