public class LineUtils extends Object
| Constructor and Description |
|---|
LineUtils() |
| Modifier and Type | Method and Description |
|---|---|
static double |
distance(double x0,
double y0,
double x1,
double y1,
double ppvAspectRatio)
Computes XY distance in X units, allowing Y units to differ from X units by a linear factor.
|
static double |
ppvAspectRatio(Axis2D axis) |
public static double distance(double x0,
double y0,
double x1,
double y1,
double ppvAspectRatio)
ppvAspectRatio. This is useful when
computing cumulative distance along a line-strip, for stippling.
ppvAspectRatio(Axis2D)public static double ppvAspectRatio(Axis2D axis)
Copyright © 2018 Metron, Inc.. All rights reserved.