Is first object strictly right of second? Available for point, box, polygon, circle.ĭoes first object not extend to the left of second? Available for box, polygon, circle.īox '(3,3),(0,0)' &> box '(2,2),(0,0)' → t Geometric_type > geometric_type → boolean Geometric_type & geometric_type → booleanĭo these objects overlap? (One point in common makes this true.) Available for box, polygon, circle.īox '(1,1),(0,0)' & box '(2,2),(0,0)' → t Available for all geometric types except polygon, for all combinations of point with another geometric type, and for these additional pairs of types: ( box, lseg), ( lseg, line), ( polygon, circle) (and the commutator cases).ĭoes first object contain second? Available for these pairs of types: ( box, point), ( box, box), ( path, point), ( polygon, point), ( polygon, polygon), ( circle, point), ( circle, circle). Geometric_type geometric_type → double precisionĬomputes the distance between the objects. Available for these pairs of types: ( point, box), ( point, lseg), ( point, line), ( lseg, box), ( lseg, lseg), ( line, lseg). Lseg '' # lseg '' → (0.5,0.5)Ĭomputes the intersection of two boxes, or NULL if there is none.īox '(2,2),(-1,-1)' # box '(1,1),(-2,-2)' → (1,1),(-1,-1)Ĭomputes the closest point to the first object on the second object. Available for path, polygon.Ĭomputes the point of intersection, or NULL if there is none. Available for lseg, path '' → geometric_type → pointĬomputes the center point. If one interprets the second point as a vector, this is equivalent to scaling the object's size and distance from the origin down by the length of the vector, and rotating it clockwise around the origin by the vector's angle from the x axis. If one interprets the second point as a vector, this is equivalent to scaling the object's size and distance from the origin by the length of the vector, and rotating it counterclockwise around the origin by the vector's angle from the x axis. Multiplies each point of the first argument by the second point (treating a point as being a complex number represented by real and imaginary parts, and performing standard complex multiplication). Subtracts the coordinates of the second point from those of each point of the first argument, thus performing translation. Available for point, box, path, circle.īox '(1,1),(0,0)' + point '(2,0)' → (3,1),(2,0)Ĭoncatenates two open paths (returns NULL if either path is closed). Adds the coordinates of the second point to those of each point of the first argument, thus performing translation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |