Class RMHitInfo
- java.lang.Object
- 
- com.inductiveautomation.rm.base.RMListenerList
- 
- com.inductiveautomation.rm.base.RMObject
- 
- com.inductiveautomation.rm.graphics.RMHitInfo
 
 
 
- 
- All Implemented Interfaces:
- RMPropertyChanger,- java.lang.Cloneable
 
 public class RMHitInfo extends RMObject This class encapsulates simple hit information of a given curve or line against another curve or line.
- 
- 
Constructor SummaryConstructors Constructor Description RMHitInfo(int hitCount, double r, double s, int index)Creates a hit info record with given attributes.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHitCount()Returns the numer of intersections associated with the given geometries.intgetIndex()Returns the index of hit segment (for paths).doublegetR()Returns the parametric location (from 0-1) of hit on receiving geometry.doublegetS()Returns the parametric location (from 0-1) of hit on secondary geometry.- 
Methods inherited from class com.inductiveautomation.rm.base.RMObjectaddPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChange, toString
 - 
Methods inherited from class com.inductiveautomation.rm.base.RMListenerListaddListener, clone, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
 
- 
 
- 
- 
- 
Method Detail- 
getHitCountpublic int getHitCount() Returns the numer of intersections associated with the given geometries.
 - 
getRpublic double getR() Returns the parametric location (from 0-1) of hit on receiving geometry.
 - 
getSpublic double getS() Returns the parametric location (from 0-1) of hit on secondary geometry.
 - 
getIndexpublic int getIndex() Returns the index of hit segment (for paths).
 
- 
 
-