public interface StaticTransform extends TimeStamped
Transform
Modifier and Type | Method and Description |
---|---|
static StaticTransform |
compose(AbsoluteDate date,
StaticTransform first,
StaticTransform second)
Build a transform by combining two existing ones.
|
static org.hipparchus.geometry.euclidean.threed.Rotation |
compositeRotation(StaticTransform first,
StaticTransform second)
Compute a composite rotation.
|
static org.hipparchus.geometry.euclidean.threed.Vector3D |
compositeTranslation(StaticTransform first,
StaticTransform second)
Compute a composite translation.
|
static StaticTransform |
getIdentity()
Get the identity static transform.
|
StaticTransform |
getInverse()
Get the inverse transform of the instance.
|
org.hipparchus.geometry.euclidean.threed.Rotation |
getRotation()
Get the underlying elementary rotation.
|
org.hipparchus.geometry.euclidean.threed.Vector3D |
getTranslation()
Get the underlying elementary translation.
|
static StaticTransform |
of(AbsoluteDate date,
org.hipparchus.geometry.euclidean.threed.Rotation rotation)
Create a new static transform from a rotation and zero translation.
|
static StaticTransform |
of(AbsoluteDate date,
org.hipparchus.geometry.euclidean.threed.Vector3D translation)
Create a new static transform from a translation and rotation.
|
static StaticTransform |
of(AbsoluteDate date,
org.hipparchus.geometry.euclidean.threed.Vector3D translation,
org.hipparchus.geometry.euclidean.threed.Rotation rotation)
Create a new static transform from a translation and rotation.
|
default org.hipparchus.geometry.euclidean.threed.Line |
transformLine(org.hipparchus.geometry.euclidean.threed.Line line)
Transform a line.
|
default <T extends org.hipparchus.CalculusFieldElement<T>> |
transformPosition(org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> position)
Transform a position vector (including translation effects).
|
default org.hipparchus.geometry.euclidean.threed.Vector3D |
transformPosition(org.hipparchus.geometry.euclidean.threed.Vector3D position)
Transform a position vector (including translation effects).
|
default <T extends org.hipparchus.CalculusFieldElement<T>> |
transformVector(org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> vector)
Transform a vector (ignoring translation effects).
|
default org.hipparchus.geometry.euclidean.threed.Vector3D |
transformVector(org.hipparchus.geometry.euclidean.threed.Vector3D vector)
Transform a vector (ignoring translation effects).
|
durationFrom, getDate
static StaticTransform getIdentity()
default org.hipparchus.geometry.euclidean.threed.Vector3D transformPosition(org.hipparchus.geometry.euclidean.threed.Vector3D position)
position
- vector to transformdefault <T extends org.hipparchus.CalculusFieldElement<T>> org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> transformPosition(org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> position)
T
- the type of the field elementsposition
- vector to transformdefault org.hipparchus.geometry.euclidean.threed.Vector3D transformVector(org.hipparchus.geometry.euclidean.threed.Vector3D vector)
vector
- vector to transformdefault <T extends org.hipparchus.CalculusFieldElement<T>> org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> transformVector(org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> vector)
T
- the type of the field elementsvector
- vector to transformdefault org.hipparchus.geometry.euclidean.threed.Line transformLine(org.hipparchus.geometry.euclidean.threed.Line line)
line
- to transformorg.hipparchus.geometry.euclidean.threed.Vector3D getTranslation()
A transform can be uniquely represented as an elementary translation followed by an elementary rotation. This method returns this unique elementary translation.
org.hipparchus.geometry.euclidean.threed.Rotation getRotation()
A transform can be uniquely represented as an elementary translation followed by an elementary rotation. This method returns this unique elementary rotation.
StaticTransform getInverse()
static StaticTransform compose(AbsoluteDate date, StaticTransform first, StaticTransform second)
Note that the dates of the two existing transformed are ignored, and the combined transform date is set to the date supplied in this constructor without any attempt to shift the raw transforms. This is a design choice allowing user full control of the combination.
date
- date of the transformfirst
- first transform appliedsecond
- second transform appliedfirst
, then second
.of(AbsoluteDate, Vector3D, Rotation)
static org.hipparchus.geometry.euclidean.threed.Vector3D compositeTranslation(StaticTransform first, StaticTransform second)
first
- first applied transformsecond
- second applied transformstatic org.hipparchus.geometry.euclidean.threed.Rotation compositeRotation(StaticTransform first, StaticTransform second)
first
- first applied transformsecond
- second applied transformstatic StaticTransform of(AbsoluteDate date, org.hipparchus.geometry.euclidean.threed.Rotation rotation)
date
- of translation.rotation
- to apply after the translation. That is after translating
applying this rotation produces positions expressed in
the new frame.of(AbsoluteDate, Vector3D, Rotation)
static StaticTransform of(AbsoluteDate date, org.hipparchus.geometry.euclidean.threed.Vector3D translation)
date
- of translation.translation
- to apply, expressed in the old frame. That is, the
opposite of the coordinates of the new origin in the
old frame.of(AbsoluteDate, Vector3D, Rotation)
static StaticTransform of(AbsoluteDate date, org.hipparchus.geometry.euclidean.threed.Vector3D translation, org.hipparchus.geometry.euclidean.threed.Rotation rotation)
date
- of translation.translation
- to apply, expressed in the old frame. That is, the
opposite of the coordinates of the new origin in the
old frame.rotation
- to apply after the translation. That is after
translating applying this rotation produces positions
expressed in the new frame.compose(AbsoluteDate, StaticTransform, StaticTransform)
,
of(AbsoluteDate, Rotation)
,
of(AbsoluteDate, Vector3D)
Copyright © 2002-2023 CS GROUP. All rights reserved.