Java Code Examples for org.apache.commons.math.exception.util.LocalizedFormats#CARDAN_ANGLES_SINGULARITY

The following examples show how to use org.apache.commons.math.exception.util.LocalizedFormats#CARDAN_ANGLES_SINGULARITY . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CardanEulerSingularityException.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Simple constructor.
 * build an exception with a default message.
 * @param isCardan if true, the rotation is related to Cardan angles,
 * if false it is related to EulerAngles
 */
public CardanEulerSingularityException(boolean isCardan) {
    super(isCardan ? LocalizedFormats.CARDAN_ANGLES_SINGULARITY : LocalizedFormats.EULER_ANGLES_SINGULARITY);
}
 
Example 2
Source File: CardanEulerSingularityException.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Simple constructor.
 * build an exception with a default message.
 * @param isCardan if true, the rotation is related to Cardan angles,
 * if false it is related to EulerAngles
 */
public CardanEulerSingularityException(boolean isCardan) {
    super(isCardan ? LocalizedFormats.CARDAN_ANGLES_SINGULARITY : LocalizedFormats.EULER_ANGLES_SINGULARITY);
}
 
Example 3
Source File: CardanEulerSingularityException.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Simple constructor.
 * build an exception with a default message.
 * @param isCardan if true, the rotation is related to Cardan angles,
 * if false it is related to EulerAngles
 */
public CardanEulerSingularityException(boolean isCardan) {
    super(isCardan ? LocalizedFormats.CARDAN_ANGLES_SINGULARITY : LocalizedFormats.EULER_ANGLES_SINGULARITY);
}
 
Example 4
Source File: CardanEulerSingularityException.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Simple constructor.
 * build an exception with a default message.
 * @param isCardan if true, the rotation is related to Cardan angles,
 * if false it is related to EulerAngles
 */
public CardanEulerSingularityException(boolean isCardan) {
    super(isCardan ? LocalizedFormats.CARDAN_ANGLES_SINGULARITY : LocalizedFormats.EULER_ANGLES_SINGULARITY);
}