org.deegree.geometry.GeometryFactory.createLineStringSegment()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(151)

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

GeometryFactory.createLineStringSegment介绍

[英]Creates a LineStringSegment curve segment.
[中]创建线条段曲线段。

代码示例

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

return geomFac.createLineStringSegment( new PointsArray( points.toArray( new Point[points.size()] ) ) );

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

points = new PointsList( Arrays.asList( new Point[] { arc.getPoint1(), arc.getPoint3() } ) );
lineSegment = geomFac.createLineStringSegment( points );
lineSegment = geomFac.createLineStringSegment( interpolate( arc.getPoint1(), arc.getPoint2(),
                              arc.getPoint3(), numPoints,
                              arc instanceof Circle ) );
lineSegment = geomFac.createLineStringSegment( interpolate( arc.getPoint1(), arc.getPoint2(),
                              arc.getPoint3(), numPoints,
                              arc instanceof Circle ) );

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

return geomFac.createLineStringSegment( points );

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

GeometryFactory geomFac = new GeometryFactory();
CurveSegment[] segments = new CurveSegment[1];
segments[0] = geomFac.createLineStringSegment( p.getControlPoints() );
geom = geomFac.createCurve( geom.getId(), geom.getCoordinateSystem(), segments );

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

LineStringSegment lineSegment = geomFac.createLineStringSegment( new PointsList( iPoints ) );

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

pos = lss.getControlPoints();
  pos = transform( pos, trans );
  transformedSegment = geomFactory.createLineStringSegment( pos );
  break;
case OFFSET_CURVE:

相关文章