Coord
Coord
or other geometric element. The order of the coordinates is significant and they are sometimes identified by their position in an ordered tuple and sometimes by a letter, as in 'the x-coordinate'. there are 3 coordinate system 1.Cartesian 2.polar 3.homogenuos A Cartesian coordinate system specifies each point uniquely in a plane by a pair of numerical coordinates, In the plane, two perpendicular lines are chosen and the coordinates of a point are taken to be the signed distances to the lines. Each reference line is called a coordinate axis or just axis of the system, and the point where they meet is its origin, usually at ordered pair (0,0). In three dimensions, three perpendicular planes are chosen and the three coordinates of a point are the signed distances to each of the planes. This can be generalized to create n coordinates for any point inndimensional Euclidean space. They are the most common coordinate system used in computer graphics,
A point in the plane may be represented in homogeneous coordinates by a triple (x, y, z) where x/z and y/z are the Cartesian coordinates of the point. In general, a homogeneous coordinate system is one where only the ratios of the coordinates are significant and not the actual values. H coordinates used in projective geometry much as Cartesian coordinates are used in Euclidean geometry. They have the advantage that the coordinates of points, including points at infinity, can be represented using finite coordinates. Formulas involving homogeneous coordinates are often simpler and more symmetric than their Cartesian counterparts. To summarize: Any point in the projective plane is represented by a triple (X, Y, Z), called the homogeneous coordinates of the point, where X, Y and Z are not all 0. The point represented by a given set of homogeneous coordinates is unchanged if the coordinates are multiplied by a common factor. Conversely, two sets of homogeneous coordinates represent the same point if and only if one is obtained from the other by multiplying by a common factor. When Z is not 0 the point represented is the point (X/Z, Y/Z) in the Euclidean plane. When Z is 0 the point represented is a point at infinity.
Note that the triple (0, 0, 0) is omitted and does not represent any point. The origin is represented by (0, 0, 1