Java Geometry Algorithm plus(Point point1, Point point2)

Here you can find the source of plus(Point point1, Point point2)

Description

plus

License

Apache License

Declaration

public static Point plus(Point point1, Point point2) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.awt.Point;

public class Main {
    public static Point plus(Point point1, Point point2) {
        return new Point(point1.x + point2.x, point1.y + point2.y);
    }/*from w w  w. j a  v a2s . co  m*/
}

Related

  1. parabolaByFocusAndDirectrix(Point2D.Double focus, double directrix)
  2. parameterizeCurve(Point[] coefficients, Point startPoint, Point endPoint, Point controlPoint1, Point controlPoint2)
  3. perpendicular(Point a, Point z, double aDist, double size, boolean clockwise)
  4. perpendicularScalarProjection(Point2D.Double projVec, Point2D.Double dir)
  5. plotBezier(GeneralPath path, @Nonnull Point2D p0, @Nonnull Point2D p1, @Nonnull Point2D p2, @Nonnull Point2D p3, int depth, double displacement)
  6. polarPointAtInfinity(double angle)
  7. polarToPoint(double angle, double fx, double fy)
  8. positiveAngleBetween3Points(Point2D.Double p1, Point2D.Double p2, Point2D.Double p3)
  9. preciseFrontBumperOffset( Point2D.Double sourceLocation, Point2D.Double botLocation)