+
    i                     d    ^ RI Ht ^ RIHt ^ RIHt ^ RIHt ^ RIH	t	 ^ RI
Ht  ! R R]4      tR	# )
    )Basic)Str)Vector)
CoordSys3D)_path)cacheitc                   t   a a ] tR t^	t oRt]P                  R3V 3R llt]R 4       t	R t
R tR tRtVtV ;t# )	Pointz"
Represents a point in 3-D space.
Nc                  < \        V4      p\        V\        4      '       g   \        R \	        V4      ,          4      h\        V\
        4      '       g    Ve   \        R\	        V4      ,          4      hVf   \        SV `  V \        V4      V4      pM\        SV `  V \        V4      W#4      pWn	        W$n
        Vf   RVn        WDn        V# W4n        VP                  Vn        V# )z0position should be an instance of Vector, not %sNz3parent_point should be an instance of Point, not %s)str
isinstancer   	TypeErrortyper
   super__new__r   _name_pos_parent_root)clsnamepositionparent_pointobj	__class__s   &&&& P/var/www/html/photoedit/myenv/lib/python3.14/site-packages/sympy/vector/point.pyr   Point.__new__   s    4y(F++BTF   <//(E I" "# # '/#s4y(;C'/#s4y(IC	CKI
 
 'K$**CI
    c                   \        V\        4      '       g2   \        V\        4      '       g   \        \	        V4      R,           4      h\        V\        4      '       d   VP
                  pW8X  d   \        P                  # WP                  8X  d   V P                  # VP                  V 8X  d   RVP                  ,          # \        W4      w  r#\        P                  p\        V4       F  pWCV,          P                  ,          pK  	  \        V^,           \        V4      4       F  pWCV,          P                  ,          pK  	  V# )a  
Returns the position vector of this Point with respect to
another Point/CoordSys3D.

Parameters
==========

other : Point/CoordSys3D
    If other is a Point, the position of this Point wrt it is
    returned. If its an instance of CoordSyRect, the position
    wrt its origin is returned.

Examples
========

>>> from sympy.vector import CoordSys3D
>>> N = CoordSys3D('N')
>>> p1 = N.origin.locate_new('p1', 10 * N.i)
>>> N.origin.position_wrt(p1)
(-10)*N.i

zis not a Point or CoordSys3D)r   r
   r   r   r   originr   zeror   r   r   rangelen)selfother	rootindexpathresultis   &&    r   position_wrtPoint.position_wrt+   s    2 5%((uj11CJ:; < <eZ((LLE=;;ll"99]]d"

?",	y!A1gll"F "y1}c$i0A1gll"F 1r   c                    \        WV 4      # )a  
Returns a new Point located at the given position wrt this
Point.
Thus, the position vector of the new Point wrt this one will
be equal to the given 'position' parameter.

Parameters
==========

name : str
    Name of the new point

position : Vector
    The position vector of the new Point wrt this one

Examples
========

>>> from sympy.vector import CoordSys3D
>>> N = CoordSys3D('N')
>>> p1 = N.origin.locate_new('p1', 10 * N.i)
>>> p1.position_wrt(N.origin)
10*N.i

)r
   )r%   r   r   s   &&&r   
locate_newPoint.locate_newZ   s    4 TT**r   c                l    V P                  VP                  4      p\        VP                  V4      4      # )a  
Returns the Cartesian/rectangular coordinates of this point
wrt the origin of the given CoordSys3D instance.

Parameters
==========

coordinate_system : CoordSys3D
    The coordinate system to express the coordinates of this
    Point in.

Examples
========

>>> from sympy.vector import CoordSys3D
>>> N = CoordSys3D('N')
>>> p1 = N.origin.locate_new('p1', 10 * N.i)
>>> p2 = p1.locate_new('p2', 5 * N.j)
>>> p2.express_coordinates(N)
(10, 5, 0)

)r+   r!   tuple	to_matrix)r%   coordinate_systempos_vects   && r   express_coordinatesPoint.express_coordinatesv   s2    2 $$%6%=%=>X''(9:;;r   c                    V P                   # )N)r   )r%   printers   &&r   	_sympystrPoint._sympystr   s    zzr    )__name__
__module____qualname____firstlineno____doc__r   r"   r   r   r+   r.   r5   r9   __static_attributes____classdictcell____classcell__)r   __classdict__s   @@r   r
   r
   	   sC      %+KKd : , ,\+8<: r   r
   N)sympy.core.basicr   sympy.core.symbolr   sympy.vector.vectorr   sympy.vector.coordsysrectr   sympy.vector.functionsr   sympy.core.cacher   r
   r;   r   r   <module>rK      s%    " ! & 0 ( $KE Kr   