/** * Transforms the specified <code>ptSrc</code> and stores the result * in <code>ptDst</code>. * If <code>ptDst</code> is <code>null</code>, a new {@link Point2D} * object is allocated and then the result of the transformation is * stored in this object. * In either case, <code>ptDst</code>, which contains the * transformed point, is returned for convenience. * If <code>ptSrc</code> and <code>ptDst</code> are the same * object, the input point is correctly overwritten with * the transformed point. * @param ptSrc the specified <code>Point2D</code> to be transformed * @param ptDst the specified <code>Point2D</code> that stores the * result of transforming <code>ptSrc</code> * @return the <code>ptDst</code> after transforming * <code>ptSrc</code> and storing the result in <code>ptDst</code>. */ public final void transform(final Point2D ptSrc, final Point2D ptDst) { m_jso.transform(ptSrc.getJSO(), ptDst.getJSO()); }
/** * Transforms the specified <code>ptSrc</code> and stores the result * in <code>ptDst</code>. * If <code>ptDst</code> is <code>null</code>, a new {@link Point2D} * object is allocated and then the result of the transformation is * stored in this object. * In either case, <code>ptDst</code>, which contains the * transformed point, is returned for convenience. * If <code>ptSrc</code> and <code>ptDst</code> are the same * object, the input point is correctly overwritten with * the transformed point. * @param ptSrc the specified <code>Point2D</code> to be transformed * @param ptDst the specified <code>Point2D</code> that stores the * result of transforming <code>ptSrc</code> * @return the <code>ptDst</code> after transforming * <code>ptSrc</code> and storing the result in <code>ptDst</code>. */ public final void transform(Point2D ptSrc, Point2D ptDst) { m_jso.transform(ptSrc.getJSO(), ptDst.getJSO()); }
/** * Transforms the specified <code>ptSrc</code> and stores the result * in <code>ptDst</code>. * If <code>ptDst</code> is <code>null</code>, a new {@link Point2D} * object is allocated and then the result of the transformation is * stored in this object. * In either case, <code>ptDst</code>, which contains the * transformed point, is returned for convenience. * If <code>ptSrc</code> and <code>ptDst</code> are the same * object, the input point is correctly overwritten with * the transformed point. * @param ptSrc the specified <code>Point2D</code> to be transformed * @param ptDst the specified <code>Point2D</code> that stores the * result of transforming <code>ptSrc</code> * @return the <code>ptDst</code> after transforming * <code>ptSrc</code> and storing the result in <code>ptDst</code>. */ public final void transform(final Point2D ptSrc, final Point2D ptDst) { m_jso.transform(ptSrc.getJSO(), ptDst.getJSO()); }
/** * Transforms the specified <code>ptSrc</code> and stores the result * in <code>ptDst</code>. * If <code>ptDst</code> is <code>null</code>, a new {@link Point2D} * object is allocated and then the result of the transformation is * stored in this object. * In either case, <code>ptDst</code>, which contains the * transformed point, is returned for convenience. * If <code>ptSrc</code> and <code>ptDst</code> are the same * object, the input point is correctly overwritten with * the transformed point. * @param ptSrc the specified <code>Point2D</code> to be transformed * @param ptDst the specified <code>Point2D</code> that stores the * result of transforming <code>ptSrc</code> * @return the <code>ptDst</code> after transforming * <code>ptSrc</code> and storing the result in <code>ptDst</code>. */ public final void transform(final Point2D ptSrc, final Point2D ptDst) { m_jso.transform(ptSrc.getJSO(), ptDst.getJSO()); }