set non-modifying functions of Python wrappers as const

This commit is contained in:
wmayer
2019-01-13 15:45:32 +01:00
parent d0d2a05941
commit b357d530ef
17 changed files with 147 additions and 147 deletions

View File

@@ -84,7 +84,7 @@ of this B-Spline curve.</UserDocu>
</Documentation>
<Parameter Name="KnotSequence" Type="List"/>
</Attribute>
<Methode Name="isRational">
<Methode Name="isRational" Const="true">
<Documentation>
<UserDocu>
Returns true if this B-Spline curve is rational.
@@ -93,12 +93,12 @@ of this B-Spline curve.</UserDocu>
</UserDocu>
</Documentation>
</Methode>
<Methode Name="isPeriodic">
<Methode Name="isPeriodic" Const="true">
<Documentation>
<UserDocu>Returns true if this BSpline curve is periodic.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isClosed">
<Methode Name="isClosed" Const="true">
<Documentation>
<UserDocu>
Returns true if the distance between the start point and end point of
@@ -198,7 +198,7 @@ done if Degree is less than or equal to the current degree.</UserDocu>
<UserDocu>Set a knot of the B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getKnot">
<Methode Name="getKnot" Const="true">
<Documentation>
<UserDocu>Get a knot of the B-Spline curve.</UserDocu>
</Documentation>
@@ -208,7 +208,7 @@ done if Degree is less than or equal to the current degree.</UserDocu>
<UserDocu>Set knots of the B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getKnots">
<Methode Name="getKnots" Const="true">
<Documentation>
<UserDocu>Get all knots of the B-Spline curve.</UserDocu>
</Documentation>
@@ -219,12 +219,12 @@ done if Degree is less than or equal to the current degree.</UserDocu>
to the pole of index Index in the poles table.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPole">
<Methode Name="getPole" Const="true">
<Documentation>
<UserDocu>Get a pole of the B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPoles">
<Methode Name="getPoles" Const="true">
<Documentation>
<UserDocu>Get all poles of the B-Spline curve.</UserDocu>
</Documentation>
@@ -234,17 +234,17 @@ to the pole of index Index in the poles table.</UserDocu>
<UserDocu>Set a weight of the B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getWeight">
<Methode Name="getWeight" Const="true">
<Documentation>
<UserDocu>Get a weight of the B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getWeights">
<Methode Name="getWeights" Const="true">
<Documentation>
<UserDocu>Get all weights of the B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPolesAndWeights">
<Methode Name="getPolesAndWeights" Const="true">
<Documentation>
<UserDocu>Returns the table of poles and weights in homogenous ccordinates.</UserDocu>
</Documentation>
@@ -288,13 +288,13 @@ as the origin of this periodic B-Spline curve. As a consequence,
the knots and poles tables are modified.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getMultiplicity">
<Methode Name="getMultiplicity" Const="true">
<Documentation>
<UserDocu>Returns the multiplicity of the knot of index
from the knots table of this B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getMultiplicities">
<Methode Name="getMultiplicities" Const="true">
<Documentation>
<UserDocu>
Returns the multiplicities table M of the knots of this B-Spline curve.
@@ -335,7 +335,7 @@ from the knots table of this B-Spline curve.</UserDocu>
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getCardinalSplineTangents" Keyword="true">
<Methode Name="getCardinalSplineTangents" Keyword="true" Const="true">
<Documentation>
<UserDocu>Compute the tangents for a Cardinal spline</UserDocu>
</Documentation>
@@ -412,14 +412,14 @@ from the knots table of this B-Spline curve.</UserDocu>
</UserDocu>
</Documentation>
</Methode>
<Methode Name="toBezier">
<Methode Name="toBezier" Const="true">
<Documentation>
<UserDocu>
Build a list of Bezier splines.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="toBiArcs">
<Methode Name="toBiArcs" Const="true">
<Documentation>
<UserDocu>
Build a list of arcs and lines to approximate the b-spline.

View File

@@ -159,14 +159,14 @@
</Documentation>
<Parameter Name="VKnotSequence" Type="List"/>
</Attribute>
<Methode Name="bounds">
<Methode Name="bounds" Const="true">
<Documentation>
<UserDocu>
Returns the parametric bounds (U1, U2, V1, V2) of this B-Spline surface.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="isURational">
<Methode Name="isURational" Const="true">
<Documentation>
<UserDocu>
Returns false if the equation of this B-Spline surface is polynomial
@@ -176,7 +176,7 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="isVRational">
<Methode Name="isVRational" Const="true">
<Documentation>
<UserDocu>
Returns false if the equation of this B-Spline surface is polynomial
@@ -186,17 +186,17 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="isUPeriodic">
<Methode Name="isUPeriodic" Const="true">
<Documentation>
<UserDocu>Returns true if this surface is periodic in the u parametric direction.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isVPeriodic">
<Methode Name="isVPeriodic" Const="true">
<Documentation>
<UserDocu>Returns true if this surface is periodic in the v parametric direction.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isUClosed">
<Methode Name="isUClosed" Const="true">
<Documentation>
<UserDocu>
Checks if this surface is closed in the u parametric direction.
@@ -205,7 +205,7 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="isVClosed">
<Methode Name="isVClosed" Const="true">
<Documentation>
<UserDocu>
Checks if this surface is closed in the v parametric direction.
@@ -347,7 +347,7 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getUKnot">
<Methode Name="getUKnot" Const="true">
<Documentation>
<UserDocu>
Returns, for this B-Spline surface, in the u parametric direction
@@ -355,7 +355,7 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getVKnot">
<Methode Name="getVKnot" Const="true">
<Documentation>
<UserDocu>
Returns, for this B-Spline surface, in the v parametric direction
@@ -379,7 +379,7 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getUKnots">
<Methode Name="getUKnots" Const="true">
<Documentation>
<UserDocu>
Returns, for this B-Spline surface, the knots table
@@ -387,7 +387,7 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getVKnots">
<Methode Name="getVKnots" Const="true">
<Documentation>
<UserDocu>
Returns, for this B-Spline surface, the knots table
@@ -430,14 +430,14 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPole">
<Methode Name="getPole" Const="true">
<Documentation>
<UserDocu>
Returns the pole of index (UIndex,VIndex) of this B-Spline surface.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPoles">
<Methode Name="getPoles" Const="true">
<Documentation>
<UserDocu>Returns the table of poles of this B-Spline surface.</UserDocu>
</Documentation>
@@ -479,7 +479,7 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getWeight">
<Methode Name="getWeight" Const="true">
<Documentation>
<UserDocu>
Return the weight of the pole of index (UIndex,VIndex)
@@ -487,12 +487,12 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getWeights">
<Methode Name="getWeights" Const="true">
<Documentation>
<UserDocu>Returns the table of weights of the poles for this B-Spline surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPolesAndWeights">
<Methode Name="getPolesAndWeights" Const="true">
<Documentation>
<UserDocu>Returns the table of poles and weights in homogenous ccordinates.</UserDocu>
</Documentation>
@@ -623,7 +623,7 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getUMultiplicity">
<Methode Name="getUMultiplicity" Const="true">
<Documentation>
<UserDocu>
Returns, for this B-Spline surface, the multiplicity of
@@ -631,7 +631,7 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getVMultiplicity">
<Methode Name="getVMultiplicity" Const="true">
<Documentation>
<UserDocu>
Returns, for this B-Spline surface, the multiplicity of
@@ -639,7 +639,7 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getUMultiplicities">
<Methode Name="getUMultiplicities" Const="true">
<Documentation>
<UserDocu>
Returns, for this B-Spline surface, the table of
@@ -647,7 +647,7 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getVMultiplicities">
<Methode Name="getVMultiplicities" Const="true">
<Documentation>
<UserDocu>
Returns, for this B-Spline surface, the table of
@@ -668,12 +668,12 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="uIso">
<Methode Name="uIso" Const="true">
<Documentation>
<UserDocu>Builds the U isoparametric B-Spline curve of this B-Spline surface</UserDocu>
</Documentation>
</Methode>
<Methode Name="vIso">
<Methode Name="vIso" Const="true">
<Documentation>
<UserDocu>Builds the V isoparametric B-Spline curve of this B-Spline surface</UserDocu>
</Documentation>

View File

@@ -64,17 +64,17 @@ Bezier curve curve. This value is 25.</UserDocu>
</Documentation>
<Parameter Name="EndPoint" Type="Object"/>
</Attribute>
<Methode Name="isRational">
<Methode Name="isRational" Const="true">
<Documentation>
<UserDocu>Returns false if the weights of all the poles of this Bezier curve are equal.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isPeriodic">
<Methode Name="isPeriodic" Const="true">
<Documentation>
<UserDocu>Returns false.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isClosed">
<Methode Name="isClosed" Const="true">
<Documentation>
<UserDocu>Returns true if the distance between the start point and end point of
this Bezier curve is less than or equal to gp::Resolution().
@@ -114,12 +114,12 @@ If this Bezier curve is rational, it can become non-rational.</UserDocu>
<UserDocu>Set a pole of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPole">
<Methode Name="getPole" Const="true">
<Documentation>
<UserDocu>Get a pole of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPoles">
<Methode Name="getPoles" Const="true">
<Documentation>
<UserDocu>Get all poles of the Bezier curve.</UserDocu>
</Documentation>
@@ -137,12 +137,12 @@ If this Bezier curve is rational, it can become non-rational.</UserDocu>
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getWeight">
<Methode Name="getWeight" Const="true">
<Documentation>
<UserDocu>Get a weight of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getWeights">
<Methode Name="getWeights" Const="true">
<Documentation>
<UserDocu>Get all weights of the Bezier curve.</UserDocu>
</Documentation>

View File

@@ -61,14 +61,14 @@
</Documentation>
<Parameter Name="NbVPoles" Type="Long"/>
</Attribute>
<Methode Name="bounds">
<Methode Name="bounds" Const="true">
<Documentation>
<UserDocu>
Returns the parametric bounds (U1, U2, V1, V2) of this Bezier surface.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="isURational">
<Methode Name="isURational" Const="true">
<Documentation>
<UserDocu>
Returns false if the equation of this Bezier surface is polynomial
@@ -78,7 +78,7 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="isVRational">
<Methode Name="isVRational" Const="true">
<Documentation>
<UserDocu>
Returns false if the equation of this Bezier surface is polynomial
@@ -88,17 +88,17 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="isUPeriodic">
<Methode Name="isUPeriodic" Const="true">
<Documentation>
<UserDocu>Returns false.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isVPeriodic">
<Methode Name="isVPeriodic" Const="true">
<Documentation>
<UserDocu>Returns false.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isUClosed">
<Methode Name="isUClosed" Const="true">
<Documentation>
<UserDocu>
Checks if this surface is closed in the u parametric direction.
@@ -107,7 +107,7 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="isVClosed">
<Methode Name="isVClosed" Const="true">
<Documentation>
<UserDocu>
Checks if this surface is closed in the v parametric direction.
@@ -233,12 +233,12 @@
<UserDocu>Set the row of poles of the Bezier surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPole">
<Methode Name="getPole" Const="true">
<Documentation>
<UserDocu>Get a pole of index (UIndex,VIndex) of the Bezier surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPoles">
<Methode Name="getPoles" Const="true">
<Documentation>
<UserDocu>Get all poles of the Bezier surface.</UserDocu>
</Documentation>
@@ -267,7 +267,7 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getWeight">
<Methode Name="getWeight" Const="true">
<Documentation>
<UserDocu>
Get a weight of the pole of index (UIndex,VIndex)
@@ -275,7 +275,7 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getWeights">
<Methode Name="getWeights" Const="true">
<Documentation>
<UserDocu>Get all weights of the Bezier surface.</UserDocu>
</Documentation>
@@ -308,12 +308,12 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="uIso">
<Methode Name="uIso" Const="true">
<Documentation>
<UserDocu>Builds the U isoparametric Bezier curve of this Bezier surface</UserDocu>
</Documentation>
</Methode>
<Methode Name="vIso">
<Methode Name="vIso" Const="true">
<Documentation>
<UserDocu>Builds the V isoparametric Bezier curve of this Bezier surface</UserDocu>
</Documentation>

