|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.geometry.xy.AbstractXyTransform
com.partnersoft.geometry.measurement.LinearUnitTransform
public class LinearUnitTransform
| Constructor Summary | |
|---|---|
LinearUnitTransform(LinearUnit fromUnit,
LinearUnit toUnit)
|
|
| Method Summary | |
|---|---|
LinearUnit |
getFromUnit()
|
LinearUnit |
getToUnit()
|
boolean |
isIdentity()
True if this transform will return the input unchanged, and can therefore be skipped or discarded. |
protected XyPoint |
transformImp(XyPoint point)
Subclasses must implement this to do the actual work of transformation. |
| Methods inherited from class com.partnersoft.geometry.xy.AbstractXyTransform |
|---|
transform, transform, transform |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinearUnitTransform(LinearUnit fromUnit,
LinearUnit toUnit)
| Method Detail |
|---|
protected XyPoint transformImp(XyPoint point)
AbstractXyTransformAbstractXyTransform.transform(XyPoint), except that you
do NOT have to check for identity - that will be done automatically.
transformImp in class AbstractXyTransformpublic boolean isIdentity()
XyTransform
public LinearUnit getFromUnit()
public LinearUnit getToUnit()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||