MCPcopy Create free account
hub / github.com/bighuang624/Algorithms-notes / Point2D

Class Point2D

code/algs4/Point2D.java:31–372  ·  view source on GitHub ↗

The Point class is an immutable data type to encapsulate a two-dimensional point with real-value coordinates. Note: in order to deal with the difference behavior of double and Double with respect to -0.0 and +0.0, the Point2D constructor converts any coordinates that are -0.0 to +0.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected