Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一些点可以形成一个圆圈。我想要每个点的另一个点,这样如果我们使用这两个点画一条线,这条线应该指向圆的中心。我有每个点相对于圆心的角度。为了清楚起见,我添加了一个快照。
让 DIST 成为你想要的圆心和你绘制的点之间的距离。然后,如果 ANGLE 是中心和外部点之间的角度(以弧度为单位)。
x= DIST * Math.cos(ANGLE), y= DIST * Math.sin(ANGLE)
我试图在下面的示例中放置一个标签,但表格显示在 tableWrapper div 之外,tableWrapper div 正确显示我想要但表格在它之外,我不明白我在做什么错,有人可以帮忙吗?:
//the buttons $html .= '<p><form method="post" action = "DBTest.php" > <input type="submi