org.deegree.geometry.primitive.Point.getPrecision()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(2.6k)|赞(0)|评价(0)|浏览(114)

本文整理了Java中org.deegree.geometry.primitive.Point.getPrecision()方法的一些代码示例,展示了Point.getPrecision()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Point.getPrecision()方法的具体详情如下:
包路径:org.deegree.geometry.primitive.Point
类名称:Point
方法名:getPrecision

Point.getPrecision介绍

暂无

代码示例

代码示例来源:origin: deegree/deegree3

Point p0Shifted = new DefaultPoint( null, p0.getCoordinateSystem(), p0.getPrecision(),
                  new double[] { p0.get0() - minOrd0, p0.get1() - minOrd1 } );
Point p1Shifted = new DefaultPoint( null, p1.getCoordinateSystem(), p1.getPrecision(),
                  new double[] { p1.get0() - minOrd0, p1.get1() - minOrd1 } );
Point p2Shifted = new DefaultPoint( null, p2.getCoordinateSystem(), p2.getPrecision(),
                  new double[] { p2.get0() - minOrd0, p2.get1() - minOrd1 } );
  realPoints.add( new DefaultPoint( null, p.getCoordinateSystem(), p.getPrecision(),
                   new double[] { p.get0() + minOrd0, p.get1() + minOrd1 } ) );

代码示例来源:origin: deegree/deegree3

Point p0Shifted = new DefaultPoint( null, p0.getCoordinateSystem(), p0.getPrecision(),
                  new double[] { p0.get0() - minOrd0, p0.get1() - minOrd1 } );
Point p1Shifted = new DefaultPoint( null, p1.getCoordinateSystem(), p1.getPrecision(),
                  new double[] { p1.get0() - minOrd0, p1.get1() - minOrd1 } );
Point p2Shifted = new DefaultPoint( null, p2.getCoordinateSystem(), p2.getPrecision(),
                  new double[] { p2.get0() - minOrd0, p2.get1() - minOrd1 } );

代码示例来源:origin: deegree/deegree3

if ( min.equals( max ) ) {
  min = new DefaultPoint( min.getId(), min.getCoordinateSystem(), min.getPrecision(),
              new double[] { min.get0() - 0.0001, min.get1() - 0.0001 } );
  if ( min.equals( max ) ) {
    min = new DefaultPoint( min.getId(), min.getCoordinateSystem(), min.getPrecision(),
                new double[] { min.get0() - 0.0001, min.get1() - 0.0001 } );

代码示例来源:origin: deegree/deegree3

Point p0Shifted = new DefaultPoint( null, p0.getCoordinateSystem(), p0.getPrecision(),
                  new double[] { p0.get0() - minOrd0, p0.get1() - minOrd1 } );
Point p1Shifted = new DefaultPoint( null, p1.getCoordinateSystem(), p1.getPrecision(),
                  new double[] { p1.get0() - minOrd0, p1.get1() - minOrd1 } );
Point p2Shifted = new DefaultPoint( null, p2.getCoordinateSystem(), p2.getPrecision(),
                  new double[] { p2.get0() - minOrd0, p2.get1() - minOrd1 } );

代码示例来源:origin: deegree/deegree3

PrecisionModel pm = spline.getControlPoints().get( 0 ).getPrecision();
for ( int i = 0; i < numPoints; i++ ) {
  iPoints.add( new DefaultPoint( null, crs, pm, new double[] { interpolated[2 * i], interpolated[2 * i + 1] } ) );

代码示例来源:origin: deegree/deegree3

Point p0Shifted = new DefaultPoint( null, p0.getCoordinateSystem(), p0.getPrecision(),
                  new double[] { p0.get0() - minOrd0, p0.get1() - minOrd1 } );
Point p1Shifted = new DefaultPoint( null, p1.getCoordinateSystem(), p1.getPrecision(),
                  new double[] { p1.get0() - minOrd0, p1.get1() - minOrd1 } );
Point p2Shifted = new DefaultPoint( null, p2.getCoordinateSystem(), p2.getPrecision(),
                  new double[] { p2.get0() - minOrd0, p2.get1() - minOrd1 } );

相关文章