My Project
Public Member Functions | Public Attributes | List of all members
Edge Struct Reference

#include <basicComponents.h>

Public Member Functions

bool operator< (Edge other) const
 Less than operator defined for faster comparisons between Edges. More...
 
bool operator== (Edge b)
 Equality operator defined for faster comparisons between Edges. More...
 
Edge projected (int plane)
 

Public Attributes

pair< Vertice, Verticevertices
 

Member Function Documentation

◆ operator<()

bool Edge::operator< ( Edge  other) const
inline

Less than operator defined for faster comparisons between Edges.

◆ operator==()

bool Edge::operator== ( Edge  b)
inline

Equality operator defined for faster comparisons between Edges.

◆ projected()

Edge Edge::projected ( int  plane)
inline

Generates the 2D projection of a of the edge on a plane

Parameters
planeThe plane on which projection is to be taken is passed through this

plane = 0 -> XY plane plane = 1 -> YZ plane plane = 2 -> XZ plane plane = 3 -> Isometric View

2D projection of edge

Member Data Documentation

◆ vertices

pair<Vertice,Vertice> Edge::vertices

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