This cleans up the XML bindings for Part in preparation for an upcoming migration to Python bindings model.
104 lines
4.2 KiB
XML
104 lines
4.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
|
|
<PythonExport
|
|
Father="PyObjectBase"
|
|
Name="PointConstraintPy"
|
|
PythonName="Part.GeomPlate.PointConstraintPy"
|
|
Twin="GeomPlate_PointConstraint"
|
|
TwinPointer="GeomPlate_PointConstraint"
|
|
Include="GeomPlate_PointConstraint.hxx"
|
|
Namespace="Part"
|
|
FatherInclude="Base/PyObjectBase.h"
|
|
FatherNamespace="Base"
|
|
Constructor="true"
|
|
Delete="true">
|
|
<Documentation>
|
|
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
|
|
<UserDocu>Defines points as constraints to be used to deform a surface</UserDocu>
|
|
</Documentation>
|
|
<Methode Name="setOrder">
|
|
<Documentation>
|
|
<UserDocu>Allows you to set the order of continuity required for
|
|
the constraints: G0, G1, and G2, controlled
|
|
respectively by G0Criterion G1Criterion and G2Criterion.
|
|
</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="order">
|
|
<Documentation>
|
|
<UserDocu>Returns the order of constraint, one of G0, G1 or G2</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="G0Criterion">
|
|
<Documentation>
|
|
<UserDocu>Returns the G0 criterion at the parametric point U on
|
|
the curve. This is the greatest distance allowed between
|
|
the constraint and the target surface at U.
|
|
</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="G1Criterion">
|
|
<Documentation>
|
|
<UserDocu>Returns the G1 criterion at the parametric point U on
|
|
the curve. This is the greatest angle allowed between
|
|
the constraint and the target surface at U.
|
|
Raises an exception if the curve is not on a surface.
|
|
</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="G2Criterion">
|
|
<Documentation>
|
|
<UserDocu>Returns the G2 criterion at the parametric point U on
|
|
the curve. This is the greatest difference in curvature
|
|
allowed between the constraint and the target surface at U.
|
|
Raises an exception if the curve is not on a surface.
|
|
</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="setG0Criterion">
|
|
<Documentation>
|
|
<UserDocu>Allows you to set the G0 criterion. This is the law
|
|
defining the greatest distance allowed between the
|
|
constraint and the target surface for each point of the
|
|
constraint. If this criterion is not set, TolDist, the
|
|
distance tolerance from the constructor, is used.
|
|
</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="setG1Criterion">
|
|
<Documentation>
|
|
<UserDocu>Allows you to set the G1 criterion. This is the law
|
|
defining the greatest angle allowed between the
|
|
constraint and the target surface. If this criterion is not
|
|
set, TolAng, the angular tolerance from the constructor, is used.
|
|
Raises an exception if the curve is not on a surface
|
|
</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="setG2Criterion">
|
|
<Documentation>
|
|
<UserDocu>Allows you to set the G2 criterion. This is the law
|
|
defining the greatest difference in curvature allowed between the
|
|
constraint and the target surface. If this criterion is not
|
|
set, TolCurv, the curvature tolerance from the constructor, is used.
|
|
Raises ConstructionError if the curve is not on a surface</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="hasPnt2dOnSurf">
|
|
<Documentation>
|
|
<UserDocu>Checks if there is a 2D point associated with the surface. It returns a boolean indicating whether such a point exists.</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="setPnt2dOnSurf">
|
|
<Documentation>
|
|
<UserDocu>Allows you to set a 2D point on the surface. It takes a gp_Pnt2d as an argument, representing the 2D point to be associated with the surface.</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="pnt2dOnSurf">
|
|
<Documentation>
|
|
<UserDocu>Returns the 2D point on the surface. It returns a gp_Pnt2d representing the associated 2D point.</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
</PythonExport>
|
|
</GenerateModel>
|