This class represents an Edge of the graph.  
 More...
This class represents an Edge of the graph. 
- Author
 - Kurt Leimer 
 
Definition at line 9 of file Edge.java.
 
      
        
          | Edge.Edge  | 
          ( | 
          Node  | 
          startNode,  | 
        
        
           | 
           | 
          Node  | 
          endNode  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
  
  
      
        
          | double Edge.angleComp  | 
          ( | 
          Edge  | 
          other) |  | 
           | 
         
       
   | 
  
private   | 
  
 
Calculates the angular compatibility of the Edge with the specified other Edge. 
- Parameters
 - 
  
    | other | The other Edge whose angular compatibility is calculated.  | 
  
   
- Returns
 - the angular compatibility of the Edge with the specified other Edge. 
 
Definition at line 221 of file Edge.java.
 
 
      
        
          | double Edge.compatibility  | 
          ( | 
          Edge  | 
          other) |  | 
           | 
        
      
 
Calculates the compatibility of the Edge with the specified other Edge. 
- Parameters
 - 
  
    | other | The other Edge whose compatibility is calculated.  | 
  
   
- Returns
 - the compatibility of the Edge with the specified other Edge. 
 
Definition at line 117 of file Edge.java.
 
 
Returns the length of the Edge in x-direction. 
- Returns
 - the length of the Edge in x-direction. 
 
Definition at line 100 of file Edge.java.
 
 
Returns the length of the Edge in y-direction. 
- Returns
 - the length of the Edge in y-direction. 
 
Definition at line 108 of file Edge.java.
 
 
      
        
          | Node Edge.getStartNode  | 
          ( | 
          ) |  | 
           | 
        
      
 
 
      
        
          | ArrayList<Node> Edge.getSubNodes  | 
          ( | 
          ) |  | 
           | 
        
      
 
Returns the sub-Nodes of the Edge. 
- Returns
 - the sub-Nodes of the Edge. 
 
Definition at line 67 of file Edge.java.
 
 
      
        
          | ArrayList<Node> Edge.getTempSubNodes  | 
          ( | 
          ) |  | 
           | 
        
      
 
Returns the temporary sub-Nodes of the Edge. 
- Returns
 - the temporary sub-Nodes of the Edge. 
 
Definition at line 75 of file Edge.java.
 
 
      
        
          | boolean Edge.isIncident  | 
          ( | 
          Node  | 
          node) |  | 
           | 
        
      
 
Returns whether the specified Node is incident to the Edge. 
- Parameters
 - 
  
    | node | The node which is checked.  | 
  
   
- Returns
 - true if the specified node is incident, false otherwise. 
 
Definition at line 92 of file Edge.java.
 
 
  
  
      
        
          | Node Edge.lineIntersection  | 
          ( | 
          Edge  | 
          other) |  | 
           | 
         
       
   | 
  
private   | 
  
 
Calculates the intersection of the Edge with the specified other Edge when extending the length of both Edges to infinity in both directions. 
- Parameters
 - 
  
    | other | The other Edge whose intersection is calculated.  | 
  
   
- Returns
 - the line-intersection of the Edge with the specified other Edge. 
 
Definition at line 266 of file Edge.java.
 
 
      
        
          | double Edge.magnitude  | 
          ( | 
          ) |  | 
           | 
        
      
 
Returns the Euclidian length of the Edge. 
- Returns
 - the Euclidian length of the Edge. 
 
Definition at line 125 of file Edge.java.
 
 
Returns the mid-point of the Edge. 
- Returns
 - the mid-point of the Edge. 
 
Definition at line 174 of file Edge.java.
 
 
  
  
      
        
          | double Edge.posComp  | 
          ( | 
          Edge  | 
          other) |  | 
           | 
         
       
   | 
  
private   | 
  
 
Calculates the positional compatibility of the Edge with the specified other Edge. 
- Parameters
 - 
  
    | other | The other Edge whose positional compatibility is calculated.  | 
  
   
- Returns
 - the positional compatibility of the Edge with the specified other Edge. 
 
Definition at line 232 of file Edge.java.
 
 
  
  
      
        
          | double Edge.scaleComp  | 
          ( | 
          Edge  | 
          other) |  | 
           | 
         
       
   | 
  
private   | 
  
 
Calculates the scale compatibility of the Edge with the specified other Edge. 
- Parameters
 - 
  
    | other | The other Edge whose scale compatibility is calculated.  | 
  
   
- Returns
 - the scale compatibility of the Edge with the specified other Edge. 
 
Definition at line 244 of file Edge.java.
 
 
      
        
          | void Edge.setEndNode  | 
          ( | 
          Node  | 
          endNode) |  | 
           | 
        
      
 
 
      
        
          | void Edge.setStartNode  | 
          ( | 
          Node  | 
          startNode) |  | 
           | 
        
      
 
 
      
        
          | void Edge.setTempSubNodes  | 
          ( | 
          ArrayList< Node >  | 
          subNodes) |  | 
           | 
        
      
 
Sets the temporary sub-Nodes of the Edge. 
- Parameters
 - 
  
    | subNodes | The new temporary sub-Nodes of the Edge.  | 
  
   
Definition at line 83 of file Edge.java.
 
 
      
        
          | int [] Edge.subNodesXInt  | 
          ( | 
          ) |  | 
           | 
        
      
 
Returns an array with the Integer x-coordinates of the sub-Nodes of the Edge. 
- Returns
 - an array with the Integer x-coordinates of the sub-Nodes of the Edge. 
 
Definition at line 150 of file Edge.java.
 
 
      
        
          | int [] Edge.subNodesYInt  | 
          ( | 
          ) |  | 
           | 
        
      
 
Returns an array with the Integer y-coordinates of the sub-Nodes of the Edge. 
- Returns
 - an array with the Integer y-coordinates of the sub-Nodes of the Edge. 
 
Definition at line 162 of file Edge.java.
 
 
  
  
      
        
          | double Edge.visComp  | 
          ( | 
          Edge  | 
          other) |  | 
           | 
         
       
   | 
  
private   | 
  
 
Calculates the visibility compatibility of the Edge with the specified other Edge. 
- Parameters
 - 
  
    | other | The other Edge whose visibility compatibility is calculated.  | 
  
   
- Returns
 - the visibility compatibility of the Edge with the specified other Edge. 
 
Definition at line 256 of file Edge.java.
 
 
      
        
          | double Edge.visibility  | 
          ( | 
          Edge  | 
          other) |  | 
           | 
        
      
 
Calculates the visibility of the specified other Edge when extending a band of sight from the Edge. 
- Parameters
 - 
  
    | other | The other Edge whose visibility is calculated.  | 
  
   
- Returns
 - the visibility of the specified other Edge. 
 
Definition at line 135 of file Edge.java.
 
 
The documentation for this class was generated from the following file:
- /Users/neco/Desktop/FDEB/HomePage/src/Edge.java