public abstract class BaseSRF_2D extends BaseSRF
BaseSRF, BaseSRF_3D_internalSRFs, _myCsCode, _myOpSeq, _mySrftCode, _orm, _rt| Constructor and Description |
|---|
BaseSRF_2D() |
| Modifier and Type | Method and Description |
|---|---|
static double |
calculateEuclideanDistance(Coord2D coord1,
Coord2D coord2)
Returns the Euclidean distance between two coordinates.
|
int |
changeCoordinate2DArraySRF(Coord2D[] src,
Coord2D[] tgt)
Changes a array of 2D coordinates to this SRF.
|
int |
changeCoordinate2DArraySRFObject(Coord2D[] src,
SRM_ORM_Trans_2D_Params hst,
Coord2D[] tgt)
Changes an array of 2D coordinates to this SRF using tranformation object.
|
void |
changeCoordinate2DSRF(Coord2D src,
Coord2D tgt)
Changes a coordinate's values to this SRF.
|
void |
changeCoordinate2DSRFObject(Coord2D src,
SRM_ORM_Trans_2D_Params hst,
Coord2D tgt)
Changes a coordinate's values to this SRF using tranformation object.
|
abstract Coord2D |
createCoordinate2D()
Creates a 2D coordinate object.
|
abstract Coord2D |
createCoordinate2D(double coord_comp1,
double coord_comp2)
Creates a 2D coordinate object.
|
double[] |
getCoordinate2DValues(Coord2D coord)
Retrieves the 2D coordinate component values.
|
calculateEuclideanDistance, changeCoordinateSRF, checkCoordinate, createSRFSetMember, createStandardSRF, get_orm, get_rt, getA, getCSCode, getF, getImplVerInfo, getOrm, getRt, getSRFCode, getSRFSetCode, getSRFSetMemberCode, getSRFTemplateCode, interimConv, isEqual, makeClone, querySRFTSupport, setSrfCode, setSrfSetCode, setSrfSetMemberCode, toStringpublic abstract Coord2D createCoordinate2D()
public abstract Coord2D createCoordinate2D(double coord_comp1, double coord_comp2)
coord_comp1 - in: the values of the first component of the 2D coordinatecoord_comp2 - in: the values of the second component of the 2D coordinatepublic double[] getCoordinate2DValues(Coord2D coord) throws SrmException
coord - in: a 2D coordinate, which must have been created using this SRFSrmExceptionpublic void changeCoordinate2DSRF(Coord2D src, Coord2D tgt) throws SrmException
src - in: the source coordinate in some other 2D SRFtgt - out: the target coordinate in this 2D SRFSrmExceptionpublic int changeCoordinate2DArraySRF(Coord2D[] src, Coord2D[] tgt) throws SrmException
src - in: the array of source 3D coordinate in some other 3D SRFtgt - out: the array of target coordinate in this 3D SRFSrmExceptionpublic void changeCoordinate2DSRFObject(Coord2D src, SRM_ORM_Trans_2D_Params hst, Coord2D tgt) throws SrmException
src - in: the source coordinate in some other 2D SRFhst - in: the ORM 2D transformationtgt - out: the target coordinate in this 2D SRFSrmExceptionpublic int changeCoordinate2DArraySRFObject(Coord2D[] src, SRM_ORM_Trans_2D_Params hst, Coord2D[] tgt) throws SrmException
src - in: the array of source 3D coordinate in some other 3D SRFhst - in: the ORM 2D transformationtgt - out: the array of target coordinate in this 3D SRFSrmExceptionpublic static double calculateEuclideanDistance(Coord2D coord1, Coord2D coord2) throws SrmException
coord1 - in: a coordinate in some SRFcoord2 - in: a coordinate in some SRFSrmExceptionCopyright © 2013 SEDRIS. All Rights Reserved.