Remove C++ escaping from *Py.xml templates
Now all escaping required for the C++ code generation is done when the .cpp/.h files are generated. Previously, only newlines were escaped automatically. This was a) inconsistent and b) leaked c++ details into the xml data. In addition, the escaping is now done in one central place, harmonizing the three previous implementations. Pre-existing c++ escape sequences in the XML files have been replaced by their literal equivalent so that the resulting python doc sting remains unchanged.
This commit is contained in:
@@ -60,13 +60,13 @@ Computes the normal of parameter (u,v) on this geometry</UserDocu>
|
||||
<UserDocu>
|
||||
Computes the projection of a point on the surface
|
||||
|
||||
projectPoint(Point=Vector,[Method=\"NearestPoint\"])
|
||||
projectPoint(Vector,\"NearestPoint\") -> Vector
|
||||
projectPoint(Vector,\"LowerDistance\") -> float
|
||||
projectPoint(Vector,\"LowerDistanceParameters\") -> tuple of floats (u,v)
|
||||
projectPoint(Vector,\"Distance\") -> list of floats
|
||||
projectPoint(Vector,\"Parameters\") -> list of tuples of floats
|
||||
projectPoint(Vector,\"Point\") -> list of points
|
||||
projectPoint(Point=Vector,[Method="NearestPoint"])
|
||||
projectPoint(Vector,"NearestPoint") -> Vector
|
||||
projectPoint(Vector,"LowerDistance") -> float
|
||||
projectPoint(Vector,"LowerDistanceParameters") -> tuple of floats (u,v)
|
||||
projectPoint(Vector,"Distance") -> list of floats
|
||||
projectPoint(Vector,"Parameters") -> list of tuples of floats
|
||||
projectPoint(Vector,"Point") -> list of points
|
||||
</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
|
||||
Reference in New Issue
Block a user