Search this API

y.view
Interface GenericNodeRealizer.IntersectionTest

Enclosing class:
GenericNodeRealizer

public static interface GenericNodeRealizer.IntersectionTest

This interface is used by GenericNodeRealizer to delegate the work of the GenericNodeRealizer.findIntersection(double, double, double, double, Point2D) method to. Classes implementing this interface should query the given context NodeRealizer for the necessary information each time the methods are called since they will be shared instances for multiple GenericNodeRealizer instances.

 
Your browser does not support SVG content.

Method Summary
 boolean findIntersection(NodeRealizer context, double ix, double iy, double ox, double oy, java.awt.geom.Point2D result)
          Used as a callback for the GenericNodeRealizer.findIntersection(double, double, double, double, Point2D) method.
 

Method Detail

findIntersection

boolean findIntersection(NodeRealizer context,
                         double ix,
                         double iy,
                         double ox,
                         double oy,
                         java.awt.geom.Point2D result)
Used as a callback for the GenericNodeRealizer.findIntersection(double, double, double, double, Point2D) method.


© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.