Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:在第一个Sample中也应该看不到才对啊。。。。,可是第一个Sample中却要输出来。。。

Posted by libanghui at 2005-10-06 21:50:34 on Problem 2571
In Reply To:在第一个Sample中也应该看不到才对啊。。。。,可是第一个Sample中却要输出来。。。 Posted by:huicpc16 at 2005-08-17 00:09:05
This is a standard 3D-geometry problem. A satellite is visible, if it is on the other side of the plane that touches the earth in the location of observation (tangential plane). This plane is best described by its normal vector, which is just the vector from the earth's center to the point of observation. To see, on which side of the plane the satellite is, amounts to calculate a scalar product of cartesian coordinates (which have to be calculated first). A common mistake is to take the vector from the center of the earth to a satellite instead of the vector from the location of observation to it. 


Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator