Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CartesianPoint ¶
type CartesianPoint struct {
X, Y float64
}
CartesianPoint models a point with X and Y coordinates
func (CartesianPoint) XCoord ¶
func (p CartesianPoint) XCoord() float64
XCoord returns the X coordinate
func (CartesianPoint) YCoord ¶
func (p CartesianPoint) YCoord() float64
YCoord returns the Y coordinate
type PolarPoint ¶
type PolarPoint struct {
R, A float64
}
PolarPoint models a point with radius and polar angle coordinates
Click to show internal directories.
Click to hide internal directories.