Uses of Class
Jcg.geometry.GridVector_2
Packages that use GridVector_2
-
Uses of GridVector_2 in Jcg.geometry
Methods in Jcg.geometry that return GridVector_2Modifier and TypeMethodDescriptionGridVector_2.difference(Vector_ v) Return the integer grid vector (p-q), where q is the current point
Warning: q is assumed to be an integer GridPoint_2GridVector_2.multiplyByScalar(Number s) GridSegment_2.opposite()returns a segment with source and target interchangedGridVector_2.opposite()GridSegment_2.toVector()returns the vector s.target() - s.source()Methods in Jcg.geometry with parameters of type GridVector_2Modifier and TypeMethodDescriptionbooleanGridVector_2.colinear(GridVector_2 v) longGridVector_2.crossProduct(GridVector_2 v) A conversion from int to long is necessary to avoid overflowsGridPoint_2.sum(GridVector_2 v)