Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Shape::edge_data Struct Reference

Extra data that some algorithms use. More...

Public Member Functions

 edge_data ()
 

Public Attributes

int weight
 
Geom::Point rdx
 
double length
 
double sqlength
 
double ilength
 
double isqlength
 
double siEd
 
double coEd
 

Detailed Description

Extra data that some algorithms use.

Definition at line 559 of file Shape.h.

Constructor & Destructor Documentation

◆ edge_data()

Shape::edge_data::edge_data ( )
inline

Definition at line 568 of file Shape.h.

Member Data Documentation

◆ coEd

double Shape::edge_data::coEd

siEd=abs(rdy/length) and coEd=rdx/length

Definition at line 567 of file Shape.h.

◆ ilength

double Shape::edge_data::ilength

Inverse of length squared

Definition at line 565 of file Shape.h.

◆ isqlength

double Shape::edge_data::isqlength

Inverse of length

Definition at line 566 of file Shape.h.

◆ length

double Shape::edge_data::length

length of edge vector squared.

Definition at line 563 of file Shape.h.

◆ rdx

Geom::Point Shape::edge_data::rdx

Rounded edge vector

Definition at line 562 of file Shape.h.

◆ siEd

double Shape::edge_data::siEd

Definition at line 567 of file Shape.h.

◆ sqlength

double Shape::edge_data::sqlength

length of edge vector

Definition at line 564 of file Shape.h.

◆ weight

int Shape::edge_data::weight

Weight of the edge. If weight is 2, it means there are two identical edges on top of each other.

Definition at line 561 of file Shape.h.


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