izzi
SVG SUBSET C++ API
Loading...
Searching...
No Matches
Point Struct Reference

#include <izzi-points.h>

Public Member Functions

 Point (double x=0, double y=0, const std::string s="")
double distance (const Point &other) const
bool operator== (const Point &other) const
Point operator+ (const Point &other) const
Point operator/ (double scalar) const

Public Attributes

double x
double y
std::string name

Detailed Description

Definition at line 188 of file izzi-points.h.

Constructor & Destructor Documentation

◆ Point()

Point::Point ( double x = 0,
double y = 0,
const std::string s = "" )
inline

Definition at line 193 of file izzi-points.h.

Member Function Documentation

◆ distance()

double Point::distance ( const Point & other) const
inline

Definition at line 197 of file izzi-points.h.

Here is the call graph for this function:

◆ operator==()

bool Point::operator== ( const Point & other) const
inline

Definition at line 201 of file izzi-points.h.

Here is the call graph for this function:

◆ operator+()

Point Point::operator+ ( const Point & other) const
inline

Definition at line 205 of file izzi-points.h.

Here is the call graph for this function:

◆ operator/()

Point Point::operator/ ( double scalar) const
inline

Definition at line 209 of file izzi-points.h.

Here is the call graph for this function:

Member Data Documentation

◆ x

double Point::x

Definition at line 190 of file izzi-points.h.

◆ y

double Point::y

Definition at line 190 of file izzi-points.h.

◆ name

std::string Point::name

Definition at line 191 of file izzi-points.h.


The documentation for this struct was generated from the following file: