public interface PositionFactory
Factory for creating positions in Cartesian space (relative to a reference coordinate system).
The factory can, for example, be used to:PoseFactory.createPose(Position, Rotation)
.
PayloadNodeConfigFactory.createCustomParametersConfig(Mass, Position)
.
PayloadContributionModel
interface (e.g. using the method
PayloadContributionModel.addPayload(String, String, Mass, Position, InertiaMatrix)
).
Modifier and Type | Method and Description |
---|---|
Position |
createPosition(double x,
double y,
double z,
Length.Unit lengthUnit)
Creates an object representing a Cartesian position with the specified coordinates.
|
Position createPosition(double x, double y, double z, Length.Unit lengthUnit)
x
- X coordinate of the Cartesian positiony
- Y coordinate of the Cartesian positionz
- Z coordinate of the Cartesian positionlengthUnit
- Length unit for the specified coordinatesCopyright © 2023. All rights reserved.