| 
|   | gp_Pnt2d () | 
|   | Creates a point with zero coordinates.  
  | 
|   | 
|   | gp_Pnt2d (const gp_XY &theCoord) | 
|   | Creates a point with a doublet of coordinates.  
  | 
|   | 
|   | gp_Pnt2d (const Standard_Real theXp, const Standard_Real theYp) | 
|   | Creates a point with its 2 cartesian's coordinates : theXp, theYp.  
  | 
|   | 
| void  | SetCoord (const Standard_Integer theIndex, const Standard_Real theXi) | 
|   | Assigns the value Xi to the coordinate that corresponds to theIndex: theIndex = 1 => X is modified theIndex = 2 => Y is modified Raises OutOfRange if theIndex != {1, 2}.  
  | 
|   | 
| void  | SetCoord (const Standard_Real theXp, const Standard_Real theYp) | 
|   | For this point, assigns the values theXp and theYp to its two coordinates.  
  | 
|   | 
| void  | SetX (const Standard_Real theX) | 
|   | Assigns the given value to the X coordinate of this point.  
  | 
|   | 
| void  | SetY (const Standard_Real theY) | 
|   | Assigns the given value to the Y coordinate of this point.  
  | 
|   | 
| void  | SetXY (const gp_XY &theCoord) | 
|   | Assigns the two coordinates of Coord to this point.  
  | 
|   | 
| Standard_Real  | Coord (const Standard_Integer theIndex) const | 
|   | Returns the coordinate of range theIndex : theIndex = 1 => X is returned theIndex = 2 => Y is returned Raises OutOfRange if theIndex != {1, 2}.  
  | 
|   | 
| void  | Coord (Standard_Real &theXp, Standard_Real &theYp) const | 
|   | For this point returns its two coordinates as a number pair.  
  | 
|   | 
| Standard_Real  | X () const | 
|   | For this point, returns its X coordinate.  
  | 
|   | 
| Standard_Real  | Y () const | 
|   | For this point, returns its Y coordinate.  
  | 
|   | 
| const gp_XY &  | XY () const | 
|   | For this point, returns its two coordinates as a number pair.  
  | 
|   | 
| const gp_XY &  | Coord () const | 
|   | For this point, returns its two coordinates as a number pair.  
  | 
|   | 
| gp_XY &  | ChangeCoord () | 
|   | Returns the coordinates of this point. Note: This syntax allows direct modification of the returned value.  
  | 
|   | 
| Standard_Boolean  | IsEqual (const gp_Pnt2d &theOther, const Standard_Real theLinearTolerance) const | 
|   | Comparison Returns True if the distance between the two points is lower or equal to theLinearTolerance.  
  | 
|   | 
| Standard_Real  | Distance (const gp_Pnt2d &theOther) const | 
|   | Computes the distance between two points.  
  | 
|   | 
| Standard_Real  | SquareDistance (const gp_Pnt2d &theOther) const | 
|   | Computes the square distance between two points.  
  | 
|   | 
| void  | Mirror (const gp_Pnt2d &theP) | 
|   | Performs the symmetrical transformation of a point with respect to the point theP which is the center of the symmetry.  
  | 
|   | 
| gp_Pnt2d  | Mirrored (const gp_Pnt2d &theP) const | 
|   | Performs the symmetrical transformation of a point with respect to an axis placement which is the axis.  
  | 
|   | 
| void  | Mirror (const gp_Ax2d &theA) | 
|   | 
| gp_Pnt2d  | Mirrored (const gp_Ax2d &theA) const | 
|   | 
| void  | Rotate (const gp_Pnt2d &theP, const Standard_Real theAng) | 
|   | Rotates a point. theA1 is the axis of the rotation. Ang is the angular value of the rotation in radians.  
  | 
|   | 
| gp_Pnt2d  | Rotated (const gp_Pnt2d &theP, const Standard_Real theAng) const | 
|   | 
| void  | Scale (const gp_Pnt2d &theP, const Standard_Real theS) | 
|   | Scales a point. theS is the scaling value.  
  | 
|   | 
| gp_Pnt2d  | Scaled (const gp_Pnt2d &theP, const Standard_Real theS) const | 
|   | 
| void  | Transform (const gp_Trsf2d &theT) | 
|   | Transforms a point with the transformation theT.  
  | 
|   | 
| gp_Pnt2d  | Transformed (const gp_Trsf2d &theT) const | 
|   | 
| void  | Translate (const gp_Vec2d &theV) | 
|   | Translates a point in the direction of the vector theV. The magnitude of the translation is the vector's magnitude.  
  | 
|   | 
| gp_Pnt2d  | Translated (const gp_Vec2d &theV) const | 
|   | 
| void  | Translate (const gp_Pnt2d &theP1, const gp_Pnt2d &theP2) | 
|   | Translates a point from the point theP1 to the point theP2.  
  | 
|   | 
| gp_Pnt2d  | Translated (const gp_Pnt2d &theP1, const gp_Pnt2d &theP2) const | 
|   | 
| void  | DumpJson (Standard_OStream &theOStream, Standard_Integer theDepth=-1) const | 
|   | Dumps the content of me into the stream.  
  | 
|   | 
Defines a non-persistent 2D cartesian point.