View File

@@ -71,12 +71,12 @@
</Documentation>
<Parameter Name="Axis" Type="Object"/>
</Attribute>
<Methode Name="uIso">
<Methode Name="uIso" Const="true">
<Documentation>
<UserDocu>Builds the U isoparametric circle of this cone</UserDocu>
</Documentation>
</Methode>
<Methode Name="vIso">
<Methode Name="vIso" Const="true">
<Documentation>
<UserDocu>Builds the V isoparametric circle of this cone</UserDocu>
</Documentation>

View File

@@ -49,12 +49,12 @@
</Documentation>
<Parameter Name="Axis" Type="Object"/>
</Attribute>
<Methode Name="uIso">
<Methode Name="uIso" Const="true">
<Documentation>
<UserDocu>Builds the U isoparametric circle of this cylinder</UserDocu>
</Documentation>
</Methode>
<Methode Name="vIso">
<Methode Name="vIso" Const="true">
<Documentation>
<UserDocu>Builds the V isoparametric circle of this cylinder</UserDocu>
</Documentation>

View File

@@ -58,39 +58,39 @@ Part.show(s)
</UserDocu>
</Documentation>
</Methode>
<Methode Name="length">
<Methode Name="length" Const="true">
<Documentation>
<UserDocu>Computes the length of a curve
length([uMin,uMax,Tol]) -> Float</UserDocu>
</Documentation>
</Methode>
<Methode Name="parameterAtDistance">
<Methode Name="parameterAtDistance" Const="true">
<Documentation>
<UserDocu>Returns the parameter on the curve of a point at the given distance from a starting parameter.
parameterAtDistance([abscissa, startingParameter]) -> Float the</UserDocu>
</Documentation>
</Methode>
<Methode Name="value">
<Methode Name="value" Const="true">
<Documentation>
<UserDocu>Computes the point of parameter u on this curve</UserDocu>
</Documentation>
</Methode>
<Methode Name="tangent">
<Methode Name="tangent" Const="true">
<Documentation>
<UserDocu>Computes the tangent of parameter u on this curve</UserDocu>
</Documentation>
</Methode>
<Methode Name="makeRuledSurface">
<Methode Name="makeRuledSurface" Const="true">
<Documentation>
<UserDocu>Make a ruled surface of this and the given curves</UserDocu>
</Documentation>
</Methode>
<Methode Name="intersect2d">
<Methode Name="intersect2d" Const="true">
<Documentation>
<UserDocu>Get intersection points with another curve lying on a plane.</UserDocu>
</Documentation>
</Methode>
<Methode Name="parameter">
<Methode Name="parameter" Const="true">
<Documentation>
<UserDocu>Returns the parameter on the curve
of the nearest orthogonal projection of the point.</UserDocu>
@@ -111,28 +111,28 @@ of the nearest orthogonal projection of the point.</UserDocu>
<UserDocu>Vector = centerOfCurvature(float pos) - Get the center of curvature at the given parameter [First|Last] if defined</UserDocu>
</Documentation>
</Methode>
<Methode Name="intersect" Const="true">
<Documentation>
<UserDocu>
Returns all intersection points and curve segments between the curve and the curve/surface.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="intersectCS" Const="true">
<Documentation>
<UserDocu>
Returns all intersection points and curve segments between the curve and the surface.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="intersectCC" Const="true">
<Documentation>
<UserDocu>
Returns all intersection points between this curve and the given curve.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="toBSpline">
<Methode Name="intersect" Const="true">
<Documentation>
<UserDocu>
Returns all intersection points and curve segments between the curve and the curve/surface.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="intersectCS" Const="true">
<Documentation>
<UserDocu>
Returns all intersection points and curve segments between the curve and the surface.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="intersectCC" Const="true">
<Documentation>
<UserDocu>
Returns all intersection points between this curve and the given curve.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="toBSpline" Const="true">
<Documentation>
<UserDocu>
Converts a curve of any type (only part from First to Last)
@@ -140,7 +140,7 @@ of the nearest orthogonal projection of the point.</UserDocu>
</UserDocu>
</Documentation>
</Methode>
<Methode Name="toNurbs">
<Methode Name="toNurbs" Const="true">
<Documentation>
<UserDocu>
Converts a curve of any type (only part from First to Last)
@@ -148,7 +148,7 @@ of the nearest orthogonal projection of the point.</UserDocu>
</UserDocu>
</Documentation>
</Methode>
<Methode Name="trim">
<Methode Name="trim" Const="true">
<Documentation>
<UserDocu>
Returns a trimmed curve defined in the given parameter range
@@ -156,7 +156,7 @@ of the nearest orthogonal projection of the point.</UserDocu>
</UserDocu>
</Documentation>
</Methode>
<Methode Name="approximateBSpline">
<Methode Name="approximateBSpline" Const="true">
<Documentation>
<UserDocu>
Approximates a curve of any type to a B-Spline curve

