public class CameraCoordinate extends Object implements Serializable
This class represents a coordinate in the camera frame using euclidean coordinates in mm.
It provides a method toHorizontal to transform from camera frame to telescope frame
Constructor and Description |
---|
CameraCoordinate(double xMM,
double yMM) |
Modifier and Type | Method and Description |
---|---|
double |
euclideanDistance(CameraCoordinate other) |
HorizontalCoordinate |
toHorizontal(HorizontalCoordinate pointingPosition,
double focalLength)
Transform this CameraCoordinate from camera frame to telescope (horizontal coordinates) frame
for the given PointingPosition.
|
String |
toString() |
public HorizontalCoordinate toHorizontal(HorizontalCoordinate pointingPosition, double focalLength)
pointingPosition
- the telescope's pointing positionfocalLength
- the focal length of the telescopepublic double euclideanDistance(CameraCoordinate other)
Copyright © 2019. All rights reserved.