public void setPointWithoutChecks(Point3d point) { line.setPoint(point); }
/** * Redefines this line with a new point and a new direction vector. * * @param point new point on this line. Not modified. * @param vector new direction of this line. Not modified. */ public void set(Point3d point, Vector3d vector) { setPoint(point); setVector(vector); }
/** * Redefines this line such that it goes through the two given points. * * @param firstPointOnLine first point on this line. Not modified. * @param secondPointOnLine second point on this line. Not modified. */ public void set(Point3d firstPointOnLine, Point3d secondPointOnLine) { setPoint(firstPointOnLine); normalizedVector.sub(secondPointOnLine, firstPointOnLine); normalizedVector.normalize(); }
public void setPoint(FramePoint point) { checkReferenceFrameMatch(point); line.setPoint(point.getPoint()); }