/** * Gets the endpoints defining this line segment by storing their coordinates in the given * arguments. * * @param firstEndpointToPack point in which the coordinates of this line segment's first endpoint * are stored. Modified. * @param secondEndpointToPack point in which the coordinates of this line segment's second endpoint * are stored. Modified. * @throws ReferenceFrameMismatchException if {@code this} and {@code firstEndpointToPack} are not * expressed in the same reference frame. */ default void get(FixedFramePoint3DBasics firstEndpointToPack, Point3DBasics secondEndpointToPack) { checkReferenceFrameMatch(firstEndpointToPack); LineSegment3DReadOnly.super.get(firstEndpointToPack, secondEndpointToPack); }
/** * Gets the endpoints defining this line segment by storing their coordinates in the given * arguments. * * @param firstEndpointToPack point in which the coordinates of this line segment's first endpoint * are stored. Modified. * @param secondEndpointToPack point in which the coordinates of this line segment's second endpoint * are stored. Modified. * @throws ReferenceFrameMismatchException if {@code this} and {@code secondEndpointToPack} are not * expressed in the same reference frame. */ default void get(Point3DBasics firstEndpointToPack, FixedFramePoint3DBasics secondEndpointToPack) { checkReferenceFrameMatch(secondEndpointToPack); LineSegment3DReadOnly.super.get(firstEndpointToPack, secondEndpointToPack); }
/** * Gets the endpoints defining this line segment by storing their coordinates in the given * arguments. * * @param firstEndpointToPack point in which the coordinates of this line segment's first endpoint * are stored. Modified. * @param secondEndpointToPack point in which the coordinates of this line segment's second endpoint * are stored. Modified. */ default void get(Point3DBasics firstEndpointToPack, FramePoint3DBasics secondEndpointToPack) { secondEndpointToPack.setReferenceFrame(getReferenceFrame()); LineSegment3DReadOnly.super.get(firstEndpointToPack, secondEndpointToPack); }
/** * Gets the endpoints defining this line segment by storing their coordinates in the given * arguments. * * @param firstEndpointToPack point in which the coordinates of this line segment's first endpoint * are stored. Modified. * @param secondEndpointToPack point in which the coordinates of this line segment's second endpoint * are stored. Modified. */ default void get(FramePoint3DBasics firstEndpointToPack, Point3DBasics secondEndpointToPack) { firstEndpointToPack.setReferenceFrame(getReferenceFrame()); LineSegment3DReadOnly.super.get(firstEndpointToPack, secondEndpointToPack); }
/** * Gets the endpoints defining this line segment by storing their coordinates in the given * arguments. * * @param firstEndpointToPack point in which the coordinates of this line segment's first endpoint * are stored. Modified. * @param secondEndpointToPack point in which the coordinates of this line segment's second endpoint * are stored. Modified. * @throws ReferenceFrameMismatchException if {@code this}, {@code firstEndpointToPack}, and * {@code secondEndpointToPack} are not expressed in the same reference frame. */ default void get(FixedFramePoint3DBasics firstEndpointToPack, FixedFramePoint3DBasics secondEndpointToPack) { checkReferenceFrameMatch(firstEndpointToPack); checkReferenceFrameMatch(secondEndpointToPack); LineSegment3DReadOnly.super.get(firstEndpointToPack, secondEndpointToPack); }
/** * Gets the endpoints defining this line segment by storing their coordinates in the given * arguments. * * @param firstEndpointToPack point in which the coordinates of this line segment's first endpoint * are stored. Modified. * @param secondEndpointToPack point in which the coordinates of this line segment's second endpoint * are stored. Modified. */ default void get(FramePoint3DBasics firstEndpointToPack, FramePoint3DBasics secondEndpointToPack) { firstEndpointToPack.setReferenceFrame(getReferenceFrame()); secondEndpointToPack.setReferenceFrame(getReferenceFrame()); LineSegment3DReadOnly.super.get(firstEndpointToPack, secondEndpointToPack); }