public class RMHitInfo extends RMObject
Modifier and Type | Field and Description |
---|---|
int |
_hitCount |
int |
_index |
double |
_r |
double |
_s |
Constructor and Description |
---|
RMHitInfo(int hitCount,
double r,
double s,
int index)
Creates a hit info record with given attributes.
|
Modifier and Type | Method and Description |
---|---|
int |
getHitCount()
Returns the numer of intersections associated with the given geometries.
|
int |
getIndex()
Returns the index of hit segment (for paths).
|
double |
getR()
Returns the parametric location (from 0-1) of hit on receiving geometry.
|
double |
getS()
Returns the parametric location (from 0-1) of hit on secondary geometry.
|
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
public int _hitCount
public double _r
public double _s
public int _index
public RMHitInfo(int hitCount, double r, double s, int index)
public int getHitCount()
public double getR()
public double getS()
public int getIndex()