Package | Description |
---|---|
Jcg.geometry | |
Jcg.graph.drawing |
Modifier and Type | Class and Description |
---|---|
class |
Vector_2 |
class |
Vector_3 |
Modifier and Type | Method and Description |
---|---|
Vector_ |
Vector_.difference(Vector_ v)
Return the vector difference (v-u), where u is the current vector
|
Vector_ |
Vector_.divisionByScalar(java.lang.Number s)
Return a new vector obtained by scalar division
|
Vector_ |
Point_2.minus(Point_ b) |
Vector_ |
Point_d.minus(Point_ b) |
Vector_ |
Point_.minus(Point_ p)
Return the vector (p-q), where q is the current point
|
Vector_ |
Point_3.minus(Point_ b) |
Vector_ |
Vector_.multiplyByScalar(java.lang.Number s)
Return a new vector obtained by multiplying by a scalar
|
Vector_ |
Segment_2.opposite()
returns a segment with source and target interchanged
|
Vector_ |
Vector_.opposite()
Return the opposite of the current vector
|
Vector_ |
Segment_3.opposite()
returns a segment with source and target interchanged
|
Vector_ |
Vector_.sum(Vector_ v)
Return the vector sum (v+u), where u is the current vector
|
Vector_ |
Segment_.toVector()
returns the vector s.target() - s.source()
|
Vector_ |
Segment_2.toVector()
returns the vector s.target() - s.source()
|
Vector_ |
Segment_3.toVector()
returns the vector s.target() - s.source()
|
Modifier and Type | Method and Description |
---|---|
Vector_3 |
Vector_3.crossProduct(Vector_ b) |
Vector_3 |
Vector_3.difference(Vector_ v) |
Vector_2 |
Vector_2.difference(Vector_ v) |
Vector_ |
Vector_.difference(Vector_ v)
Return the vector difference (v-u), where u is the current vector
|
boolean |
Vector_3.equals(Vector_ v) |
boolean |
Vector_2.equals(Vector_ v) |
boolean |
Vector_.equals(Vector_ v)
Check equality between two vectors
|
java.lang.Number |
Vector_3.innerProduct(Vector_ v) |
java.lang.Number |
Vector_2.innerProduct(Vector_ v) |
java.lang.Number |
Vector_.innerProduct(Vector_ v)
Return the inner product of two vectors
|
Point_2 |
Point_2.sum(Vector_ v) |
Vector_3 |
Vector_3.sum(Vector_ v) |
Point_3 |
Point_3.sum(Vector_ v) |
Vector_2 |
Vector_2.sum(Vector_ v) |
Vector_ |
Vector_.sum(Vector_ v)
Return the vector sum (v+u), where u is the current vector
|
void |
Point_2.translateOf(Vector_ v) |
void |
Point_d.translateOf(Vector_ v)
Translate the current position of vector v
|
void |
Point_.translateOf(Vector_ v)
Translate the current point according to a vector v
|
void |
Point_3.translateOf(Vector_ v) |
Modifier and Type | Method and Description |
---|---|
Vector_ |
SpringDrawing_2.computeAttractiveForce(int vertex) |
Vector_ |
SpringDrawing_3.computeAttractiveForce(int vertex) |
Vector_ |
SpringDrawing_2.computeRepulsiveForce(int vertex) |
Vector_ |
SpringDrawing_3.computeRepulsiveForce(int vertex) |