added snap to shape
added bulk shape rendering
This commit is contained in:
1 parent
1a83a76be5
commit
58862fca11
6 files changed
+341
-91
No files matched your search
@@ -13,6 +13,13 @@ public class NumericValue extends Value
|
||||
private Double value;
|
||||
final static double epsilon = 1024*Double.MIN_VALUE;
|
||||
|
||||
public static NumericValue asNumber(Value v1, String id)
|
||||
{
|
||||
if (!(v1 instanceof NumericValue))
|
||||
throw new InternalExpressionException("Argument "+id+" has to be of a numeric type");
|
||||
return ((NumericValue) v1);
|
||||
}
|
||||
|
||||
public static NumericValue asNumber(Value v1)
|
||||
{
|
||||
if (!(v1 instanceof NumericValue))
|
||||
|
||||
Reference in new issue
Block a user