View File

@@ -22,39 +22,39 @@
<UserDocu>Return the shape for the geometry.</UserDocu>
</Documentation>
</Methode>
<Methode Name="value">
<Methode Name="value" Const="true">
<Documentation>
<UserDocu>value(u,v) -> Point
Computes the point of parameter (u,v) on this surface</UserDocu>
</Documentation>
</Methode>
<Methode Name="tangent">
<Methode Name="tangent" Const="true">
<Documentation>
<UserDocu>tangent(u,v) -> (Vector,Vector)
Computes the tangent of parameter (u,v) on this geometry</UserDocu>
</Documentation>
</Methode>
<Methode Name="normal">
<Methode Name="normal" Const="true">
<Documentation>
<UserDocu>normal(u,v) -> Vector
Computes the normal of parameter (u,v) on this geometry</UserDocu>
</Documentation>
</Methode>
<Methode Name="isUmbillic">
<Methode Name="isUmbillic" Const="true">
<Documentation>
<UserDocu>isUmbillic(u,v) -> bool
Check if the geometry on parameter is an umbillic point,
i.e. maximum and minimum curvature are equal.</UserDocu>
</Documentation>
</Methode>
<Methode Name="curvature">
<Methode Name="curvature" Const="true">
<Documentation>
<UserDocu>curvature(u,v,type) -> float
The value of type must be one of this: Max, Min, Mean or Gauss
Computes the curvature of parameter (u,v) on this geometry</UserDocu>
</Documentation>
</Methode>
<Methode Name="curvatureDirections">
<Methode Name="curvatureDirections" Const="true">
<Documentation>
<UserDocu>curvatureDirections(u,v) -> (Vector,Vector)
Computes the directions of maximum and minimum curvature
@@ -64,14 +64,14 @@ the second vector corresponds to the minimum curvature.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="bounds">
<Methode Name="bounds" Const="true">
<Documentation>
<UserDocu>
Returns the parametric bounds (U1, U2, V1, V2) of this trimmed surface.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="isPlanar">
<Methode Name="isPlanar" Const="true">
<Documentation>
<UserDocu>
isPlanar([float]) -> Bool
@@ -87,61 +87,61 @@ Checks if the surface is planar within a certain tolerance.
</Documentation>
<Parameter Name="Continuity" Type="String"/>
</Attribute>
<Methode Name="uIso">
<Methode Name="uIso" Const="true">
<Documentation>
<UserDocu>Builds the U isoparametric curve</UserDocu>
</Documentation>
</Methode>
<Methode Name="vIso">
<Methode Name="vIso" Const="true">
<Documentation>
<UserDocu>Builds the V isoparametric curve</UserDocu>
</Documentation>
</Methode>
<Methode Name="isUPeriodic">
<Methode Name="isUPeriodic" Const="true">
<Documentation>
<UserDocu>Returns true if this patch is periodic in the given parametric direction.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isVPeriodic">
<Methode Name="isVPeriodic" Const="true">
<Documentation>
<UserDocu>Returns true if this patch is periodic in the given parametric direction.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isUClosed">
<Methode Name="isUClosed" Const="true">
<Documentation>
<UserDocu>
Checks if this surface is closed in the u parametric direction.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="isVClosed">
<Methode Name="isVClosed" Const="true">
<Documentation>
<UserDocu>
Checks if this surface is closed in the v parametric direction.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="UPeriod">
<Methode Name="UPeriod" Const="true">
<Documentation>
<UserDocu>
Returns the period of this patch in the u parametric direction.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="VPeriod">
<Methode Name="VPeriod" Const="true">
<Documentation>
<UserDocu>
Returns the period of this patch in the v parametric direction.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="parameter">
<Methode Name="parameter" Const="true">
<Documentation>
<UserDocu>Returns the parameter on the curve
of the nearest orthogonal projection of the point.</UserDocu>
</Documentation>
</Methode>
<Methode Name="toBSpline">
<Methode Name="toBSpline" Const="true">
<Documentation>
<UserDocu>
Returns a B-Spline representation of this surface.
@@ -156,22 +156,22 @@ The required arguments are:
</UserDocu>
</Documentation>
</Methode>
<Methode Name="intersect" Const="true">
<Documentation>
<UserDocu>
Returns all intersection points/curves between the surface and the curve/surface.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="intersectSS">
<Documentation>
<UserDocu>
Returns all intersection curves of this surface and the given surface.
<Methode Name="intersect" Const="true">
<Documentation>
<UserDocu>
Returns all intersection points/curves between the surface and the curve/surface.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="intersectSS" Const="true">
<Documentation>
<UserDocu>
Returns all intersection curves of this surface and the given surface.
The required arguments are:
* Second surface
* precision code (optional, default=0)
</UserDocu>
</Documentation>
</Methode>
</UserDocu>
</Documentation>
</Methode>
</PythonExport>
</GenerateModel>

