/** * Gets the point and direction defining this line by storing their components in the given * arguments {@code pointToPack} and {@code directionToPack}. * * @param pointToPack point in which the coordinates of this line's point are stored. Modified. * @param directionToPack vector in which the components of this line's direction are stored. * Modified. * @throws ReferenceFrameMismatchException if {@code pointToPack} is not expressed in the same * reference frame as this frame line 2D. */ default void get(FixedFramePoint2DBasics pointToPack, Vector2DBasics directionToPack) { checkReferenceFrameMatch(pointToPack); Line2DReadOnly.super.get(pointToPack, directionToPack); }
/** * Gets the point and direction defining this line by storing their components in the given * arguments {@code pointToPack} and {@code directionToPack}. * * @param pointToPack point in which the coordinates of this line's point are stored. Modified. * @param directionToPack vector in which the components of this line's direction are stored. * Modified. * @throws ReferenceFrameMismatchException if {@code directionToPack} is not expressed in the * same reference frame as this frame line 2D. */ default void get(Point2DBasics pointToPack, FixedFrameVector2DBasics directionToPack) { checkReferenceFrameMatch(directionToPack); Line2DReadOnly.super.get(pointToPack, directionToPack); }
/** * Gets the point and direction defining this line by storing their components in the given * arguments {@code pointToPack} and {@code directionToPack}. * * @param pointToPack point in which the coordinates of this line's point are stored. Modified. * @param directionToPack vector in which the components of this line's direction are stored. * Modified. */ default void get(Point2DBasics pointToPack, FrameVector2DBasics directionToPack) { directionToPack.setReferenceFrame(getReferenceFrame()); Line2DReadOnly.super.get(pointToPack, directionToPack); }
/** * Gets the point and direction defining this line by storing their components in the given * arguments {@code pointToPack} and {@code directionToPack}. * * @param pointToPack point in which the coordinates of this line's point are stored. Modified. * @param directionToPack vector in which the components of this line's direction are stored. * Modified. */ default void get(FramePoint2DBasics pointToPack, Vector2DBasics directionToPack) { pointToPack.setReferenceFrame(getReferenceFrame()); Line2DReadOnly.super.get(pointToPack, directionToPack); }
/** * Gets the point and direction defining this line by storing their components in the given * arguments {@code pointToPack} and {@code directionToPack}. * * @param pointToPack point in which the coordinates of this line's point are stored. Modified. * @param directionToPack vector in which the components of this line's direction are stored. * Modified. * @throws ReferenceFrameMismatchException if either argument is not expressed in the same * reference frame as this frame line 2D. */ default void get(FixedFramePoint2DBasics pointToPack, FixedFrameVector2DBasics directionToPack) { checkReferenceFrameMatch(pointToPack); checkReferenceFrameMatch(directionToPack); Line2DReadOnly.super.get(pointToPack, directionToPack); }
/** * Gets the point and direction defining this line by storing their components in the given * arguments {@code pointToPack} and {@code directionToPack}. * * @param pointToPack point in which the coordinates of this line's point are stored. Modified. * @param directionToPack vector in which the components of this line's direction are stored. * Modified. */ default void get(FramePoint2DBasics pointToPack, FrameVector2DBasics directionToPack) { pointToPack.setReferenceFrame(getReferenceFrame()); directionToPack.setReferenceFrame(getReferenceFrame()); Line2DReadOnly.super.get(pointToPack, directionToPack); }