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

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

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

Point.equals介绍

暂无

代码示例

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

@Override
public boolean isClosed() {
  return getStartPoint().equals( getEndPoint() );
}

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

@Override
public boolean isClosed() {
  return getStartPoint().equals( getEndPoint() );
}

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

@Override
public boolean isClosed() {
  return getStartPoint().equals( getEndPoint() );
}

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

if ( !p.getStartPoint().equals( p.getEndPoint() ) ) {
  LOG.warn( "Found ring that is not closed. Repairing it." );
  double[] coords = new double[( p.size() + 1 ) * p.getDimension()];

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

for ( Point point : lineStringSegment.getControlPoints() ) {
  if ( lastPoint != null ) {
    if ( point.equals( lastPoint ) ) {
      LOG.debug( "Found duplicate control points." );
      if ( !fireEvent( new DuplicatePoints( curve, point, affectedGeometryParticles2 ) ) ) {

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

Point min = bbox.getMin();
Point max = bbox.getMax();
if ( min.equals( max ) ) {
  min = envelope.getMin();
  max = envelope.getMax();
  if ( min.equals( max ) ) {

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

Point max = env.getMax();
ICRS crs = env.getCoordinateSystem();
if ( min.equals( max ) ) {
  return fac.createPoint( null, min.getAsArray(), crs );

相关文章