Hi ,
Are there any function / method that support the bending function automatically inside the Sphinx rather than we set it manually at 3 points at least to make it become curving spline from the straight line ?
| Code: |
public void setBendpoints (List<Point> bendPoints ) {
this.bendPoints.clear ();
if (bendPoints != null) {
//if ((bendPoints != null) && ( bendPoints.size() )) {
for (Point2D point : bendPoints ) {
this.bendPoints.add (new Point ((int ) point.getX (), (int ) point.getY ()));
log.info ("X " + point.getX ());
log.info ("Y " + point.getY ());
}
}
|
