Documentation
¶
Index ¶
- type Point
- type Vector
- func (v *Vector) Angle(v2 *Vector) float64
- func (v *Vector) CrossProduct(v2 *Vector) *Vector
- func (v *Vector) DirectionVector() *Vector
- func (v *Vector) DotProduct(v2 *Vector) float64
- func (v *Vector) GetDirection() *Point
- func (v *Vector) GetEnd() *Point
- func (v *Vector) GetStart() *Point
- func (v *Vector) Length() float64
- func (v *Vector) String() string
- func (v *Vector) UnitVector() *Vector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vector ¶
type Vector struct {
// contains filtered or unexported fields
}
func (*Vector) CrossProduct ¶
func (*Vector) DirectionVector ¶
func (*Vector) DotProduct ¶
func (*Vector) GetDirection ¶
func (*Vector) UnitVector ¶
Click to show internal directories.
Click to hide internal directories.