Package | Description |
---|---|
org.seamcat.model.geometry |
Modifier and Type | Method and Description |
---|---|
Vector2D |
Vector2D.add(Vector2D other) |
Vector2D |
Vector2D.cwNormal()
The normal vector of same size in clock wise direction.
|
static Vector2D |
Vector2D.fromTo(Point2D a,
Point2D b) |
Vector2D |
Vector2D.scale(double scale) |
Vector2D |
Vector2D.toUnitVector() |
Modifier and Type | Method and Description |
---|---|
Vector2D |
Vector2D.add(Vector2D other) |
double |
Vector2D.dotProduct(Vector2D other) |
Polygon2D |
Polygon2D.translate(Vector2D v) |
Point2D |
Point2D.translate(Vector2D v) |
Copyright © 2018. All rights reserved.