View File

@@ -47,12 +47,12 @@ Part.Plane(A,B,C,D)
</Documentation>
<Parameter Name="Axis" Type="Object"/>
</Attribute>
<Methode Name="uIso">
<Methode Name="uIso" Const="true">
<Documentation>
<UserDocu>Builds the U isoparametric line of this plane</UserDocu>
</Documentation>
</Methode>
<Methode Name="vIso">
<Methode Name="vIso" Const="true">
<Documentation>
<UserDocu>Builds the V isoparametric line of this plane</UserDocu>
</Documentation>

View File

@@ -25,12 +25,12 @@ The trimmed surface is built from a copy of the basis surface. Therefore, when t
is modified the trimmed surface is not changed. Consequently, the trimmed surface does not
necessarily have the same orientation as the basis surface.</UserDocu>
</Documentation>
<Methode Name="uIso">
<Methode Name="uIso" Const="true">
<Documentation>
<UserDocu>Builds the U isoparametric curve</UserDocu>
</Documentation>
</Methode>
<Methode Name="vIso">
<Methode Name="vIso" Const="true">
<Documentation>
<UserDocu>Builds the V isoparametric curve</UserDocu>
</Documentation>

View File

@@ -45,14 +45,14 @@
</Documentation>
<Parameter Name="Axis" Type="Object"/>
</Attribute>
<Methode Name="uIso">
<Methode Name="uIso" Const="true">
<Documentation>
<UserDocu>
Builds the U isoparametric circle of this sphere
</UserDocu>
</Documentation>
</Methode>
<Methode Name="vIso">
<Methode Name="vIso" Const="true">
<Documentation>
<UserDocu>Builds the V isoparametric circle of this sphere
where V must be in the range [-Pi/2,Pi/2]</UserDocu>

View File

@@ -31,12 +31,12 @@
</Documentation>
<Parameter Name="BasisCurve" Type="Object"/>
</Attribute>
<Methode Name="uIso">
<Methode Name="uIso" Const="true">
<Documentation>
<UserDocu>Builds the U isoparametric curve</UserDocu>
</Documentation>
</Methode>
<Methode Name="vIso">
<Methode Name="vIso" Const="true">
<Documentation>
<UserDocu>Builds the V isoparametric curve</UserDocu>
</Documentation>

View File

