public final class LebedevRule extends Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_RULE
Max number of defined rules (about half of them are available).
|
Modifier and Type | Method and Description |
---|---|
static List<LebedevGridPoint> |
createGridByOrder(int order)
Returns a Lebedev angular grid given its order. Discussion: Only a certain set of such
rules are available through this function, as given by if(isRuleAvailable(rule) > 0) order = getRuleOrder(rule).
|
static List<LebedevGridPoint> |
createGridForRule(int rule)
Returns a Lebedev angular grid for given rule.
|
static int |
getRuleOrder(int rule)
Returns the order of a Lebedev rule. Original author: John Burkardt (11 September
2010)
|
static int |
getRulePrecision(int rule)
Returns the precision of a Lebedev rule. Original author: John Burkardt (11 September
2010)
|
static int |
isRuleAvailable(int rule)
Returns the availability of a Lebedev rule. Original author: John Burkardt (12 September
2010)
|
public static final int MAX_RULE
public static List<LebedevGridPoint> createGridForRule(int rule)
rule
- the index of the rule, between 1 and 65.public static List<LebedevGridPoint> createGridByOrder(int order)
order
- the order of the ruleIllegalStateException
- if not a valid and available orderpublic static int isRuleAvailable(int rule)
rule
- the index of the rule, between 1 and 65.public static int getRuleOrder(int rule)
rule
- The index of the rule, between 1 and 65.public static int getRulePrecision(int rule)
rule
- The index of the rule, between 1 and 65.Copyright © 2017 CNES. All rights reserved.