get the dot product with point p. dot product id defined by : x1y2 + x2y1 . dot product is zero if the vectors defined by the 2 points are orthogonal . it is positive if vectors are in the same direction , and negative if they are in opposite direction . concode_field_sep double x concode_elem_sep double y concode_field_sep Vector2D minus concode_elem_sep Vector2D rotate concode_elem_sep double cross concode_elem_sep double cross concode_elem_sep Vector2D opposite concode_elem_sep Vector2D plus concode_elem_sep boolean almostEquals concode_elem_sep double norm concode_elem_sep double getX concode_elem_sep Vector2D times concode_elem_sep Vector2D transform concode_elem_sep double getY concode_elem_sep boolean isOrthogonal concode_elem_sep boolean isOrthogonal concode_elem_sep Vector2D normalize concode_elem_sep boolean equals concode_elem_sep double x concode_elem_sep Vector2D clone concode_elem_sep Vector2D create concode_elem_sep Vector2D create concode_elem_sep double y concode_elem_sep double angle concode_elem_sep String toString concode_elem_sep Vector2D createPolar concode_elem_sep boolean isColinear concode_elem_sep boolean isColinear
double function ( Vector2D arg0 ) { return x * arg0 . x + y * arg0 . y ; }