mil.dod.th.ose.sdk/src/mil/dod/th/ose/sdk/those/ProjectAssetCapabilities.java
private static PanTilt makePanTilt()
    {
        final OrientationOffset minOffset = SpatialTypesFactory.newOrientationOffset(-50.0, 0.0, 0.0);
        final OrientationOffset maxOffset = SpatialTypesFactory.newOrientationOffset(50.0, 0.0, 0.0);

        final AzimuthDegrees minAzimuth = minOffset.getAzimuth();
        final AzimuthDegrees maxAzimuth = maxOffset.getAzimuth();
        final ElevationDegrees minElevation = minOffset.getElevation();
        final ElevationDegrees maxElevation = maxOffset.getElevation();
        final BankDegrees minBank = minOffset.getBank();
        final BankDegrees maxBank = maxOffset.getBank();
        final boolean azimuthSupported = true;
        final boolean elevationSupported = false;
        final boolean bankSupported = false;

        return new PanTilt(minAzimuth, maxAzimuth, minElevation, maxElevation, minBank, maxBank, azimuthSupported,
                           elevationSupported, bankSupported);
    }
/**
     * Creates an object that is populated with placeholder values for a PanTilt object.
     * @return PanTilt object
     */
Creates an object that is populated with placeholder values for a PanTilt object.
Creates an object that is populated with placeholder values for a PanTilt object .
private static PanTilt makePanTilt()
    {
        final OrientationOffset minOffset = SpatialTypesFactory.newOrientationOffset(-50.0, 0.0, 0.0);
        final OrientationOffset maxOffset = SpatialTypesFactory.newOrientationOffset(50.0, 0.0, 0.0);
        final AzimuthDegrees minAzimuth = minOffset.getAzimuth();
        final AzimuthDegrees maxAzimuth = maxOffset.getAzimuth();
        final ElevationDegrees minElevation = minOffset.getElevation();
        final ElevationDegrees maxElevation = maxOffset.getElevation();
        final BankDegrees minBank = minOffset.getBank();
        final BankDegrees maxBank = maxOffset.getBank();
        final boolean azimuthSupported = true;
        final boolean elevationSupported = false;
        final boolean bankSupported = false;
        return new PanTilt(minAzimuth, maxAzimuth, minElevation, maxElevation, minBank, maxBank, azimuthSupported,
                           elevationSupported, bankSupported);
    }
private static PanTilt makePanTilt ( ) { final OrientationOffset minOffset = SpatialTypesFactory . newOrientationOffset ( - 50.0 , 0.0 , 0.0 ) ; final OrientationOffset maxOffset = SpatialTypesFactory . newOrientationOffset ( 50.0 , 0.0 , 0.0 ) ; final AzimuthDegrees minAzimuth = minOffset . getAzimuth ( ) ; final AzimuthDegrees maxAzimuth = maxOffset . getAzimuth ( ) ; final ElevationDegrees minElevation = minOffset . getElevation ( ) ; final ElevationDegrees maxElevation = maxOffset . getElevation ( ) ; final BankDegrees minBank = minOffset . getBank ( ) ; final BankDegrees maxBank = maxOffset . getBank ( ) ; final boolean azimuthSupported = true ; final boolean elevationSupported = false ; final boolean bankSupported = false ; return new PanTilt ( minAzimuth , maxAzimuth , minElevation , maxElevation , minBank , maxBank , azimuthSupported , elevationSupported , bankSupported ) ; }
Creates an object that is populated with placeholder values for a PanTilt object.
Creates an object that is populated with placeholder values for a PanTilt object .