public class Inelastics extends java.lang.Object implements java.lang.Comparable<Inelastics>
Constructor and Description |
---|
Inelastics(double dblLeft,
double dblRight)
Inelastics constructor
|
Modifier and Type | Method and Description |
---|---|
double |
calcNormalizedOrdinate(double dblPoint)
Transforms the point to the normalized domain ordinate
|
int |
compareTo(Inelastics ieOther) |
double |
getLeft()
Retrieve the left ordinate
|
double |
getRight()
Retrieve the right Ordinate
|
double |
getSpan()
Gets the normalizing width of the ordinate
|
int |
hashCode() |
boolean |
isInSegment(double dblPoint)
Finds out if the point is inside the segment - left/right is inclusive.
|
public Inelastics(double dblLeft, double dblRight) throws java.lang.Exception
dblLeft
- Spline Left OrdinatedblRight
- Spline Right Ordinatejava.lang.Exception
- Thrown if inputs are invalidpublic double getLeft()
public double getRight()
public boolean isInSegment(double dblPoint)
dblPoint
- Pointpublic double getSpan()
public double calcNormalizedOrdinate(double dblPoint) throws java.lang.Exception
dblPoint
- Pointjava.lang.Exception
- Thrown if the input is invalidpublic int hashCode()
hashCode
in class java.lang.Object
public int compareTo(Inelastics ieOther)
compareTo
in interface java.lang.Comparable<Inelastics>