Class PrecisionModelExample

java.lang.Object
org.locationtech.jtsexample.geom.PrecisionModelExample

public class PrecisionModelExample extends Object
An example showing the results of using different precision models in computations involving geometric constructions. A simple intersection computation is carried out in three different precision models (Floating, FloatingSingle and Fixed with 0 decimal places). The input is the same in all cases (since it is precise in all three models), The output shows the effects of rounding in the single-precision and fixed-precision models.
Version:
1.7