Next: Segment Up: Commands Previous: Point Contents Index
Subsections

- Vector
- Direction
- UnitVector
- PerpendicularVector
- UnitPerpendicularVector

## Vector

###
Vector

`Vector[`point A, point B`]`
  Vector from A to B
`Vector[`point`]`
  Position vector of a point

###
Direction

`Direction[`line`]`
  Direction vector of a line. A line with equation ax + by = c has direction (b, - a).

###
UnitVector

`UnitVector[`line`]`
  Direction vector with length 1 of a line
`UnitVector[`vector`]`
  Vector with length 1, same direction and orientation as the given vector

(4.3.5)

###
PerpendicularVector

`PerpendicularVector[`line`]`
  Perpendicular vector of a line. A line with equation ax + by = c has the perpendicular vector (a, b).

`PerpendicularVector[`vector`]`
  Perpendicular vector of a vector. A vector with coordinates (a, b) has the perpendicular vector (- b, a).

###
UnitPerpendicularVector

`UnitPerpendicularVector[`line`]`
  Perpendicular vector with length 1 of a line.

`UnitPerpendicularVector[`vector`]`
  Perpendicular vector with length 1 of a vector.