Package | Description |
---|---|
org.apache.commons.geometry.euclidean.twod |
This package provides basic 2D geometry components.
|
Modifier and Type | Method and Description |
---|---|
static PolarCoordinates |
PolarCoordinates.fromCartesian(double x,
double y)
Convert the given Cartesian coordinates to polar form.
|
static PolarCoordinates |
PolarCoordinates.fromCartesian(Vector2D vec)
Convert the given Cartesian coordinates to polar form.
|
static PolarCoordinates |
PolarCoordinates.of(double radius,
double azimuth)
Return a new instance with the given polar coordinate values.
|
static PolarCoordinates |
PolarCoordinates.parse(String input)
Parse the given string and return a new polar coordinates instance.
|
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.