public class Screw extends Object
Constructor and Description |
---|
Screw(Screw screw)
Build a copy of a screw.
|
Screw(Vector3D inOrigin,
Vector3D inTranslation,
Vector3D inRotation)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static Screw |
displace(Screw s,
Vector3D newOrigin)
Displace this screw, using Chasles
|
Screw |
displace(Vector3D newOrigin)
Displace this screw, using Chasles
|
Vector3D |
getOrigin() |
Vector3D |
getRotation() |
Vector3D |
getTranslation() |
Screw |
sum(Screw screw)
Calculate the sum of this and screw, expressed in this objects origin.
|
static Screw |
sum(Screw s1,
Screw s2)
Calculate the sum of this and screw, expressed in this objects origin.
|
String |
toString()
Get a String representation of this screw.
|
public Screw(Screw screw)
screw
- screwpublic static Screw sum(Screw s1, Screw s2)
s1
- screw.s2
- screw.public static Screw displace(Screw s, Vector3D newOrigin)
s
- screwnewOrigin
- new origin for spublic Screw sum(Screw screw)
screw
- screw to add to this.public Screw displace(Vector3D newOrigin)
newOrigin
- new origin for current objectpublic Vector3D getOrigin()
public Vector3D getTranslation()
public Vector3D getRotation()
Copyright © 2019 CNES. All rights reserved.