@@ -298,7 +298,7 @@ Returns:
<UserDocu>Vector = centerOfCurvatureAt(float pos) - Get the center of curvature at the given parameter [First|Last] if defined</UserDocu>
</Documentation>
</Methode>
<Methode Name="firstVertex">
<Methode Name="firstVertex" Const="true">
<Documentation>
<UserDocu>Vertex = firstVertex(Orientation=False)
Returns the Vertex of orientation FORWARD in this edge.
@@ -307,7 +307,7 @@ Orientation = True : taking into account the edge orientation
</UserDocu>
</Documentation>
</Methode>
<Methode Name="lastVertex">
<Methode Name="lastVertex" Const="true">
<Documentation>
<UserDocu>Vertex = lastVertex(Orientation=False)
Returns the Vertex of orientation REVERSED in this edge.
@@ -351,7 +351,7 @@ Part.show(s)
</UserDocu>
</Documentation>
</Methode>
<Methode Name="split">
<Methode Name="split" Const="true">
<Documentation>
<UserDocu>Wire = split(paramval)
Splits the edge at the given parameter values and builds a wire out of it
@@ -369,7 +369,7 @@ Returns:
</UserDocu>
</Documentation>
</Methode>
<Methode Name="isSeam">
<Methode Name="isSeam" Const="true">
<Documentation>
<UserDocu>isSeam(Face) - Checks whether the edge is a seam edge.</UserDocu>
</Documentation>

View File

@@ -73,7 +73,7 @@ An exception is raised if the face is not triangulated.
<UserDocu>Validate the face.</UserDocu>
</Documentation>
</Methode>
<Methode Name="curveOnSurface">
<Methode Name="curveOnSurface" Const="true">
<Documentation>
<UserDocu>
curveonSurface(Edge) -> None or tuple

View File

@@ -19,17 +19,17 @@
<UserDocu>Add a face to the shell.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getFreeEdges">
<Methode Name="getFreeEdges" Const="true">
<Documentation>
<UserDocu>Get free edges as compound.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getBadEdges">
<Methode Name="getBadEdges" Const="true">
<Documentation>
<UserDocu>Get bad edges as compound.</UserDocu>
</Documentation>
</Methode>
<Methode Name="makeHalfSpace">
<Methode Name="makeHalfSpace" Const="true">
<Documentation>
<UserDocu>Make a half-space solid by this shell and a reference point.</UserDocu>
</Documentation>
@@ -93,4 +93,4 @@ coordinate system.</UserDocu>
<Parameter Name="PrincipalProperties" Type="Dict"/>
</Attribute>
</PythonExport>
</GenerateModel>
</GenerateModel>

View File

@@ -80,19 +80,19 @@ shape if the solid has no shells</UserDocu>
</Documentation>
<Parameter Name="OuterShell" Type="Object"/>
</Attribute>
<Methode Name="getMomentOfInertia">
<Methode Name="getMomentOfInertia" Const="true">
<Documentation>
<UserDocu>computes the moment of inertia of the material system about the axis A.
mySolid.getMomentOfInertia( point, direction )</UserDocu>
</Documentation>
</Methode>
<Methode Name="getRadiusOfGyration">
<Methode Name="getRadiusOfGyration" Const="true">
<Documentation>
<UserDocu>Returns the radius of gyration of the current system about the axis A.
mySolid.getRadiusOfGyration( point, direction )</UserDocu>
</Documentation>
</Methode>
<Methode Name="offsetFaces" ReadOnly="true">
<Methode Name="offsetFaces" Const="true">
<Documentation>
<UserDocu>Extrude single faces of the solid.
Example:

View File

@@ -51,12 +51,12 @@
</Documentation>
<Parameter Name="Volume" Type="Float"/>
</Attribute>
<Methode Name="uIso">
<Methode Name="uIso" Const="true">
<Documentation>
<UserDocu>Builds the U isoparametric circle of this toroid</UserDocu>
</Documentation>
</Methode>
<Methode Name="vIso">
<Methode Name="vIso" Const="true">
<Documentation>
<UserDocu>Builds the V isoparametric circle of this toroid</UserDocu>
</Documentation>