com.stimulsoft.report.chart
Class StiPointHelper

java.lang.Object
  extended by com.stimulsoft.report.chart.StiPointHelper

public class StiPointHelper
extends java.lang.Object


Constructor Summary
StiPointHelper()
           
 
Method Summary
static StiPoint[] GetLineOffsetRectangle(StiPoint point1, StiPoint point2, double offset)
           
static boolean IsLineContainsPoint(StiPoint startPoint, StiPoint endPoint, float offset, StiPoint point)
           
static boolean IsPointInPolygon(StiPoint p, StiPoint[] points)
           
static boolean IsPointInTriangle(StiPoint p, StiPoint a, StiPoint b, StiPoint c)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiPointHelper

public StiPointHelper()
Method Detail

IsPointInTriangle

public static boolean IsPointInTriangle(StiPoint p,
                                        StiPoint a,
                                        StiPoint b,
                                        StiPoint c)

IsPointInPolygon

public static boolean IsPointInPolygon(StiPoint p,
                                       StiPoint[] points)

GetLineOffsetRectangle

public static StiPoint[] GetLineOffsetRectangle(StiPoint point1,
                                                StiPoint point2,
                                                double offset)

IsLineContainsPoint

public static boolean IsLineContainsPoint(StiPoint startPoint,
                                          StiPoint endPoint,
                                          float offset,
                                          StiPoint point)