|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
Chapter: 1. Source code download, 2. Test results, 3. Test item and method, 4. Test code 1. Source code download 2. Test resultsreturn=>page top
: Similar test => DrawTop test command
3. Test item and method return=>page top Intersection points between two curves are calculated by the Curve2DUtil.getIntersectionPts method. The reliability and the processing speed of the above method are tested. The test is performed under the severe condition in which either curve nearly contacts with another curve. Such a severe condition may be created by translating either curve repeatedly.
public static CrossCurvePT[] get IntersectionPts(Curve2D curve1, Curve2D curve2) curve1 - The Curve2D object of the first (parametric) curve. Returns: The array of the CrossCurvePT objects which represents the intersection points of the curve1 and curve2. If there is no intersection, then returns the array of 0-length. 4. Test code return=>page top 4.1 Classes Overview
4.2 Specifications return=>page top 4.2.1 public class IntersectionPTsPanel extends JPanel
|
|||||||||||||||||||||||||||||
Copyright (c) 2009-2013 All other trademarks are property of their respective owners. |