Graph Drawing

 v. 2022.02 (Dogwood)

ogdf::embedder::MDMFLengthAttribute Class Reference

Auxiliary length attribute. More...

#include <ogdf/planarity/embedder/MDMFLengthAttribute.h>

Public Member Functions

 MDMFLengthAttribute ()
 Default constructor for (0, 0) More...
 MDMFLengthAttribute (const MDMFLengthAttribute &x)
 Copy constructor. More...
 MDMFLengthAttribute (int _a, int _b=0)
 Converting constructor from int, default second is 0. More...
 ~MDMFLengthAttribute ()
 Destructor. More...
MDMFLengthAttributeoperator+= (const MDMFLengthAttribute &x)
MDMFLengthAttributeoperator-= (const MDMFLengthAttribute &x)
MDMFLengthAttributeoperator= (const MDMFLengthAttribute &x)

Public Attributes

int a
int b

Detailed Description

Auxiliary length attribute.

It contains two components (a, b) and a linear order is defined by: (a, b) > (a', b') iff a > a' or (a = a' and b > b')

Definition at line 45 of file MDMFLengthAttribute.h.

Constructor & Destructor Documentation

◆ MDMFLengthAttribute() [1/3]

ogdf::embedder::MDMFLengthAttribute::MDMFLengthAttribute ( )

Default constructor for (0, 0)

Definition at line 49 of file MDMFLengthAttribute.h.

◆ MDMFLengthAttribute() [2/3]

ogdf::embedder::MDMFLengthAttribute::MDMFLengthAttribute ( int  _a,
int  _b = 0 

Converting constructor from int, default second is 0.

Definition at line 52 of file MDMFLengthAttribute.h.

◆ MDMFLengthAttribute() [3/3]

ogdf::embedder::MDMFLengthAttribute::MDMFLengthAttribute ( const MDMFLengthAttribute x)

Copy constructor.

Definition at line 55 of file MDMFLengthAttribute.h.

◆ ~MDMFLengthAttribute()

ogdf::embedder::MDMFLengthAttribute::~MDMFLengthAttribute ( )


Definition at line 58 of file MDMFLengthAttribute.h.

Member Function Documentation

◆ operator+=()

MDMFLengthAttribute& ogdf::embedder::MDMFLengthAttribute::operator+= ( const MDMFLengthAttribute x)

Definition at line 66 of file MDMFLengthAttribute.h.

◆ operator-=()

MDMFLengthAttribute& ogdf::embedder::MDMFLengthAttribute::operator-= ( const MDMFLengthAttribute x)

Definition at line 72 of file MDMFLengthAttribute.h.

◆ operator=()

MDMFLengthAttribute& ogdf::embedder::MDMFLengthAttribute::operator= ( const MDMFLengthAttribute x)

Definition at line 60 of file MDMFLengthAttribute.h.

Member Data Documentation

◆ a

int ogdf::embedder::MDMFLengthAttribute::a

Definition at line 79 of file MDMFLengthAttribute.h.

◆ b

int ogdf::embedder::MDMFLengthAttribute::b

Definition at line 80 of file MDMFLengthAttribute.h.

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