Documentation - Fix whitespaces and typos (#824)

- Fixed excessive whitespace in multi-line comments
- Corrected spelling errors (e.g., "selectionnable" → "selectable", "begenning" → "beginning")
- Improved comment formatting and readability
This commit is contained in:
luzpaz
2025-11-13 15:31:57 -05:00
committed by GitHub
parent 570b34b666
commit 79289339d8
161 changed files with 879 additions and 883 deletions
@@ -106,7 +106,7 @@ public:
//! Updates the face Tolerance.
Standard_EXPORT void UpdateFace(const TopoDS_Face& F, const Standard_Real Tol) const;
//! Sets the NaturalRestriction flag of the face.
//! Sets the NaturalRestriction flag of the face.
Standard_EXPORT void NaturalRestriction(const TopoDS_Face& F, const Standard_Boolean N) const;
//! Makes an undefined Edge (no geometry).
@@ -299,7 +299,7 @@ public:
const Standard_Real Last,
const Standard_Boolean Only3d = Standard_False) const;
//! Sets the range of the edge on the pcurve on the
//! Sets the range of the edge on the pcurve on the
//! surface.
Standard_EXPORT void Range(const TopoDS_Edge& E,
const Handle(Geom_Surface)& S,
+2 -2
View File
@@ -35,7 +35,7 @@ DEFINE_STANDARD_HANDLE(BRep_TFace, TopoDS_TFace)
//! * A surface, a tolerance and a Location.
//!
//! * A NaturalRestriction flag, when this flag is
//! True the boundary of the face is known to be the
//! True the boundary of the face is known to be the
//! parametric space (Umin, UMax, VMin, VMax).
//!
//! * An optional list of triangulations. If there are any
@@ -106,7 +106,7 @@ public:
Standard_EXPORT void Triangulation(const Handle(Poly_Triangulation)& theTriangulation,
const Standard_Boolean theToReset = true);
//! Returns a copy of the TShape with no sub-shapes.
//! Returns a copy of the TShape with no sub-shapes.
//! The new Face has no triangulation.
Standard_EXPORT virtual Handle(TopoDS_TShape) EmptyCopy() const Standard_OVERRIDE;
+3 -3
View File
@@ -39,7 +39,7 @@ class TopLoc_Location;
class TopoDS_Edge;
class TopoDS_Vertex;
//! Provides class methods to access to the geometry
//! Provides class methods to access to the geometry
//! of BRep shapes.
class BRep_Tool
{
@@ -86,7 +86,7 @@ public:
//! Returns the tolerance of the face.
Standard_EXPORT static Standard_Real Tolerance(const TopoDS_Face& F);
//! Returns the NaturalRestriction flag of the face.
//! Returns the NaturalRestriction flag of the face.
Standard_EXPORT static Standard_Boolean NaturalRestriction(const TopoDS_Face& F);
//! Returns True if <F> has a surface, false otherwise.
@@ -259,7 +259,7 @@ public:
//! Returns the SameRange flag for the edge.
Standard_EXPORT static Standard_Boolean SameRange(const TopoDS_Edge& E);
//! Returns True if the edge is degenerated.
//! Returns True if the edge is degenerated.
Standard_EXPORT static Standard_Boolean Degenerated(const TopoDS_Edge& E);
//! Gets the range of the 3d curve.
@@ -47,7 +47,7 @@ DEFINE_STANDARD_HANDLE(BRepAdaptor_CompCurve, Adaptor3d_Curve)
//! The Curve from BRepAdaptor allows to use a Wire
//! of the BRep topology like a 3D curve.
//! Warning: With this class of curve, C0 and C1 continuities
//! Warning: With this class of curve, C0 and C1 continuities
//! are not assumed. So be careful with some algorithm!
//! Please note that BRepAdaptor_CompCurve cannot be
//! periodic curve at all (even if it contains single
@@ -76,7 +76,7 @@ public:
//! Shallow copy of adaptor.
Standard_EXPORT virtual Handle(Adaptor3d_Curve) ShallowCopy() const Standard_OVERRIDE;
//! Sets the wire <W>.
//! Sets the wire <W>.
Standard_EXPORT void Initialize(const TopoDS_Wire& W,
const Standard_Boolean KnotByCurvilinearAbcissa);
@@ -43,7 +43,7 @@ class Geom_OffsetCurve;
DEFINE_STANDARD_HANDLE(BRepAdaptor_Curve, Adaptor3d_Curve)
//! The Curve from BRepAdaptor allows to use an Edge
//! The Curve from BRepAdaptor allows to use an Edge
//! of the BRep topology like a 3D curve.
//!
//! It has the methods the class Curve from Adaptor3d.
@@ -97,7 +97,7 @@ public:
//! three first derivatives are all null.
Standard_EXPORT Standard_Boolean IsTangentDefined();
//! output the tangent direction <D>
//! output the tangent direction <D>
Standard_EXPORT void Tangent(gp_Dir& D);
//! Returns the curvature.
@@ -91,7 +91,7 @@ public:
//! Returns the continuity of theNewEdge between theNewFace1 and theNewFace2.
//!
//! theNewEdge is the new edge created from theEdge. theNewFace1
//! theNewEdge is the new edge created from theEdge. theNewFace1
//! (resp. theNewFace2) is the new face created from theFace1 (resp. theFace2).
Standard_EXPORT GeomAbs_Shape Continuity(const TopoDS_Edge& theEdge,
const TopoDS_Face& theFace1,
@@ -55,7 +55,7 @@ public:
//! normal of the surface. (the wires have to be
//! reversed). <RevFace> has to be set to
//! Standard_True if the orientation of the modified
//! face changes in the shells which contain it. --
//! face changes in the shells which contain it.
//! Here, <RevFace> will return Standard_True if the
//! -- gp_Trsf is negative.
Standard_EXPORT Standard_Boolean NewSurface(const TopoDS_Face& F,
@@ -135,10 +135,10 @@ public:
Standard_Real& P,
Standard_Real& Tol) = 0;
//! Returns the continuity of <NewE> between <NewF1>
//! Returns the continuity of <NewE> between <NewF1>
//! and <NewF2>.
//! <NewE> is the new edge created from <E>. <NewF1>
//! (resp. <NewF2>) is the new face created from <F1>
//! <NewE> is the new edge created from <E>. <NewF1>
//! (resp. <NewF2>) is the new face created from <F1>
//! (resp. <F2>).
Standard_EXPORT virtual GeomAbs_Shape Continuity(const TopoDS_Edge& E,
const TopoDS_Face& F1,
@@ -49,7 +49,7 @@ public:
//! Creates a modifier on the shape <S>.
Standard_EXPORT BRepTools_Modifier(const TopoDS_Shape& S);
//! Creates a modifier on the shape <S>, and performs
//! Creates a modifier on the shape <S>, and performs
//! the modifications described by <M>.
Standard_EXPORT BRepTools_Modifier(const TopoDS_Shape& S,
const Handle(BRepTools_Modification)& M);
@@ -54,7 +54,7 @@ public:
//! normal of the surface. (the wires have to be
//! reversed). <RevFace> has to be set to
//! Standard_True if the orientation of the modified
//! face changes in the shells which contain it. --
//! face changes in the shells which contain it.
//! Here, <RevFace> will return Standard_True if the
//! -- gp_Trsf is negative.
Standard_EXPORT Standard_Boolean NewSurface(const TopoDS_Face& F,
@@ -49,7 +49,7 @@ public:
//! Binds <Enew> to be the new edge instead of <Eold>.
//!
//! The faces of the added shape containing <Eold>
//! The faces of the added shape containing <Eold>
//! will be copied to substitute <Eold> by <Enew>.
//!
//! The vertices of <Eold> will be bound to the
@@ -33,7 +33,7 @@
class TopoDS_Shape;
//! Contains a Shape and all its subshapes, locations
//! Contains a Shape and all its subshapes, locations
//! and geometries.
//!
//! The topology is inherited from TopTools.
@@ -152,7 +152,7 @@ public:
Standard_EXPORT void DumpTriangulation(Standard_OStream& OS) const;
//! Reads the polygons on triangulation of me
//! from the stream <IS>.
//! from the stream <IS>.
Standard_EXPORT void ReadPolygonOnTriangulation(
Standard_IStream& IS,
const Message_ProgressRange& theProgress = Message_ProgressRange());
@@ -133,11 +133,11 @@ public:
Standard_Real& P,
Standard_Real& Tol) Standard_OVERRIDE;
//! Returns the continuity of <NewE> between <NewF1>
//! Returns the continuity of <NewE> between <NewF1>
//! and <NewF2>.
//!
//! <NewE> is the new edge created from <E>. <NewF1>
//! (resp. <NewF2>) is the new face created from <F1>
//! <NewE> is the new edge created from <E>. <NewF1>
//! (resp. <NewF2>) is the new face created from <F1>
//! (resp. <F2>).
Standard_EXPORT GeomAbs_Shape Continuity(const TopoDS_Edge& E,
const TopoDS_Face& F1,
@@ -139,7 +139,7 @@ public:
Standard_EXPORT virtual void AddShapes(TopoDS_Shape& S1, const TopoDS_Shape& S2);
//! Reads the 3d polygons of me
//! from the stream <IS>.
//! from the stream <IS>.
Standard_EXPORT void ReadPolygon3D(
Standard_IStream& IS,
const Message_ProgressRange& theRange = Message_ProgressRange());
@@ -152,7 +152,7 @@ public:
const Message_ProgressRange& theRange = Message_ProgressRange()) const;
//! Reads the triangulation of me
//! from the stream <IS>.
//! from the stream <IS>.
Standard_EXPORT void ReadTriangulation(
Standard_IStream& IS,
const Message_ProgressRange& theRange = Message_ProgressRange());
@@ -165,7 +165,7 @@ public:
const Message_ProgressRange& theRange = Message_ProgressRange()) const;
//! Reads the polygons on triangulation of me
//! from the stream <IS>.
//! from the stream <IS>.
Standard_EXPORT void ReadPolygonOnTriangulation(
Standard_IStream& IS,
const Message_ProgressRange& theRange = Message_ProgressRange());
+4 -4
View File
@@ -47,7 +47,7 @@ public:
DEFINE_STANDARD_ALLOC
//! Tool to explore a topological data structure.
//! Stores in the map <M> all the sub-shapes of <S>
//! Stores in the map <M> all the sub-shapes of <S>
//! of type <T>.
//!
//! Warning: The map is not cleared at first.
@@ -55,7 +55,7 @@ public:
const TopAbs_ShapeEnum T,
TopTools_IndexedMapOfShape& M);
//! Stores in the map <M> all the sub-shapes of <S>.
//! Stores in the map <M> all the sub-shapes of <S>.
//! - If cumOri is true, the function composes all
//! sub-shapes with the orientation of S.
//! - If cumLoc is true, the function multiplies all
@@ -66,7 +66,7 @@ public:
const Standard_Boolean cumOri = Standard_True,
const Standard_Boolean cumLoc = Standard_True);
//! Stores in the map <M> all the sub-shapes of <S>.
//! Stores in the map <M> all the sub-shapes of <S>.
//! - If cumOri is true, the function composes all
//! sub-shapes with the orientation of S.
//! - If cumLoc is true, the function multiplies all
@@ -112,7 +112,7 @@ public:
Standard_EXPORT static TopoDS_Vertex LastVertex(const TopoDS_Edge& E,
const Standard_Boolean CumOri = Standard_False);
//! Returns in Vfirst, Vlast the FORWARD and REVERSED
//! Returns in Vfirst, Vlast the FORWARD and REVERSED
//! vertices of the edge <E>. May be null shapes.
//! CumOri = True : taking account the edge orientation
Standard_EXPORT static void Vertices(const TopoDS_Edge& E,
@@ -24,10 +24,10 @@
#include <Standard_OStream.hxx>
class TopoDS_Shape;
//! The TopTools package provides utilities for the
//! The TopTools package provides utilities for the
//! topological data structure.
//!
//! * ShapeMapHasher. Hash a Shape base on the TShape
//! * ShapeMapHasher. Hash a Shape base on the TShape
//! and the Location. The Orientation is not used.
//!
//! * OrientedShapeMapHasher. Hash a Shape base on the
+16 -16
View File
@@ -102,7 +102,7 @@ public:
myLocation = theLoc;
}
//! Returns a shape similar to <me> with the local
//! Returns a shape similar to <me> with the local
//! coordinate system set to <Loc>.
//! @param theLoc the new local coordinate system.
//! @param theRaiseExc flag to raise exception in case of transformation with scale or negative.
@@ -121,7 +121,7 @@ public:
//! Sets the shape orientation.
void Orientation(TopAbs_Orientation theOrient) { myOrient = theOrient; }
//! Returns a shape similar to <me> with the
//! Returns a shape similar to <me> with the
//! orientation set to <Or>.
TopoDS_Shape Oriented(TopAbs_Orientation theOrient) const
{
@@ -217,8 +217,8 @@ public:
//! from the TopAbs package.
void Reverse() { myOrient = TopAbs::Reverse(myOrient); }
//! Returns a shape similar to <me> with the
//! orientation reversed, using the Reverse method
//! Returns a shape similar to <me> with the
//! orientation reversed, using the Reverse method
//! from the TopAbs package.
TopoDS_Shape Reversed() const
{
@@ -227,12 +227,12 @@ public:
return aShape;
}
//! Complements the orientation, using the Complement
//! Complements the orientation, using the Complement
//! method from the TopAbs package.
void Complement() { myOrient = TopAbs::Complement(myOrient); }
//! Returns a shape similar to <me> with the
//! orientation complemented, using the Complement
//! Returns a shape similar to <me> with the
//! orientation complemented, using the Complement
//! method from the TopAbs package.
TopoDS_Shape Complemented() const
{
@@ -245,7 +245,7 @@ public:
//! using the Compose method from the TopAbs package.
void Compose(TopAbs_Orientation theOrient) { myOrient = TopAbs::Compose(myOrient, theOrient); }
//! Returns a shape similar to <me> with the
//! Returns a shape similar to <me> with the
//! orientation composed with theOrient, using the
//! Compose method from the TopAbs package.
TopoDS_Shape Composed(TopAbs_Orientation theOrient) const
@@ -259,16 +259,16 @@ public:
//! @sa TopoDS_Iterator for accessing sub-shapes
Standard_Integer NbChildren() const { return myTShape.IsNull() ? 0 : myTShape->NbChildren(); }
//! Returns True if two shapes are partners, i.e. if
//! they share the same TShape. Locations and
//! Returns True if two shapes are partners, i.e. if
//! they share the same TShape. Locations and
//! Orientations may differ.
Standard_Boolean IsPartner(const TopoDS_Shape& theOther) const
{
return (myTShape == theOther.myTShape);
}
//! Returns True if two shapes are same, i.e. if they
//! share the same TShape with the same Locations.
//! Returns True if two shapes are same, i.e. if they
//! share the same TShape with the same Locations.
//! Orientations may differ.
Standard_Boolean IsSame(const TopoDS_Shape& theOther) const
{
@@ -276,7 +276,7 @@ public:
}
//! Returns True if two shapes are equal, i.e. if they
//! share the same TShape with the same Locations and
//! share the same TShape with the same Locations and
//! Orientations.
Standard_Boolean IsEqual(const TopoDS_Shape& theOther) const
{
@@ -291,13 +291,13 @@ public:
Standard_Boolean operator!=(const TopoDS_Shape& theOther) const { return IsNotEqual(theOther); }
//! Replace <me> by a new Shape with the same
//! Replace <me> by a new Shape with the same
//! Orientation and Location and a new TShape with the
//! same geometry and no sub-shapes.
void EmptyCopy() { myTShape = myTShape->EmptyCopy(); }
//! Returns a new Shape with the same Orientation and
//! Location and a new TShape with the same geometry
//! Returns a new Shape with the same Orientation and
//! Location and a new TShape with the same geometry
//! and no sub-shapes.
TopoDS_Shape EmptyCopied() const
{
@@ -125,7 +125,7 @@ public:
//! VERTEX, EDGE, WIRE, FACE, ....
Standard_EXPORT virtual TopAbs_ShapeEnum ShapeType() const = 0;
//! Returns a copy of the TShape with no sub-shapes.
//! Returns a copy of the TShape with no sub-shapes.
Standard_EXPORT virtual Handle(TopoDS_TShape) EmptyCopy() const = 0;
//! Returns the number of direct sub-shapes (children).
@@ -65,10 +65,10 @@ public:
//! intervals.
Standard_EXPORT virtual Standard_Integer NbIntervals(const GeomAbs_Shape S) const;
//! Stores in <T> the parameters bounding the intervals
//! Stores in <T> the parameters bounding the intervals
//! of continuity <S>.
//!
//! The array must provide enough room to accommodate
//! The array must provide enough room to accommodate
//! for the parameters. i.e. T.Length() > NbIntervals()
Standard_EXPORT virtual void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const;
@@ -124,7 +124,7 @@ public:
//! Raised if N < 1.
Standard_EXPORT virtual gp_Vec2d DN(const Standard_Real U, const Standard_Integer N) const;
//! Returns the parametric resolution corresponding
//! Returns the parametric resolution corresponding
//! to the real space resolution <R3d>.
Standard_EXPORT virtual Standard_Real Resolution(const Standard_Real R3d) const;
@@ -88,7 +88,7 @@ public:
//! Stores in <T> the parameters bounding the intervals
//! of continuity <S>.
//!
//! The array must provide enough room to accommodate
//! The array must provide enough room to accommodate
//! for the parameters. i.e. T.Length() > NbIntervals()
Standard_EXPORT void Intervals(TColStd_Array1OfReal& T,
const GeomAbs_Shape S) const Standard_OVERRIDE;
@@ -133,7 +133,7 @@ class Geom2d_BSplineCurve : public Geom2d_BoundedCurve
{
public:
//! Creates a non-rational B_spline curve on the
//! Creates a non-rational B_spline curve on the
//! basis <Knots, Multiplicities> of degree <Degree>.
//! The following conditions must be verified.
//! 0 < Degree <= MaxDegree.
@@ -164,7 +164,7 @@ public:
const Standard_Integer Degree,
const Standard_Boolean Periodic = Standard_False);
//! Creates a rational B_spline curve on the basis
//! Creates a rational B_spline curve on the basis
//! <Knots, Multiplicities> of degree <Degree>.
//! The following conditions must be verified.
//! 0 < Degree <= MaxDegree.
@@ -179,7 +179,7 @@ public:
//! may be Degree+1 (this is even recommended if you want the
//! curve to start and finish on the first and last pole).
//!
//! On a periodic curve the first and the last multicities
//! On a periodic curve the first and the last multicities
//! must be the same.
//!
//! on non-periodic curves
@@ -633,16 +633,16 @@ public:
//! one requested, this function impacts the part defined
//! by the parameter with a value greater than U, i.e. the
//! part of the curve to the "right" of the singularity.
//! Raises UndefinedDerivative if the continuity of the curve is not CN.
//! Raises UndefinedDerivative if the continuity of the curve is not CN.
//! RangeError if N < 1.
//! The following functions computes the point of parameter U
//! and the derivatives at this point on the B-spline curve
//! arc defined between the knot FromK1 and the knot ToK2.
//! U can be out of bounds [Knot (FromK1), Knot (ToK2)] but
//! U can be out of bounds [Knot (FromK1), Knot (ToK2)] but
//! for the computation we only use the definition of the curve
//! between these two knots. This method is useful to compute
//! local derivative, if the order of continuity of the whole
//! curve is not greater enough. Inside the parametric
//! curve is not greater enough. Inside the parametric
//! domain Knot (FromK1), Knot (ToK2) the evaluations are
//! the same as if we consider the whole definition of the
//! curve. Of course the evaluations are different outside
@@ -780,7 +780,7 @@ public:
//! Locates the parametric value U in the sequence of knots.
//! If "WithKnotRepetition" is True we consider the knot's
//! representation with repetition of multiple knot value,
//! otherwise we consider the knot's representation with
//! otherwise we consider the knot's representation with
//! no repetition of multiple knot values.
//! Knots (I1) <= U <= Knots (I2)
//! . if I1 = I2 U is a knot value (the tolerance criterion
@@ -869,7 +869,7 @@ public:
protected:
private:
//! Recompute the flatknots, the knotsdistribution, the continuity.
//! Recompute the flatknots, the knotsdistribution, the continuity.
Standard_EXPORT void UpdateKnots();
Standard_Boolean rational;
@@ -101,7 +101,7 @@ public:
//! CurvePoles and the set of weights PoleWeights.
//! If all the weights are identical the curve is considered
//! as non rational. Raises ConstructionError if the number
//! of poles is greater than MaxDegree + 1 or lower than 2
//! of poles is greater than MaxDegree + 1 or lower than 2
//! or CurvePoles and CurveWeights have not the same length
//! or one weight value is lower or equal to Resolution from
//! package gp.
@@ -59,7 +59,7 @@ DEFINE_STANDARD_HANDLE(Geom2d_Circle, Geom2d_Conic)
//! See Also
//! GCE2d_MakeCircle which provides functions for
//! more complex circle constructions
//! gp_Ax22d and gp_Circ2d for an equivalent, non-parameterized data structure.
//! gp_Ax22d and gp_Circ2d for an equivalent, non-parameterized data structure.
class Geom2d_Circle : public Geom2d_Conic
{
@@ -78,7 +78,7 @@ public:
//! returns the eccentricity value of the conic e.
//! e = 0 for a circle
//! 0 < e < 1 for an ellipse (e = 0 if MajorRadius = MinorRadius)
//! 0 < e < 1 for an ellipse (e = 0 if MajorRadius = MinorRadius)
//! e > 1 for a hyperbola
//! e = 1 for a parabola
Standard_EXPORT virtual Standard_Real Eccentricity() const = 0;
@@ -95,7 +95,7 @@ public:
//! The local coordinate system of the conic is modified.
Standard_EXPORT void Reverse() Standard_OVERRIDE;
//! Returns the parameter on the reversed curve for
//! Returns the parameter on the reversed curve for
//! the point of parameter U on <me>.
Standard_EXPORT virtual Standard_Real ReversedParameter(const Standard_Real U) const
Standard_OVERRIDE = 0;
@@ -63,9 +63,9 @@ class Geom2d_Curve : public Geom2d_Geometry
public:
//! Changes the direction of parametrization of <me>.
//! The "FirstParameter" and the "LastParameter" are not changed
//! but the orientation of the curve is modified. If the curve
//! but the orientation of the curve is modified. If the curve
//! is bounded the StartPoint of the initial curve becomes the
//! EndPoint of the reversed curve and the EndPoint of the initial
//! EndPoint of the reversed curve and the EndPoint of the initial
//! curve becomes the StartPoint of the reversed curve.
Standard_EXPORT virtual void Reverse() = 0;
@@ -138,10 +138,10 @@ public:
//! . the curve is always periodic by definition (Circle)
//! . the curve can be defined as periodic (BSpline). In this case
//! a function SetPeriodic allows you to give the shape of the
//! curve. The general rule for this case is : if a curve can be
//! curve. The general rule for this case is : if a curve can be
//! periodic or not the default periodicity set is non periodic
//! and you have to turn (explicitly) the curve into a periodic
//! curve if you want the curve to be periodic.
//! curve if you want the curve to be periodic.
Standard_EXPORT virtual Standard_Boolean IsPeriodic() const = 0;
//! Returns the period of this curve.
@@ -163,8 +163,8 @@ public:
Standard_EXPORT virtual Standard_Boolean IsCN(const Standard_Integer N) const = 0;
//! Returns in P the point of parameter U.
//! If the curve is periodic then the returned point is P(U) with
//! U = Ustart + (U - Uend) where Ustart and Uend are the
//! If the curve is periodic then the returned point is P(U) with
//! U = Ustart + (U - Uend) where Ustart and Uend are the
//! parametric bounds of the curve.
//!
//! Raised only for the "OffsetCurve" if it is not possible to
@@ -206,8 +206,8 @@ public:
Standard_EXPORT virtual gp_Vec2d DN(const Standard_Real U, const Standard_Integer N) const = 0;
//! Computes the point of parameter U on <me>.
//! If the curve is periodic then the returned point is P(U) with
//! U = Ustart + (U - Uend) where Ustart and Uend are the
//! If the curve is periodic then the returned point is P(U) with
//! U = Ustart + (U - Uend) where Ustart and Uend are the
//! parametric bounds of the curve.
//!
//! it is implemented with D0.
@@ -157,7 +157,7 @@ public:
//! circle).
Standard_EXPORT gp_Ax2d Directrix2() const;
//! Returns the eccentricity of the ellipse between 0.0 and 1.0
//! Returns the eccentricity of the ellipse between 0.0 and 1.0
//! If f is the distance between the center of the ellipse and
//! the Focus1 then the eccentricity e = f / MajorRadius.
//! Returns 0 if MajorRadius = 0
@@ -188,12 +188,12 @@ public:
Standard_EXPORT Standard_Real Parameter() const;
//! Returns the value of the first parameter of this
//! ellipse. This is 0.0, which gives the start point of this ellipse.
//! ellipse. This is 0.0, which gives the start point of this ellipse.
//! The start point and end point of an ellipse are coincident.
Standard_EXPORT Standard_Real FirstParameter() const Standard_OVERRIDE;
//! Returns the value of the last parameter of this
//! ellipse. This is 2.*Pi, which gives the end point of this ellipse.
//! Returns the value of the last parameter of this
//! ellipse. This is 2.*Pi, which gives the end point of this ellipse.
//! The start point and end point of an ellipse are coincident.
Standard_EXPORT Standard_Real LastParameter() const Standard_OVERRIDE;
@@ -73,7 +73,7 @@ public:
//! Scales a Geometry. S is the scaling value.
Standard_EXPORT void Scale(const gp_Pnt2d& P, const Standard_Real S);
//! Translates a Geometry. V is the vector of the translation.
//! Translates a Geometry. V is the vector of the translation.
Standard_EXPORT void Translate(const gp_Vec2d& V);
//! Translates a Geometry from the point P1 to the point P2.
@@ -87,7 +87,7 @@ class Geom2d_Hyperbola : public Geom2d_Conic
{
public:
//! Creates an Hyperbola from a non persistent one from package gp
//! Creates an Hyperbola from a non persistent one from package gp
Standard_EXPORT Geom2d_Hyperbola(const gp_Hypr2d& H);
//! MajorAxis is the "XAxis" of the hyperbola.
@@ -99,10 +99,10 @@ public:
//! For a line, the returned value is -U.
Standard_EXPORT Standard_Real ReversedParameter(const Standard_Real U) const Standard_OVERRIDE;
//! Returns RealFirst from Standard.
//! Returns RealFirst from Standard.
Standard_EXPORT Standard_Real FirstParameter() const Standard_OVERRIDE;
//! Returns RealLast from Standard
//! Returns RealLast from Standard
Standard_EXPORT Standard_Real LastParameter() const Standard_OVERRIDE;
//! Returns False
@@ -91,8 +91,8 @@ public:
//! In this package the entities are not shared. The OffsetCurve is
//! built with a copy of the curve C. So when C is modified the
//! OffsetCurve is not modified
//! Warning! if isNotCheckC0 = false,
//! ConstructionError raised if the basis curve C is not at least C1.
//! Warning! if isNotCheckC0 = false,
//! ConstructionError raised if the basis curve C is not at least C1.
//! No check is done to know if ||V^Z|| != 0.0 at any point.
Standard_EXPORT Geom2d_OffsetCurve(const Handle(Geom2d_Curve)& C,
const Standard_Real Offset,
@@ -151,7 +151,7 @@ public:
//! direction.
//! If T is the first derivative with not null length and
//! Z the direction normal to the plane of the curve, the
//! relation ||T(U) ^ Z|| != 0 must be satisfied to evaluate
//! relation ||T(U) ^ Z|| != 0 must be satisfied to evaluate
//! the offset curve.
//! No check is done at the creation time and we suppose
//! in this package that the offset curve is well defined.
@@ -164,13 +164,13 @@ public:
//! Warning! this should not be called
//! if the continuity of the basis curve is not C2.
//! Nevertheless, it's OK to use it on portion
//! Nevertheless, it's OK to use it on portion
//! where the curve is C2
Standard_EXPORT void D1(const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1) const Standard_OVERRIDE;
//! Warning! This should not be called
//! Warning! This should not be called
//! if the continuity of the basis curve is not C3.
//! Nevertheless, it's OK to use it on portion
//! Nevertheless, it's OK to use it on portion
//! where the curve is C3
Standard_EXPORT void D2(const Standard_Real U,
gp_Pnt2d& P,
@@ -179,7 +179,7 @@ public:
//! Warning! This should not be called
//! if the continuity of the basis curve is not C4.
//! Nevertheless, it's OK to use it on portion
//! Nevertheless, it's OK to use it on portion
//! where the curve is C4
Standard_EXPORT void D3(const Standard_Real U,
gp_Pnt2d& P,
@@ -190,11 +190,11 @@ public:
//! The returned vector gives the value of the derivative
//! for the order of derivation N.
//! Warning! this should not be called
//! raises UndefunedDerivative if the continuity of the basis curve is not CN+1.
//! Nevertheless, it's OK to use it on portion
//! raises UndefunedDerivative if the continuity of the basis curve is not CN+1.
//! Nevertheless, it's OK to use it on portion
//! where the curve is CN+1
//! raises RangeError if N < 1.
//! raises NotImplemented if N > 3.
//! raises RangeError if N < 1.
//! raises NotImplemented if N > 3.
//! The following functions compute the value and derivatives
//! on the offset curve and returns the derivatives on the
//! basis curve too.
@@ -231,7 +231,7 @@ public:
//! Is the order of continuity of the curve N ?
//! Warnings :
//! This method answer True if the continuity of the basis curve
//! is N + 1. We suppose in this class that a normal direction
//! is N + 1. We suppose in this class that a normal direction
//! to the basis curve (used to compute the offset curve) is
//! defined at any point on the basis curve.
//! Raised if N < 0.
@@ -253,7 +253,7 @@ public:
//! Note: the basis curve is also modified.
Standard_EXPORT void Transform(const gp_Trsf2d& T) Standard_OVERRIDE;
//! Returns the parameter on the transformed curve for
//! Returns the parameter on the transformed curve for
//! the transform of the point of parameter U on <me>.
//!
//! me->Transformed(T)->Value(me->TransformedParameter(U,T))
@@ -267,8 +267,8 @@ public:
const gp_Trsf2d& T) const
Standard_OVERRIDE;
//! Returns a coefficient to compute the parameter on
//! the transformed curve for the transform of the
//! Returns a coefficient to compute the parameter on
//! the transformed curve for the transform of the
//! point on <me>.
//!
//! Transformed(T)->Value(U * ParametricTransformation(T))
@@ -112,7 +112,7 @@ public:
//! Returns RealFirst from Standard.
Standard_EXPORT Standard_Real FirstParameter() const Standard_OVERRIDE;
//! Returns RealLast from Standard.
//! Returns RealLast from Standard.
Standard_EXPORT Standard_Real LastParameter() const Standard_OVERRIDE;
//! Returns False
@@ -147,7 +147,7 @@ public:
//! Returns in P the point of parameter U.
//! If U = 0 the returned point is the origin of the XAxis and
//! the YAxis of the parabola and it is the vertex of the parabola.
//! P = S + F * (U * U * XDir + * U * YDir)
//! P = S + F * (U * U * XDir + * U * YDir)
//! where S is the vertex of the parabola, XDir the XDirection and
//! YDir the YDirection of the parabola's local coordinate system.
Standard_EXPORT void D0(const Standard_Real U, gp_Pnt2d& P) const Standard_OVERRIDE;
@@ -44,7 +44,7 @@ public:
//! returns the X coordinate of <me>.
Standard_EXPORT virtual Standard_Real X() const = 0;
//! returns the Y coordinate of <me>.
//! returns the Y coordinate of <me>.
Standard_EXPORT virtual Standard_Real Y() const = 0;
//! computes the distance between <me> and <Other>.
@@ -136,7 +136,7 @@ public:
//! Returns the coefficients of the global matrix of transformation.
//! It is a 2 rows X 3 columns matrix.
//!
//! Raised if Row < 1 or Row > 2 or Col < 1 or Col > 2
//! Raised if Row < 1 or Row > 2 or Col < 1 or Col > 2
//!
//! Computes the reverse transformation.
Standard_EXPORT Standard_Real Value(const Standard_Integer Row, const Standard_Integer Col) const;
@@ -184,7 +184,7 @@ public:
Standard_EXPORT Handle(Geom2d_Transformation) Powered(const Standard_Integer N) const;
//! Computes the matrix of the transformation composed with
//! <me> and Other. <me> = Other * <me>
//! <me> and Other. <me> = Other * <me>
Standard_EXPORT void PreMultiply(const Handle(Geom2d_Transformation)& Other);
//! Applies the transformation <me> to the triplet {X, Y}.
@@ -52,7 +52,7 @@ public:
//! Returns the coordinates of <me>.
Standard_EXPORT void Coord(Standard_Real& X, Standard_Real& Y) const;
//! Returns the Magnitude of <me>.
//! Returns the Magnitude of <me>.
Standard_EXPORT virtual Standard_Real Magnitude() const = 0;
//! Returns the square magnitude of <me>.
@@ -77,7 +77,7 @@ public:
return Added(Other);
}
//! Computes the cross product between <me> and Other
//! Computes the cross product between <me> and Other
//! <me> ^ Other. A new vector is returned.
Standard_EXPORT Standard_Real Crossed(const Handle(Geom2d_Vector)& Other) const Standard_OVERRIDE;
@@ -44,7 +44,7 @@ public:
Standard_Real& F,
Standard_Real& D);
//! True if Param corresponds to a minus
//! True if Param corresponds to a minus
//! of the radius of curvature.
Standard_EXPORT Standard_Boolean IsMinKC(const Standard_Real Param) const;
@@ -122,7 +122,7 @@ public:
//! Raised if N < 1.
Standard_EXPORT virtual gp_Vec DN(const Standard_Real U, const Standard_Integer N) const;
//! Returns the parametric resolution corresponding
//! Returns the parametric resolution corresponding
//! to the real space resolution <R3d>.
Standard_EXPORT virtual Standard_Real Resolution(const Standard_Real R3d) const;
@@ -83,7 +83,7 @@ public:
const GeomAbs_Shape S) const Standard_OVERRIDE;
//! Returns a curve equivalent of <me> between
//! parameters <First> and <Last>. <Tol> is used to
//! parameters <First> and <Last>. <Tol> is used to
//! test for 3d points confusion.
//! If <First> >= <Last>
Standard_EXPORT Handle(Adaptor3d_Curve) Trim(const Standard_Real First,
@@ -135,7 +135,7 @@ public:
Standard_EXPORT gp_Vec DN(const Standard_Real U,
const Standard_Integer N) const Standard_OVERRIDE;
//! Returns the parametric resolution corresponding
//! Returns the parametric resolution corresponding
//! to the real space resolution <R3d>.
Standard_EXPORT Standard_Real Resolution(const Standard_Real R3d) const Standard_OVERRIDE;
@@ -45,7 +45,7 @@ DEFINE_STANDARD_HANDLE(Adaptor3d_Surface, Standard_Transient)
//! The Surface class describes the standard behaviour
//! of a surface for generic algorithms.
//!
//! The Surface can be decomposed in intervals of any
//! The Surface can be decomposed in intervals of any
//! continuity in U and V using the method NbIntervals.
//! A current interval can be set.
//! Most of the methods apply to the current interval.
@@ -168,7 +168,7 @@ public:
//! Computes the derivative of order Nu in the direction U and Nv
//! in the direction V at the point P(U, V).
//! Raised if the current U interval is not not CNu
//! Raised if the current U interval is not not CNu
//! and the current V interval is not CNv.
//! Raised if Nu + Nv < 1 or Nu < 0 or Nv < 0.
Standard_EXPORT virtual gp_Vec DN(const Standard_Real U,
@@ -58,7 +58,7 @@ public:
//! the order in which each Subspace appears should be consistent
//! with the tolerances given in the create function and the
//! results will be given in that order as well that is :
//! Curve2d(n) will correspond to the nth entry
//! Curve2d(n) will correspond to the nth entry
//! described by Num2DSS, Curve(n) will correspond to
//! the nth entry described by Num3DSS
//! The same type of schema applies to the Poles1d, Poles2d and
@@ -25,10 +25,10 @@ class gp_Circ;
class gp_Pnt;
class gp_Lin;
//! Computes the global properties of bounded curves
//! Computes the global properties of bounded curves
//! in 3D space.
//! It can be an elementary curve from package gp such as
//! Lin, Circ, Elips, Parab .
//! Lin, Circ, Elips, Parab
class GProp_CelGProps : public GProp_GProps
{
public:
@@ -39,7 +39,7 @@ class GProp_PrincipalProps;
//! the properties of your system using the method Add.
//!
//! To compute the global properties of the geometric components of
//! the system you should use the services of the following classes :
//! the system you should use the services of the following classes :
//! - class PGProps for a set of points,
//! - class CGProps for a curve,
//! - class SGProps for a surface,
@@ -54,7 +54,7 @@ class GProp_PrincipalProps;
//! - the moments of inertia (static moments and quadratic moments),
//! - the moment about an axis,
//! - the radius of gyration about an axis,
//! - the principal properties of inertia :
//! - the principal properties of inertia :
//! (sea also class PrincipalProps)
//! . the principal moments,
//! . the principal axis of inertia,
@@ -88,7 +88,7 @@ class GProp_PrincipalProps;
//! gp_Pnt G = System.CentreOfMass ();
//!
//! //computes the principales inertia of the system
//! GProp_PrincipalProps Pp = System.PrincipalProperties();
//! GProp_PrincipalProps Pp = System.PrincipalProperties();
//!
//! //returns the principal moments and radius of gyration
//! Real Ixx, Iyy, Izz, Rxx, Ryy, Rzz;
@@ -54,18 +54,18 @@ public:
Standard_EXPORT GProp_PEquation(const TColgp_Array1OfPnt& Pnts, const Standard_Real Tol);
//! Returns true if, according to the given
//! tolerance, the points analyzed by this framework are coplanar.
//! Use the function Plane to access the computed result.
//! tolerance, the points analyzed by this framework are coplanar.
//! Use the function Plane to access the computed result.
Standard_EXPORT Standard_Boolean IsPlanar() const;
//! Returns true if, according to the given
//! tolerance, the points analyzed by this framework are colinear.
//! Use the function Line to access the computed result.
//! tolerance, the points analyzed by this framework are colinear.
//! Use the function Line to access the computed result.
Standard_EXPORT Standard_Boolean IsLinear() const;
//! Returns true if, according to the given
//! tolerance, the points analyzed by this framework are coincident.
//! Use the function Point to access the computed result.
//! tolerance, the points analyzed by this framework are coincident.
//! Use the function Point to access the computed result.
Standard_EXPORT Standard_Boolean IsPoint() const;
//! Returns true if, according to the given
@@ -125,7 +125,7 @@ public:
//! second and the third axis of symmetry are undefined.
Standard_EXPORT const gp_Vec& ThirdAxisOfInertia() const;
//! Returns the principal radii of gyration Rxx, Ryy
//! Returns the principal radii of gyration Rxx, Ryy
//! and Rzz are the radii of gyration of the current
//! system about its three principal axes of inertia.
//! Note that:
@@ -86,7 +86,7 @@ public:
//! then "XDirection" is computed as follow :
//! XDirection = Direction ^ ( Vx ^ Direction).
//! The main direction is not modified.
//! Raised if Vx and "Direction" are parallel.
//! Raised if Vx and "Direction" are parallel.
Standard_EXPORT void SetXDirection(const gp_Dir& Vx);
//! Changes the "YDirection" of the axis placement, Vy is the
@@ -109,7 +109,7 @@ public:
//! Transforms an axis placement with a Trsf.
//! The "Location" point, the "XDirection" and the
//! "YDirection" are transformed with T. The resulting
//! "YDirection" are transformed with T. The resulting
//! main "Direction" of <me> is the cross product between
//! the "XDirection" and the "YDirection" after transformation.
Standard_EXPORT void Transform(const gp_Trsf& T) Standard_OVERRIDE;
@@ -34,7 +34,7 @@ DEFINE_STANDARD_HANDLE(Geom_AxisPlacement, Geom_Geometry)
//! The Geom package provides two implementations of
//! 3D positioning systems:
//! - the axis (Geom_Axis1Placement class), which is defined by:
//! - its origin, also termed the "Location point" of the axis,
//! - its origin, also termed the "Location point" of the axis,
//! - its unit vector, termed the "Direction" or "main
//! Direction" of the axis;
//! - the right-handed coordinate system
@@ -79,7 +79,7 @@ public:
//! to calculate the new "XDirection" and the new "YDirection".
Standard_EXPORT virtual void SetDirection(const gp_Dir& V) = 0;
//! Assigns the point P as the origin of this positioning system.
//! Assigns the point P as the origin of this positioning system.
Standard_EXPORT void SetLocation(const gp_Pnt& P);
//! Computes the angular value, in radians, between the
@@ -384,7 +384,7 @@ public:
Standard_EXPORT void SetOrigin(const Standard_Integer Index);
//! Set the origin of a periodic curve at Knot U. If U
//! is not a knot of the BSpline a new knot is
//! is not a knot of the BSpline a new knot is
//! inserted. KnotVector and poles are modified.
//! Raised if the curve is not periodic
Standard_EXPORT void SetOrigin(const Standard_Real U, const Standard_Real Tol);
@@ -167,7 +167,7 @@ public:
//! 1 <= UMults(i) <= UDegree
//! On a non uperiodic surface the first and last
//! umultiplicities may be UDegree+1 (this is even
//! recommended if you want the curve to start and finish on
//! recommended if you want the curve to start and finish on
//! the first and last pole).
//! On a uperiodic surface the first and the last
//! umultiplicities must be the same.
@@ -187,7 +187,7 @@ public:
const Standard_Boolean UPeriodic = Standard_False,
const Standard_Boolean VPeriodic = Standard_False);
//! Creates a non-rational b-spline surface (weights
//! Creates a non-rational b-spline surface (weights
//! default value is 1.).
//!
//! The following conditions must be verified.
@@ -200,7 +200,7 @@ public:
//!
//! On a non uperiodic surface the first and last
//! umultiplicities may be UDegree+1 (this is even recommended
//! if you want the curve to start and finish on the first
//! if you want the curve to start and finish on the first
//! and last pole).
//!
//! On a uperiodic surface the first and the last
@@ -249,7 +249,7 @@ public:
//! surface must be closed in that parametric direction,
//! and the knot sequence relative to that direction must be periodic.
//! To generate this periodic sequence of knots, the
//! functions FirstUKnotIndex and LastUKnotIndex are used to
//! functions FirstUKnotIndex and LastUKnotIndex are used to
//! compute I1 and I2. These are the indexes, in the
//! knot array associated with the given parametric
//! direction, of the knots that correspond to the first and
@@ -341,7 +341,7 @@ public:
//! Computes the u parameter on the modified
//! surface, produced by reversing its U parametric
//! direction, for the point of u parameter U, on this BSpline surface.
//! direction, for the point of u parameter U, on this BSpline surface.
//! For a BSpline surface, these functions return respectively:
//! - UFirst + ULast - U,
//! where UFirst, ULast are
@@ -493,7 +493,7 @@ public:
const Standard_Integer M);
//! Increments the multiplicity of the consecutives uknots FromI1..ToI2
//! by step. The multiplicity of each knot FromI1,.....,ToI2 must be
//! by step. The multiplicity of each knot FromI1,.....,ToI2 must be
//! lower or equal to the UDegree of the B_spline.
//!
//! Raised if FromI1 or ToI2 is not in the range
@@ -531,7 +531,7 @@ public:
const Standard_Integer M);
//! Increments the multiplicity of the consecutives vknots FromI1..ToI2
//! by step. The multiplicity of each knot FromI1,.....,ToI2 must be
//! by step. The multiplicity of each knot FromI1,.....,ToI2 must be
//! lower or equal to the VDegree of the B_spline.
//!
//! Raised if FromI1 or ToI2 is not in the range
@@ -634,7 +634,7 @@ public:
//!
//! Raised if there is an index such that UK (Index+1) <= UK (Index).
//!
//! Raised if UK.Lower() < 1 or UK.Upper() > NbUKnots
//! Raised if UK.Lower() < 1 or UK.Upper() > NbUKnots
Standard_EXPORT void SetUKnots(const TColStd_Array1OfReal& UK);
//! Changes the value of the UKnots of range UIndex and
@@ -662,7 +662,7 @@ public:
//!
//! Raised if there is an index such that VK (Index+1) <= VK (Index).
//!
//! Raised if VK.Lower() < 1 or VK.Upper() > NbVKnots
//! Raised if VK.Lower() < 1 or VK.Upper() > NbVKnots
Standard_EXPORT void SetVKnots(const TColStd_Array1OfReal& VK);
//! Changes the value of the VKnots of range VIndex and increases
@@ -681,12 +681,12 @@ public:
//! Locates the parametric value U in the sequence of UKnots.
//! If "WithKnotRepetition" is True we consider the knot's
//! representation with repetition of multiple knot value,
//! otherwise we consider the knot's representation with
//! otherwise we consider the knot's representation with
//! no repetition of multiple knot values.
//! UKnots (I1) <= U <= UKnots (I2)
//! . if I1 = I2 U is a knot value (the tolerance criterion
//! . if I1 = I2 U is a knot value (the tolerance criterion
//! ParametricTolerance is used).
//! . if I1 < 1 => U < UKnots(1) - Abs(ParametricTolerance)
//! . if I1 < 1 => U < UKnots(1) - Abs(ParametricTolerance)
//! . if I2 > NbUKnots => U > UKnots(NbUKnots)+Abs(ParametricTolerance)
Standard_EXPORT void LocateU(const Standard_Real U,
const Standard_Real ParametricTolerance,
@@ -697,12 +697,12 @@ public:
//! Locates the parametric value V in the sequence of knots.
//! If "WithKnotRepetition" is True we consider the knot's
//! representation with repetition of multiple knot value,
//! otherwise we consider the knot's representation with
//! otherwise we consider the knot's representation with
//! no repetition of multiple knot values.
//! VKnots (I1) <= V <= VKnots (I2)
//! . if I1 = I2 V is a knot value (the tolerance criterion
//! . if I1 = I2 V is a knot value (the tolerance criterion
//! ParametricTolerance is used).
//! . if I1 < 1 => V < VKnots(1) - Abs(ParametricTolerance)
//! . if I1 < 1 => V < VKnots(1) - Abs(ParametricTolerance)
//! . if I2 > NbVKnots => V > VKnots(NbVKnots)+Abs(ParametricTolerance)
//! poles insertion and removing
//! The following methods are available only if the surface
@@ -807,13 +807,13 @@ public:
//!
//! Raised if CPoleWeights.Lower() < 1 or
//! CPoleWeights.Upper() > NbVPoles.
//! Raised if a weight value is lower or equal to Resolution
//! Raised if a weight value is lower or equal to Resolution
//! from package gp.
Standard_EXPORT void SetWeightRow(const Standard_Integer UIndex,
const TColStd_Array1OfReal& CPoleWeights);
//! Move a point with parameter U and V to P.
//! given u,v as parameters) to reach a new position
//! given u,v as parameters) to reach a new position
//! UIndex1, UIndex2, VIndex1, VIndex2:
//! indicates the poles which can be moved
//! if Problem in BSplineBasis calculation, no change
@@ -850,12 +850,12 @@ public:
Standard_EXPORT Standard_Boolean IsVClosed() const Standard_OVERRIDE;
//! Returns True if the order of continuity of the surface in the
//! U direction is N.
//! U direction is N.
//! Raised if N < 0.
Standard_EXPORT Standard_Boolean IsCNu(const Standard_Integer N) const Standard_OVERRIDE;
//! Returns True if the order of continuity of the surface
//! in the V direction is N.
//! in the V direction is N.
//! Raised if N < 0.
Standard_EXPORT Standard_Boolean IsCNv(const Standard_Integer N) const Standard_OVERRIDE;
@@ -974,7 +974,7 @@ public:
Standard_EXPORT Standard_Real UKnot(const Standard_Integer UIndex) const;
//! Returns NonUniform or Uniform or QuasiUniform or
//! PiecewiseBezier. If all the knots differ by a
//! PiecewiseBezier. If all the knots differ by a
//! positive constant from the preceding knot in the U
//! direction the B-spline surface can be :
//! - Uniform if all the knots are of multiplicity 1,
@@ -1044,7 +1044,7 @@ public:
//! except for the first and last knot which are of
//! multiplicity Degree + 1,
//! - PiecewiseBezier if the first and last knots have
//! multiplicity Degree + 1 and if interior knots have
//! multiplicity Degree + 1 and if interior knots have
//! multiplicity Degree
//! otherwise the surface is non uniform in the V direction.
//! The tolerance criterion is Resolution from package gp.
@@ -1153,7 +1153,7 @@ public:
//! parametric values (U, V) and the derivatives at
//! this point on the B-spline surface patch delimited
//! with the knots FromUK1, FromVK1 and the knots ToUK2,
//! ToVK2. (U, V) can be out of these parametric bounds
//! ToVK2. (U, V) can be out of these parametric bounds
//! but for the computation we only use the definition
//! of the surface between these knots. This method is
//! useful to compute local derivative, if the order of
@@ -1241,7 +1241,7 @@ public:
//! Computes the point of parameter U, V on the BSpline surface patch
//! defines between the knots UK1 UK2, VK1, VK2. U can be out of the
//! bounds [Knot UK1, Knot UK2] and V can be outof the bounds
//! [Knot VK1, Knot VK2] but for the computation we only use the
//! [Knot VK1, Knot VK2] but for the computation we only use the
//! definition of the surface between these knot values.
//! Raises if FromUK1 = ToUK2 or FromVK1 = ToVK2.
Standard_EXPORT gp_Pnt LocalValue(const Standard_Real U,
@@ -1319,11 +1319,11 @@ protected:
const Standard_Boolean SegmentInV);
private:
//! Recompute the flatknots, the knotsdistribution, the
//! Recompute the flatknots, the knotsdistribution, the
//! continuity for U.
Standard_EXPORT void UpdateUKnots();
//! Recompute the flatknots, the knotsdistribution, the
//! Recompute the flatknots, the knotsdistribution, the
//! continuity for V.
Standard_EXPORT void UpdateVKnots();
@@ -89,16 +89,16 @@ class Geom_BezierCurve : public Geom_BoundedCurve
public:
//! Creates a non rational Bezier curve with a set of poles
//! CurvePoles. The weights are defaulted to all being 1.
//! CurvePoles. The weights are defaulted to all being 1.
//! Raises ConstructionError if the number of poles is greater than MaxDegree + 1
//! or lower than 2.
Standard_EXPORT Geom_BezierCurve(const TColgp_Array1OfPnt& CurvePoles);
//! Creates a rational Bezier curve with the set of poles
//! CurvePoles and the set of weights PoleWeights .
//! CurvePoles and the set of weights PoleWeights.
//! If all the weights are identical the curve is considered
//! as non rational. Raises ConstructionError if
//! the number of poles is greater than MaxDegree + 1 or lower
//! the number of poles is greater than MaxDegree + 1 or lower
//! than 2 or CurvePoles and CurveWeights have not the same length
//! or one weight value is lower or equal to Resolution from package gp.
Standard_EXPORT Geom_BezierCurve(const TColgp_Array1OfPnt& CurvePoles,
@@ -164,10 +164,10 @@ public:
Standard_EXPORT void RemovePole(const Standard_Integer Index);
//! Reverses the direction of parametrization of <me>
//! Value (NewU) = Value (1 - OldU)
//! Value (NewU) = Value (1 - OldU)
Standard_EXPORT void Reverse() Standard_OVERRIDE;
//! Returns the parameter on the reversed curve for
//! Returns the parameter on the reversed curve for
//! the point of parameter U on <me>.
//!
//! returns 1-U
@@ -273,12 +273,12 @@ public:
//! Returns Value (U=1.), it is the last control point of the Bezier curve.
Standard_EXPORT gp_Pnt EndPoint() const Standard_OVERRIDE;
//! Returns the value of the first parameter of this
//! Returns the value of the first parameter of this
//! Bezier curve. This is 0.0, which gives the start point of this Bezier curve
Standard_EXPORT Standard_Real FirstParameter() const Standard_OVERRIDE;
//! Returns the value of the last parameter of this
//! Bezier curve. This is 1.0, which gives the end point of this Bezier curve.
//! Bezier curve. This is 1.0, which gives the end point of this Bezier curve.
Standard_EXPORT Standard_Real LastParameter() const Standard_OVERRIDE;
//! Returns the number of poles of this Bezier curve.
@@ -159,7 +159,7 @@ public:
//! Increases the degree of this Bezier surface in the two parametric directions.
//!
//! Raised if UDegree < UDegree <me> or VDegree < VDegree <me>
//! Raised if UDegree < UDegree <me> or VDegree < VDegree <me>
//! Raised if the degree of the surface is greater than MaxDegree
//! in one of the two directions U or V.
Standard_EXPORT void Increase(const Standard_Integer UDeg, const Standard_Integer VDeg);
@@ -302,7 +302,7 @@ public:
//! If the surface is rational the weight of range (UIndex, VIndex)
//! is not modified.
//!
//! Raised if UIndex < 1 or UIndex > NbUPoles or VIndex < 1
//! Raised if UIndex < 1 or UIndex > NbUPoles or VIndex < 1
//! or VIndex > NbVPoles.
Standard_EXPORT void SetPole(const Standard_Integer UIndex,
const Standard_Integer VIndex,
@@ -312,7 +312,7 @@ public:
//! If the surface <me> is not rational it can become rational.
//! if the surface was rational it can become non-rational.
//!
//! raises if UIndex < 1 or UIndex > NbUPoles or VIndex < 1
//! raises if UIndex < 1 or UIndex > NbUPoles or VIndex < 1
//! or VIndex > NbVPoles.
//! Raised if Weight <= Resolution from package gp.
Standard_EXPORT void SetPole(const Standard_Integer UIndex,
@@ -323,7 +323,7 @@ public:
//! Modifies a column of poles.
//! The length of CPoles can be lower but not greater than NbUPoles
//! so you can modify just a part of the column.
//! Raised if VIndex < 1 or VIndex > NbVPoles
//! Raised if VIndex < 1 or VIndex > NbVPoles
//!
//! Raised if CPoles.Lower() < 1 or CPoles.Upper() > NbUPoles
Standard_EXPORT void SetPoleCol(const Standard_Integer VIndex, const TColgp_Array1OfPnt& CPoles);
@@ -333,7 +333,7 @@ public:
//! If the surface was non-rational it can become rational.
//! The length of CPoles can be lower but not greater than NbUPoles
//! so you can modify just a part of the column.
//! Raised if VIndex < 1 or VIndex > NbVPoles
//! Raised if VIndex < 1 or VIndex > NbVPoles
//!
//! Raised if CPoles.Lower() < 1 or CPoles.Upper() > NbUPoles
//! Raised if CPoleWeights and CPoles have not the same bounds.
@@ -346,7 +346,7 @@ public:
//! Modifies a row of poles.
//! The length of CPoles can be lower but not greater than NbVPoles
//! so you can modify just a part of the row.
//! Raised if UIndex < 1 or UIndex > NbUPoles
//! Raised if UIndex < 1 or UIndex > NbUPoles
//!
//! Raised if CPoles.Lower() < 1 or CPoles.Upper() > NbVPoles
Standard_EXPORT void SetPoleRow(const Standard_Integer UIndex, const TColgp_Array1OfPnt& CPoles);
@@ -356,7 +356,7 @@ public:
//! If the surface was non-rational it can become rational.
//! The length of CPoles can be lower but not greater than NbVPoles
//! so you can modify just a part of the row.
//! Raised if UIndex < 1 or UIndex > NbUPoles
//! Raised if UIndex < 1 or UIndex > NbUPoles
//!
//! Raised if CPoles.Lower() < 1 or CPoles.Upper() > NbVPoles
//! Raised if CPoleWeights and CPoles have not the same bounds.
@@ -370,7 +370,7 @@ public:
//! If the surface was non-rational it can become rational.
//! If the surface was rational it can become non-rational.
//!
//! Raised if UIndex < 1 or UIndex > NbUPoles or VIndex < 1 or
//! Raised if UIndex < 1 or UIndex > NbUPoles or VIndex < 1 or
//! VIndex > NbVPoles.
//! Raised if Weight <= Resolution from package gp.
Standard_EXPORT void SetWeight(const Standard_Integer UIndex,
@@ -382,7 +382,7 @@ public:
//! If the surface was non-rational it can become rational.
//! The length of CPoleWeights can be lower but not greater than
//! NbUPoles.
//! Raised if VIndex < 1 or VIndex > NbVPoles
//! Raised if VIndex < 1 or VIndex > NbVPoles
//!
//! Raised if CPoleWeights.Lower() < 1 or CPoleWeights.Upper() >
//! NbUPoles
@@ -396,7 +396,7 @@ public:
//! If the surface was non-rational it can become rational.
//! The length of CPoleWeights can be lower but not greater than
//! NbVPoles.
//! Raised if UIndex < 1 or UIndex > NbUPoles
//! Raised if UIndex < 1 or UIndex > NbUPoles
//!
//! Raised if CPoleWeights.Lower() < 1 or CPoleWeights.Upper() >
//! NbVPoles
@@ -406,7 +406,7 @@ public:
const TColStd_Array1OfReal& CPoleWeights);
//! Changes the orientation of this Bezier surface in the
//! u parametric direction. The bounds of the
//! u parametric direction. The bounds of the
//! surface are not changed, but the given parametric
//! direction is reversed. Hence, the orientation of the surface is reversed.
Standard_EXPORT void UReverse() Standard_OVERRIDE;
@@ -533,7 +533,7 @@ public:
Standard_EXPORT Standard_Integer VDegree() const;
//! Computes the V isoparametric curve. For a Bezier surface the
//! VIso curve is a Bezier curve.
//! VIso curve is a Bezier curve.
Standard_EXPORT Handle(Geom_Curve) VIso(const Standard_Real V) const Standard_OVERRIDE;
//! Returns the weight of range UIndex, VIndex
@@ -567,10 +567,10 @@ public:
//! The tolerance criterion is Resolution from package gp.
Standard_EXPORT Standard_Boolean IsVClosed() const Standard_OVERRIDE;
//! Returns True, a Bezier surface is always CN
//! Returns True, a Bezier surface is always CN
Standard_EXPORT Standard_Boolean IsCNu(const Standard_Integer N) const Standard_OVERRIDE;
//! Returns True, a BezierSurface is always CN
//! Returns True, a BezierSurface is always CN
Standard_EXPORT Standard_Boolean IsCNv(const Standard_Integer N) const Standard_OVERRIDE;
//! Returns False.
@@ -632,11 +632,9 @@ private:
const Standard_Boolean IsURational,
const Standard_Boolean IsVRational);
//! Set poles to Poles, weights to Weights (not
//! copied).
//! Create the arrays of coefficients. Poles
//! and Weights are assumed to have the first
//! coefficient 1.
//! Set poles to Poles, weights to Weights (not copied).
//! Create the arrays of coefficients. Poles and Weights
//! are assumed to have the first coefficient 1.
//!
//! if nbpoles < 2 or nbpoles > MaDegree
void Init(const Handle(TColgp_HArray2OfPnt)& Poles, const Handle(TColStd_HArray2OfReal)& Weights);
+2 -2
View File
@@ -98,11 +98,11 @@ public:
//! For a circle, the returned value is: 2.*Pi - U.
Standard_EXPORT Standard_Real ReversedParameter(const Standard_Real U) const Standard_OVERRIDE;
//! Returns the eccentricity e = 0 for a circle.
//! Returns the eccentricity e = 0 for a circle.
Standard_EXPORT Standard_Real Eccentricity() const Standard_OVERRIDE;
//! Returns the value of the first parameter of this
//! circle. This is 0.0, which gives the start point of this circle, or
//! circle. This is 0.0, which gives the start point of this circle, or
//! The start point and end point of a circle are coincident.
Standard_EXPORT Standard_Real FirstParameter() const Standard_OVERRIDE;
+2 -2
View File
@@ -79,7 +79,7 @@ public:
//! Returns the eccentricity value of the conic e.
//! e = 0 for a circle
//! 0 < e < 1 for an ellipse (e = 0 if MajorRadius = MinorRadius)
//! 0 < e < 1 for an ellipse (e = 0 if MajorRadius = MinorRadius)
//! e > 1 for a hyperbola
//! e = 1 for a parabola
//! Exceptions
@@ -102,7 +102,7 @@ public:
//! The local coordinate system of the conic is modified.
Standard_EXPORT void Reverse() Standard_OVERRIDE;
//! Returns the parameter on the reversed curve for
//! Returns the parameter on the reversed curve for
//! the point of parameter U on <me>.
Standard_EXPORT virtual Standard_Real ReversedParameter(const Standard_Real U) const
Standard_OVERRIDE = 0;
@@ -70,7 +70,7 @@ DEFINE_STANDARD_HANDLE(Geom_ConicalSurface, Geom_ElementarySurface)
//! - O, XDir, YDir and ZDir are respectively
//! the origin, the "X Direction", the "Y Direction" and
//! the "Z Direction" of the cone's local coordinate system,
//! - Ang is the half-angle at the apex of the cone, and
//! - Ang is the half-angle at the apex of the cone, and
//! - R is the reference radius.
class Geom_ConicalSurface : public Geom_ElementarySurface
{
+6 -6
View File
@@ -68,7 +68,7 @@ public:
//! curve becomes the StartPoint of the reversed curve.
Standard_EXPORT virtual void Reverse() = 0;
//! Returns the parameter on the reversed curve for
//! Returns the parameter on the reversed curve for
//! the point of parameter U on <me>.
//!
//! me->Reversed()->Value(me->ReversedParameter(U))
@@ -144,10 +144,10 @@ public:
//! . the curve is always periodic by definition (Circle)
//! . the curve can be defined as periodic (BSpline). In this case
//! a function SetPeriodic allows you to give the shape of the
//! curve. The general rule for this case is : if a curve can be
//! curve. The general rule for this case is : if a curve can be
//! periodic or not the default periodicity set is non periodic
//! and you have to turn (explicitly) the curve into a periodic
//! curve if you want the curve to be periodic.
//! curve if you want the curve to be periodic.
Standard_EXPORT virtual Standard_Boolean IsPeriodic() const = 0;
//! Returns the period of this curve.
@@ -165,7 +165,7 @@ public:
Standard_EXPORT virtual GeomAbs_Shape Continuity() const = 0;
//! Returns true if the degree of continuity of this curve is at least N.
//! Exceptions - Standard_RangeError if N is less than 0.
//! Exceptions - Standard_RangeError if N is less than 0.
Standard_EXPORT virtual Standard_Boolean IsCN(const Standard_Integer N) const = 0;
//! Returns in P the point of parameter U.
@@ -210,8 +210,8 @@ public:
Standard_EXPORT virtual gp_Vec DN(const Standard_Real U, const Standard_Integer N) const = 0;
//! Computes the point of parameter U on <me>.
//! If the curve is periodic then the returned point is P(U) with
//! U = Ustart + (U - Uend) where Ustart and Uend are the
//! If the curve is periodic then the returned point is P(U) with
//! U = Ustart + (U - Uend) where Ustart and Uend are the
//! parametric bounds of the curve.
//! it is implemented with D0.
//!
@@ -50,7 +50,7 @@ DEFINE_STANDARD_HANDLE(Geom_CylindricalSurface, Geom_ElementarySurface)
//!
//! The parametrization range is :
//! @code
//! U [0, 2*PI], V ]- infinite, + infinite[
//! U [0, 2*PI], V ]- infinite, + infinite[
//! @endcode
//!
//! The "XAxis" and the "YAxis" define the placement plane of the
@@ -93,12 +93,12 @@ public:
//! returns a non transient cylinder with the same geometric properties as <me>.
Standard_EXPORT gp_Cylinder Cylinder() const;
//! Return the parameter on the Ureversed surface for
//! Return the parameter on the Ureversed surface for
//! the point of parameter U on <me>.
//! Return 2.PI - U.
Standard_EXPORT Standard_Real UReversedParameter(const Standard_Real U) const Standard_OVERRIDE;
//! Return the parameter on the Vreversed surface for
//! Return the parameter on the Vreversed surface for
//! the point of parameter V on <me>.
//! Return -V
Standard_EXPORT Standard_Real VReversedParameter(const Standard_Real V) const Standard_OVERRIDE;
@@ -188,7 +188,7 @@ public:
//! The center of the circle is on the symmetry axis.
Standard_EXPORT Handle(Geom_Curve) VIso(const Standard_Real V) const Standard_OVERRIDE;
//! Computes the point P (U, V) on the surface.
//! Computes the point P (U, V) on the surface.
//! P (U, V) = Loc + Radius * (cos (U) * XDir + sin (U) * YDir) +
//! V * ZDir
//! where Loc is the origin of the placement plane (XAxis, YAxis)
+3 -3
View File
@@ -131,7 +131,7 @@ public:
//! circle).
Standard_EXPORT gp_Ax1 Directrix2() const;
//! Returns the eccentricity of the ellipse between 0.0 and 1.0
//! Returns the eccentricity of the ellipse between 0.0 and 1.0
//! If f is the distance between the center of the ellipse and
//! the Focus1 then the eccentricity e = f / MajorRadius.
//! Returns 0 if MajorRadius = 0
@@ -149,7 +149,7 @@ public:
//! the negative side of the "XAxis" of the ellipse.
Standard_EXPORT gp_Pnt Focus2() const;
//! Returns the major radius of this ellipse.
//! Returns the major radius of this ellipse.
Standard_EXPORT Standard_Real MajorRadius() const;
//! Returns the minor radius of this ellipse.
@@ -166,7 +166,7 @@ public:
//! The start point and end point of an ellipse are coincident.
Standard_EXPORT Standard_Real FirstParameter() const Standard_OVERRIDE;
//! Returns the value of the last parameter of this
//! Returns the value of the last parameter of this
//! ellipse. This is respectively:
//! - 2.*Pi, which gives the end point of this ellipse.
//! The start point and end point of an ellipse are coincident.
@@ -43,7 +43,7 @@ DEFINE_STANDARD_HANDLE(Geom_OffsetCurve, Geom_Curve)
//! a basis curve in a reference direction V. The offset curve
//! takes its parametrization from the basis curve.
//! The Offset curve is in the direction of the normal N
//! defined with the cross product T^V, where the vector T
//! defined with the cross product T^V, where the vector T
//! is given by the first derivative on the basis curve with
//! non zero length.
//! The distance offset may be positive or negative to indicate the
@@ -84,8 +84,8 @@ public:
//! direction (offset direction). If P is a point on the basis
//! curve and T the first derivative with non zero length
//! at this point, the corresponding point on the offset curve is
//! in the direction of the vector-product N = V ^ T where
//! N is a unitary vector.
//! in the direction of the vector-product N = V ^ T
//! where N is a unitary vector.
//! If isNotCheckC0 = TRUE checking if basis curve has C0-continuity
//! is not made.
//! Warnings :
@@ -238,7 +238,7 @@ public:
//! Returns true if the degree of continuity of the basis
//! curve of this offset curve is at least N + 1.
//! This method answer True if the continuity of the basis curve
//! is N + 1. We suppose in this class that a normal direction
//! is N + 1. We suppose in this class that a normal direction
//! to the basis curve (used to compute the offset curve) is
//! defined at any point on the basis curve.
//! Raised if N < 0.
@@ -258,7 +258,7 @@ public:
//! Note: the basis curve is also modified.
Standard_EXPORT void Transform(const gp_Trsf& T) Standard_OVERRIDE;
//! Returns the parameter on the transformed curve for
//! Returns the parameter on the transformed curve for
//! the transform of the point of parameter U on <me>.
//! me->Transformed(T)->Value(me->TransformedParameter(U,T))
//! is the same point as
@@ -123,20 +123,20 @@ public:
//! are not changed but the given parametric direction is reversed.
Standard_EXPORT void UReverse() Standard_OVERRIDE;
//! Computes the u parameter on the modified
//! Computes the u parameter on the modified
//! surface, produced by reversing the u
//! parametric direction of this offset surface, for any
//! point of u parameter U on this offset surface.
//! point of u parameter U on this offset surface.
Standard_EXPORT Standard_Real UReversedParameter(const Standard_Real U) const Standard_OVERRIDE;
//! Changes the orientation of this offset surface in the v parametric direction. The bounds of
//! the surface are not changed but the given parametric direction is reversed.
Standard_EXPORT void VReverse() Standard_OVERRIDE;
//! Computes the v parameter on the modified
//! Computes the v parameter on the modified
//! surface, produced by reversing the or v
//! parametric direction of this offset surface, for any
//! point of v parameter V on this offset surface.
//! point of v parameter V on this offset surface.
Standard_EXPORT Standard_Real VReversedParameter(const Standard_Real V) const Standard_OVERRIDE;
//! Returns the parametric bounds U1, U2, V1 and V2 of
@@ -186,7 +186,7 @@ public:
//! the parametric bounds in the u parametric direction,
//! the distance between the points P(uFirst,v)
//! and P(uLast,v) is less than or equal to
//! gp::Resolution() for each value of the parameter v.
//! gp::Resolution() for each value of the parameter v.
Standard_EXPORT Standard_Boolean IsUClosed() const Standard_OVERRIDE;
//! Checks whether this offset surface is closed in the u
@@ -369,7 +369,7 @@ public:
//! if Standard_True, L is the local osculating surface
//! along V at the point U,V.
//! It means that DL/DV is collinear to DS/DV.
//! It means that DL/DV is collinear to DS/DV.
//! If IsOpposite == Standard_True
//! these vectors have opposite direction.
Standard_EXPORT Standard_Boolean
@@ -158,7 +158,7 @@ public:
//! Returns in P the point of parameter U.
//! If U = 0 the returned point is the origin of the XAxis and
//! the YAxis of the parabola and it is the vertex of the parabola.
//! P = S + F * (U * U * XDir + * U * YDir)
//! P = S + F * (U * U * XDir + * U * YDir)
//! where S is the vertex of the parabola, XDir the XDirection and
//! YDir the YDirection of the parabola's local coordinate system.
Standard_EXPORT void D0(const Standard_Real U, gp_Pnt& P) const Standard_OVERRIDE;
@@ -190,7 +190,7 @@ public:
//! Applies the transformation T to this parabola.
Standard_EXPORT void Transform(const gp_Trsf& T) Standard_OVERRIDE;
//! Returns the parameter on the transformed curve for
//! Returns the parameter on the transformed curve for
//! the transform of the point of parameter U on <me>.
//!
//! me->Transformed(T)->Value(me->TransformedParameter(U,T))
@@ -203,8 +203,8 @@ public:
Standard_EXPORT Standard_Real TransformedParameter(const Standard_Real U,
const gp_Trsf& T) const Standard_OVERRIDE;
//! Returns a coefficient to compute the parameter on
//! the transformed curve for the transform of the
//! Returns a coefficient to compute the parameter on
//! the transformed curve for the transform of the
//! point on <me>.
//!
//! Transformed(T)->Value(U * ParametricTransformation(T))
+4 -4
View File
@@ -67,7 +67,7 @@ class Geom_Plane : public Geom_ElementarySurface
public:
//! Creates a plane located in 3D space with an axis placement three axis.
//! The "ZDirection" of "A3" is the direction normal
//! to the plane. The "Location" point of "A3" is the origin of the plane.
//! to the plane. The "Location" point of "A3" is the origin of the plane.
//! The "XDirection" and "YDirection" of "A3" define
//! the directions of the U isoparametric and V isoparametric curves.
Standard_EXPORT Geom_Plane(const gp_Ax3& A3);
@@ -100,7 +100,7 @@ public:
//! Hence the orientation of the surface is reversed.
Standard_EXPORT virtual void UReverse() Standard_OVERRIDE;
//! Computes the u parameter on the modified plane,
//! Computes the u parameter on the modified plane,
//! produced when reversing the u parametric of this plane,
//! for any point of u parameter U on this plane.
//! In the case of a plane, these methods return - -U.
@@ -154,8 +154,8 @@ public:
//! Returns the parametric bounds U1, U2, V1 and V2 of this plane.
//! Because a plane is an infinite surface, the following is always true:
//! - U1 = V1 = Standard_Real::RealFirst()
//! - U2 = V2 = Standard_Real::RealLast().
//! - U1 = V1 = Standard_Real::RealFirst()
//! - U2 = V2 = Standard_Real::RealLast().
Standard_EXPORT void Bounds(Standard_Real& U1,
Standard_Real& U2,
Standard_Real& V1,
+1 -1
View File
@@ -46,7 +46,7 @@ public:
//! returns the X coordinate of <me>.
Standard_EXPORT virtual Standard_Real X() const = 0;
//! returns the Y coordinate of <me>.
//! returns the Y coordinate of <me>.
Standard_EXPORT virtual Standard_Real Y() const = 0;
//! returns the Z coordinate of <me>.
@@ -165,7 +165,7 @@ public:
//! reversed. Hence the orientation of the surface is reversed.
Standard_EXPORT void UReverse() Standard_OVERRIDE;
//! Computes the u parameter on the modified
//! Computes the u parameter on the modified
//! surface, produced by when reversing its u
//! parametric direction, for any point of u parameter U on this patch.
Standard_EXPORT Standard_Real UReversedParameter(const Standard_Real U) const Standard_OVERRIDE;
@@ -176,7 +176,7 @@ public:
//! reversed. Hence the orientation of the surface is reversed.
Standard_EXPORT void VReverse() Standard_OVERRIDE;
//! Computes the v parameter on the modified
//! Computes the v parameter on the modified
//! surface, produced by when reversing its v
//! parametric direction, for any point of v parameter V on this patch.
Standard_EXPORT Standard_Real VReversedParameter(const Standard_Real V) const Standard_OVERRIDE;
@@ -187,7 +187,7 @@ public:
Standard_Real& V1,
Standard_Real& V2) const Standard_OVERRIDE;
//! Returns the continuity of the surface :
//! Returns the continuity of the surface :
//! C0 : only geometric continuity,
//! C1 : continuity of the first derivative all along the Surface,
//! C2 : continuity of the second derivative all along the Surface,
@@ -244,7 +244,7 @@ public:
//! The returned derivatives have the same orientation as the
//! derivatives of the basis surface even if the trimmed surface
//! has not the same parametric orientation.
//! Warning! UndefinedDerivative raised if the continuity of the surface is not C1.
//! Warning! UndefinedDerivative raised if the continuity of the surface is not C1.
Standard_EXPORT void D1(const Standard_Real U,
const Standard_Real V,
gp_Pnt& P,
@@ -284,7 +284,7 @@ public:
//! The returned derivative has the same orientation as the
//! derivative of the basis surface even if the trimmed surface
//! has not the same parametric orientation.
//! Warning! UndefinedDerivative raised if the continuity of the surface is not CNu in the U
//! Warning! UndefinedDerivative raised if the continuity of the surface is not CNu in the U
//! parametric direction and CNv in the V parametric direction.
//! RangeError Raised if Nu + Nv < 1 or Nu < 0 or Nv < 0.
Standard_EXPORT gp_Vec DN(const Standard_Real U,
@@ -298,7 +298,7 @@ public:
//! data structure of this patch is also modified.
Standard_EXPORT void Transform(const gp_Trsf& T) Standard_OVERRIDE;
//! Computes the parameters on the transformed surface for
//! Computes the parameters on the transformed surface for
//! the transform of the point of parameters U,V on <me>.
//! @code
//! me->Transformed(T)->Value(U',V')
@@ -316,7 +316,7 @@ public:
Standard_Real& V,
const gp_Trsf& T) const Standard_OVERRIDE;
//! Returns a 2d transformation used to find the new
//! Returns a 2d transformation used to find the new
//! parameters of a point on the transformed surface.
//! @code
//! me->Transformed(T)->Value(U',V')
@@ -325,7 +325,7 @@ public:
//! @code
//! me->Value(U,V).Transformed(T)
//! @endcode
//! Where U',V' are obtained by transforming U,V with
//! Where U',V' are obtained by transforming U,V with
//! the 2d transformation returned by
//! @code
//! me->ParametricTransformation(T)
@@ -107,7 +107,7 @@ public:
Standard_EXPORT gp_Sphere Sphere() const;
//! Computes the u parameter on the modified
//! surface, when reversing its u parametric
//! surface, when reversing its u parametric
//! direction, for any point of u parameter U on this sphere.
//! In the case of a sphere, these functions returns 2.PI - U.
Standard_EXPORT Standard_Real UReversedParameter(const Standard_Real U) const Standard_OVERRIDE;
@@ -115,7 +115,7 @@ public:
//! Computes the v parameter on the modified
//! surface, when reversing its v parametric
//! direction, for any point of v parameter V on this sphere.
//! In the case of a sphere, these functions returns -U.
//! In the case of a sphere, these functions returns -U.
Standard_EXPORT Standard_Real VReversedParameter(const Standard_Real V) const Standard_OVERRIDE;
//! Computes the area of the spherical surface.
@@ -177,18 +177,18 @@ public:
Standard_EXPORT Handle(Geom_Curve) UIso(const Standard_Real U) const Standard_OVERRIDE;
//! Computes the V isoparametric curve.
//! The V isoparametric curves of the surface are defined by
//! The V isoparametric curves of the surface are defined by
//! the section of the spherical surface with plane parallel to the
//! plane (Location, XAxis, YAxis). This plane defines the origin of
//! parametrization V.
//! Be careful if V is close to PI/2 or 3*PI/2 the radius of the
//! Be careful if V is close to PI/2 or 3*PI/2 the radius of the
//! circle becomes tiny. It is not forbidden in this toolkit to
//! create circle with radius = 0.0
//! For a SphericalSurface the VIso curve is a Circle.
//! Warnings : The radius of this circle can be zero.
Standard_EXPORT Handle(Geom_Curve) VIso(const Standard_Real V) const Standard_OVERRIDE;
//! Computes the point P (U, V) on the surface.
//! Computes the point P (U, V) on the surface.
//! P (U, V) = Loc + Radius * Sin (V) * Zdir +
//! Radius * Cos (V) * (cos (U) * XDir + sin (U) * YDir)
//! where Loc is the origin of the placement plane (XAxis, YAxis)
@@ -88,7 +88,7 @@ public:
Standard_EXPORT void SetBasisCurve(const Handle(Geom_Curve)& C);
//! Changes the orientation of this surface of linear
//! extrusion in the u parametric direction. The
//! extrusion in the u parametric direction. The
//! bounds of the surface are not changed, but the given
//! parametric direction is reversed. Hence the
//! orientation of the surface is reversed.
@@ -98,12 +98,12 @@ public:
Standard_EXPORT void UReverse() Standard_OVERRIDE;
//! Computes the u parameter on the modified
//! surface, produced by reversing its u parametric
//! direction, for any point of u parameter U on this surface of linear extrusion.
//! surface, produced by reversing its u parametric
//! direction, for any point of u parameter U on this surface of linear extrusion.
//! In the case of an extruded surface:
//! - UReverseParameter returns the reversed
//! parameter given by the function
//! ReversedParameter called with U on the basis curve,
//! ReversedParameter called with U on the basis curve,
Standard_EXPORT Standard_Real UReversedParameter(const Standard_Real U) const Standard_OVERRIDE;
//! Changes the orientation of this surface of linear
@@ -167,7 +167,7 @@ public:
//! extrusion, with the magnitude V.
Standard_EXPORT Handle(Geom_Curve) VIso(const Standard_Real V) const Standard_OVERRIDE;
//! Computes the point P (U, V) on the surface.
//! Computes the point P (U, V) on the surface.
//! The parameter U is the parameter on the extruded curve.
//! The parametrization V is a linear parametrization, and
//! the direction of parametrization is the direction of
@@ -256,7 +256,7 @@ public:
//! @code
//! me->Value(U,V).Transformed(T)
//! @endcode
//! Where U',V' are obtained by transforming U,V with
//! Where U',V' are obtained by transforming U,V with
//! the 2d transformation returned by
//! @code
//! me->ParametricTransformation(T)
@@ -77,7 +77,7 @@ class Geom_SurfaceOfRevolution : public Geom_SweptSurface
{
public:
//! C : is the meridian or the referenced curve.
//! C : is the meridian or the referenced curve.
//! A1 is the axis of revolution.
//! The form of a SurfaceOfRevolution can be :
//! . a general revolution surface (RevolutionForm),
@@ -143,7 +143,7 @@ public:
Standard_EXPORT gp_Ax2 ReferencePlane() const;
//! Changes the orientation of this surface of revolution
//! in the u parametric direction. The bounds of the
//! in the u parametric direction. The bounds of the
//! surface are not changed but the given parametric
//! direction is reversed. Hence the orientation of the
//! surface is reversed.
@@ -152,8 +152,8 @@ public:
//! revolution of this surface,
Standard_EXPORT void UReverse() Standard_OVERRIDE;
//! Computes the u parameter on the modified
//! surface, when reversing its u parametric
//! Computes the u parameter on the modified
//! surface, when reversing its u parametric
//! direction, for any point of u parameter U on this surface of revolution.
//! In the case of a revolved surface:
//! - UReversedParameter returns 2.*Pi - U
@@ -168,8 +168,8 @@ public:
//! - VReverse reverses the meridian of this surface of revolution.
Standard_EXPORT void VReverse() Standard_OVERRIDE;
//! Computes the v parameter on the modified
//! surface, when reversing its v parametric
//! Computes the v parameter on the modified
//! surface, when reversing its v parametric
//! direction, for any point of v parameter V on this surface of revolution.
//! In the case of a revolved surface:
//! - VReversedParameter returns the reversed
@@ -306,11 +306,11 @@ public:
//! Raised if Nu + Nv < 1 or Nu < 0 or Nv < 0.
//! The following functions evaluates the local derivatives
//! on surface. Useful to manage discontinuities on the surface.
//! if Side = 1 -> P = S( U+,V )
//! if Side = -1 -> P = S( U-,V )
//! else P is betveen discontinuities
//! if Side = 1 -> P = S( U+,V )
//! if Side = -1 -> P = S( U-,V )
//! else P is between discontinuities
//! can be evaluated using methods of
//! global evaluations P = S( U ,V )
//! global evaluations P = S( U ,V )
Standard_EXPORT gp_Vec DN(const Standard_Real U,
const Standard_Real V,
const Standard_Integer Nu,
@@ -155,7 +155,7 @@ public:
//! Coef(18) * Y**2 * X + Coef(19) * Y**2 * Z + Coef(20) * Z**2 * X +
//! Coef(21) * Z**2 * Y + Coef(22) * X**2 + Coef(23) * Y**2 +
//! Coef(24) * Z**2 + Coef(25) * X * Y + Coef(26) * X * Z +
//! Coef(27) * Y * Z + Coef(28) * X + Coef(29) * Y + Coef(30) * Z +
//! Coef(27) * Y * Z + Coef(28) * X + Coef(29) * Y + Coef(30) * Z +
//! Coef(31) = 0.0
//! Raised if the length of Coef is lower than 31.
Standard_EXPORT void Coefficients(TColStd_Array1OfReal& Coef) const;
@@ -186,7 +186,7 @@ public:
//! For a toroidal surface the UIso curve is a circle.
//! The center of the Uiso circle is at the distance MajorRadius
//! from the location point of the toroidal surface.
//! Warnings :
//! Warnings:
//! The radius of the circle can be zero if for the surface
//! MinorRadius = 0.0
Standard_EXPORT Handle(Geom_Curve) UIso(const Standard_Real U) const Standard_OVERRIDE;
@@ -195,13 +195,13 @@ public:
//!
//! For a ToroidalSurface the VIso curve is a circle.
//! The axis of the circle is the main axis (ZAxis) of the
//! toroidal surface.
//! Warnings :
//! toroidal surface.
//! Warnings:
//! The radius of the circle can be zero if for the surface
//! MajorRadius = MinorRadius
Standard_EXPORT Handle(Geom_Curve) VIso(const Standard_Real V) const Standard_OVERRIDE;
//! Computes the point P (U, V) on the surface.
//! Computes the point P (U, V) on the surface.
//! P (U, V) = Loc + MinorRadius * Sin (V) * Zdir +
//! (MajorRadius + MinorRadius * Cos(V)) *
//! (cos (U) * XDir + sin (U) * YDir)
@@ -81,7 +81,7 @@ public:
void SetMirror(const gp_Ax1& theA1) { gpTrsf.SetMirror(theA1); }
//! Makes the transformation into a symmetrical transformation
//! with respect to a plane. The plane of the symmetry is
//! with respect to a plane. The plane of the symmetry is
//! defined with the axis placement A2. It is the plane
//! (Location, XDirection, YDirection).
void SetMirror(const gp_Ax2& theA2) { gpTrsf.SetMirror(theA2); }
@@ -156,7 +156,7 @@ public:
//! Returns the coefficients of the global matrix of transformation.
//! It is a 3 rows X 4 columns matrix.
//!
//! Raised if Row < 1 or Row > 3 or Col < 1 or Col > 4
//! Raised if Row < 1 or Row > 3 or Col < 1 or Col > 4
Standard_Real Value(const Standard_Integer theRow, const Standard_Integer theCol) const
{
return gpTrsf.Value(theRow, theCol);
@@ -194,7 +194,7 @@ public:
Standard_EXPORT Handle(Geom_Transformation) Powered(const Standard_Integer N) const;
//! Computes the matrix of the transformation composed with
//! <me> and Other. <me> = Other * <me>
//! <me> and Other. <me> = Other * <me>
Standard_EXPORT void PreMultiply(const Handle(Geom_Transformation)& Other);
//! Applies the transformation <me> to the triplet {X, Y, Z}.
+3 -3
View File
@@ -70,7 +70,7 @@ public:
//! Returns the coordinates X, Y and Z of this vector.
Standard_EXPORT void Coord(Standard_Real& X, Standard_Real& Y, Standard_Real& Z) const;
//! Returns the Magnitude of <me>.
//! Returns the Magnitude of <me>.
Standard_EXPORT virtual Standard_Real Magnitude() const = 0;
//! Returns the square magnitude of <me>.
@@ -100,10 +100,10 @@ public:
//! "Direction" with null length.
Standard_EXPORT virtual Handle(Geom_Vector) Crossed(const Handle(Geom_Vector)& Other) const = 0;
//! Computes the triple vector product <me> ^(V1 ^ V2).
//! Computes the triple vector product <me> ^(V1 ^ V2).
//!
//! Raised if <me> is a "Direction" and if V1 and V2 are parallel
//! or <me> and (V1 ^ V2) are parallel
//! or <me> and (V1 ^ V2) are parallel
Standard_EXPORT virtual void CrossCross(const Handle(Geom_Vector)& V1,
const Handle(Geom_Vector)& V2) = 0;
@@ -36,7 +36,7 @@ DEFINE_STANDARD_HANDLE(GeomAdaptor_SurfaceOfRevolution, GeomAdaptor_Surface)
//! possible to be in the previous case after a cylindrical projection
//! of the curve in a referenced plane.
//! For a complete surface of revolution the parametric range is
//! 0 <= U <= 2*PI. --
//! 0 <= U <= 2*PI
//! The parametric range for V is defined with the revolved curve.
//! The origin of the U parametrization is given by the position
//! of the revolved curve (reference). The direction of the revolution
@@ -100,7 +100,7 @@ public:
//! three first derivatives are all null.
Standard_EXPORT Standard_Boolean IsTangentDefined();
//! output the tangent direction <D>
//! output the tangent direction <D>.
Standard_EXPORT void Tangent(gp_Dir& D);
//! Returns the curvature.
+2 -2
View File
@@ -92,8 +92,8 @@ public:
//! INTERNAL EXTERNAL
//! EXTERNAL INTERNAL
//!
//! Complement complements the material side. Inside
//! becomes outside.
//! Complement complements the material side.
//! Inside becomes outside.
Standard_EXPORT static TopAbs_Orientation Complement(const TopAbs_Orientation Or);
//! Prints the name of Shape type as a String on the Stream.
@@ -35,7 +35,7 @@ class AdvApprox_Cutting;
class AdvApp2Var_Criterion;
class Geom_BSplineSurface;
//! Perform the approximation of <Func> F(U,V)
//! Perform the approximation of <Func> F(U,V)
//! Arguments are :
//! Num1DSS, Num2DSS, Num3DSS :The numbers of 1,2,3 dimensional subspaces
//! OneDTol, TwoDTol, ThreeDTol: The tolerance of approximation in each
@@ -55,9 +55,9 @@ class Geom_BSplineSurface;
//! MaxDegInV : Maximum u-degree waiting in V
//! Warning:
//! MaxDegInU (resp. MaxDegInV) must be >= 2*iu (resp. iv) + 1,
//! where iu (resp. iv) = 0 if ContInU (resp. ContInV) = GeomAbs_C0,
//! = 1 if = GeomAbs_C1,
//! = 2 if = GeomAbs_C2.
//! where iu (resp. iv) = 0 if ContInU (resp. ContInV) = GeomAbs_C0,
//! = 1 if = GeomAbs_C1,
//! = 2 if = GeomAbs_C2.
//! MaxPatch : Maximum number of Patch waiting
//! number of Patch is number of u span * number of v span
//! Func : The external method to evaluate F(U,V)
@@ -126,7 +126,7 @@ public:
Standard_EXPORT void Perform(const AppDef_MultiLine& Line);
//! The approximation will begin with the
//! set of parameters <ThePar>.
//! set of parameters <ThePar>.
Standard_EXPORT void SetParameters(const math_Vector& ThePar);
//! The approximation will be done with the
@@ -145,7 +145,7 @@ public:
Standard_EXPORT void SetTang2d(const Standard_Integer Index, const gp_Vec2d& Tang2d);
//! returns the tangency value of the point of range Index.
//! An exception is raised if Index < number of 3d points or
//! An exception is raised if Index < number of 3d points or
//! if Index > total number of points.
Standard_EXPORT gp_Vec2d Tang2d(const Standard_Integer Index) const;
@@ -33,7 +33,7 @@ class math_Matrix;
class AppDef_SmoothCriterion;
DEFINE_STANDARD_HANDLE(AppDef_SmoothCriterion, Standard_Transient)
//! defined criterion to smooth points in curve
//! defined criterion to smooth points in curve
class AppDef_SmoothCriterion : public Standard_Transient
{
@@ -48,13 +48,12 @@ public:
//! Constructor.
//! Initialization of the fields.
//! warning : Nc0 : number of PassagePoint consraints
//! Warning:
//! Nc0 : number of PassagePoint consraints
//! Nc2 : number of TangencyPoint constraints
//! Nc3 : number of CurvaturePoint constraints
//! if
//! ((MaxDegree-Continuity)*MaxSegment -Nc0 - 2*Nc1
//! -3*Nc2)
//! is negative
//! if ((MaxDegree-Continuity)*MaxSegment -Nc0 - 2*Nc1 -3*Nc2)
//! is negative
//! The problem is over-constrained.
//!
//! Limitation : The MultiLine from AppDef has to be composed by
@@ -79,7 +78,7 @@ public:
//! and correspond to the current fields.
Standard_EXPORT Standard_Boolean IsCreated() const;
//! returns True if the approximation is ok
//! returns True if the approximation is ok
//! and correspond to the current fields.
Standard_EXPORT Standard_Boolean IsDone() const;
@@ -186,7 +185,7 @@ public:
//! this method modify nothing and returns false
Standard_EXPORT Standard_Boolean SetContinuity(const GeomAbs_Shape C);
//! Define if the approximation search to minimize the
//! Define if the approximation search to minimize the
//! maximum Error or not.
Standard_EXPORT void SetWithMinMax(const Standard_Boolean MinMax);
@@ -196,7 +195,7 @@ public:
Standard_EXPORT Standard_Boolean SetWithCutting(const Standard_Boolean Cutting);
//! define the Weights (as percent) associed to the criterium used in
//! the optimization.
//! the optimization.
//!
//! if Percent <= 0
Standard_EXPORT void SetCriteriumWeight(const Standard_Real Percent1,
@@ -68,7 +68,7 @@ public:
Standard_EXPORT Standard_Real MaxError2dU() const;
//! returns the maximum errors relatively to the U component or the V component of the
//! returns the maximum errors relatively to the U component or the V component of the
//! 2d Curve
Standard_EXPORT Standard_Real MaxError2dV() const;
@@ -50,14 +50,14 @@ public:
Standard_EXPORT Standard_Real LastParameter() const;
//! Returns the number of intervals for continuity
//! Returns the number of intervals for continuity
//! <S>. May be one if Continuity(me) >= <S>
Standard_EXPORT Standard_Integer NbIntervals(const GeomAbs_Shape S) const;
//! Stores in <T> the parameters bounding the intervals
//! Stores in <T> the parameters bounding the intervals
//! of continuity <S>.
//!
//! The array must provide enough room to accommodate
//! The array must provide enough room to accommodate
//! for the parameters. i.e. T.Length() > NbIntervals()
Standard_EXPORT void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const;
@@ -76,7 +76,7 @@ public:
Standard_EXPORT Standard_Real GetLength() const;
//! returns original parameter corresponding S. if
//! returns original parameter corresponding S. if
//! Case == 1 computation is performed on myC2D1 and mySurf1,
//! otherwise it is done on myC2D2 and mySurf2.
Standard_EXPORT Standard_Real GetUParameter(Adaptor3d_Curve& C,
@@ -48,7 +48,7 @@ public:
TColgp_Array1OfPnt2d& Poles2d,
TColStd_Array1OfReal& Weigths) = 0;
//! compute the first derivative in v direction of the
//! compute the first derivative in v direction of the
//! section for v = param
//! Warning : It used only for C1 or C2 approximation
Standard_EXPORT virtual Standard_Boolean D1(const Standard_Real Param,
@@ -112,7 +112,7 @@ public:
//! function is not Cn.
Standard_EXPORT virtual void SetInterval(const Standard_Real First, const Standard_Real Last) = 0;
//! Returns the resolutions in the sub-space 2d <Index>
//! Returns the resolutions in the sub-space 2d <Index>
//! This information is useful to find a good tolerance in
//! 2d approximation.
Standard_EXPORT virtual void Resolution(const Standard_Integer Index,
@@ -141,11 +141,11 @@ public:
Standard_EXPORT virtual gp_Pnt BarycentreOfSurf() const;
//! Returns the length of the greater section.
//! Thisinformation is useful to G1's control.
//! This information is useful to G1's control.
//! Warning: With an little value, approximation can be slower.
Standard_EXPORT virtual Standard_Real MaximalSection() const;
//! Compute the minimal value of weight for each poles in all sections.
//! Compute the minimal value of weight for each poles in all sections.
//! This information is useful to control error in rational approximation.
//! Warning: Used only if <me> IsRational
Standard_EXPORT virtual void GetMinimalWeight(TColStd_Array1OfReal& Weigths) const;
@@ -37,8 +37,8 @@ public:
//! B is then enlarged by the tolerance value Tol.
//! Note: depending on the type of curve, one of the following
//! representations of the curve C is used to include it in the bounding box B:
//! - an exact representation if C is built from a line, a circle or a conic curve,
//! - the poles of the curve if C is built from a Bezier curve or a BSpline curve,
//! - an exact representation if C is built from a line, a circle or a conic curve,
//! - the poles of the curve if C is built from a Bezier curve or a BSpline curve,
//! - if not, the points of an approximation of the curve C.
//! Warning
//! C is an adapted curve, that is, an object which is an interface between:
@@ -69,8 +69,8 @@ public:
//! B is then enlarged by the tolerance value Tol.
//! Note: depending on the type of curve, one of the following
//! representations of the curve C is used to include it in the bounding box B:
//! - an exact representation if C is built from a line, a circle or a conic curve,
//! - the poles of the curve if C is built from a Bezier curve or a BSpline curve,
//! - an exact representation if C is built from a line, a circle or a conic curve,
//! - the poles of the curve if C is built from a Bezier curve or a BSpline curve,
//! - if not, the points of an approximation of the curve C.
//! Warning
//! C is an adapted curve, that is, an object which is an interface between:
@@ -127,9 +127,9 @@ public:
//! B is then enlarged by the tolerance value Tol.
//! U1, U2 - the parametric range to compute the bounding box;
//! Note: depending on the type of curve, one of the following
//! algorithms is used to include it in the bounding box B:
//! algorithms is used to include it in the bounding box B:
//! - an exact analytical if C is built from a line, a circle or a conic curve,
//! - numerical calculation of bounding box sizes, based on minimization algorithm, for other
//! - numerical calculation of bounding box sizes, based on minimization algorithm, for other
//! types of curve If Tol = < Precision::PConfusion(), Precision::PConfusion is used as tolerance
//! for calculation
Standard_EXPORT static void AddOptimal(const Handle(Geom2d_Curve)& C,
@@ -36,12 +36,12 @@ public:
//! B is then enlarged by the tolerance value Tol.
//! Note: depending on the type of curve, one of the following
//! representations of the curve C is used to include it in the bounding box B:
//! - an exact representation if C is built from a line, a circle or a conic curve,
//! - the poles of the curve if C is built from a Bezier curve or a BSpline curve,
//! - an exact representation if C is built from a line, a circle or a conic curve,
//! - the poles of the curve if C is built from a Bezier curve or a BSpline curve,
//! if not, the points of an approximation of the curve C.
//! Warning
//! C is an adapted curve, that is, an object which is an interface between:
//! - the services provided by a 3D curve from the package Geom
//! - the services provided by a 3D curve from the package Geom
//! - and those required of the curve by the computation algorithm.
//! The adapted curve is created in the following way:
//! Handle(Geom_Curve) mycurve = ... ;
@@ -64,12 +64,12 @@ public:
//! the arc of the curve C limited by the two parameter values P1 and P2.
//! Note: depending on the type of curve, one of the following
//! representations of the curve C is used to include it in the bounding box B:
//! - an exact representation if C is built from a line, a circle or a conic curve,
//! - the poles of the curve if C is built from a Bezier curve or a BSpline curve,
//! - an exact representation if C is built from a line, a circle or a conic curve,
//! - the poles of the curve if C is built from a Bezier curve or a BSpline curve,
//! if not, the points of an approximation of the curve C.
//! Warning
//! C is an adapted curve, that is, an object which is an interface between:
//! - the services provided by a 3D curve from the package Geom
//! - the services provided by a 3D curve from the package Geom
//! - and those required of the curve by the computation algorithm.
//! The adapted curve is created in the following way:
//! Handle(Geom_Curve) mycurve = ... ;
@@ -28,7 +28,7 @@
//! Implements a function for the Newton algorithm to find the
//! solution of Integral(F) = L
//! (compute Length and Derivative of the curve for Newton)
//! (compute Length and Derivative of the curve for Newton)
class CPnts_MyRootFunction : public math_FunctionWithDerivative
{
public:
@@ -50,12 +50,12 @@ public:
static GeomAbs_Shape Continuity(const Adaptor2d_Curve2d& C);
//! If necessary, breaks the curve in intervals of
//! continuity <S>. And returns the number of
//! If necessary, breaks the curve in intervals of
//! continuity <S>. And returns the number of
//! intervals.
static Standard_Integer NbIntervals(const Adaptor2d_Curve2d& C, const GeomAbs_Shape S);
//! Stores in <T> the parameters bounding the intervals
//! Stores in <T> the parameters bounding the intervals
//! of continuity <S>.
static void Intervals(const Adaptor2d_Curve2d& C, TColStd_Array1OfReal& T, const GeomAbs_Shape S);
@@ -50,14 +50,14 @@ public:
static GeomAbs_Shape Continuity(const Adaptor3d_Curve& C);
//! Returns the number of intervals for continuity
//! Returns the number of intervals for continuity
//! <S>. May be one if Continuity(me) >= <S>
static Standard_Integer NbIntervals(Adaptor3d_Curve& C, const GeomAbs_Shape S);
//! Stores in <T> the parameters bounding the intervals
//! Stores in <T> the parameters bounding the intervals
//! of continuity <S>.
//!
//! The array must provide enough room to accommodate
//! The array must provide enough room to accommodate
//! for the parameters. i.e. T.Length() > NbIntervals()
static void Intervals(Adaptor3d_Curve& C, TColStd_Array1OfReal& T, const GeomAbs_Shape S);
@@ -37,7 +37,7 @@ public:
DEFINE_STANDARD_ALLOC
//! Calculates all the distances as above
//! between Uinf and Usup for C1 and between Vinf and Vsup
//! between Uinf and Usup for C1 and between Vinf and Vsup
//! for C2.
Standard_EXPORT Extrema_ECC();
@@ -48,7 +48,7 @@ public:
Standard_EXPORT Extrema_ECC(const Adaptor3d_Curve& C1, const Adaptor3d_Curve& C2);
//! Calculates all the distances as above
//! between Uinf and Usup for C1 and between Vinf and Vsup
//! between Uinf and Usup for C1 and between Vinf and Vsup
//! for C2.
Standard_EXPORT Extrema_ECC(const Adaptor3d_Curve& C1,
const Adaptor3d_Curve& C2,
@@ -35,7 +35,7 @@ public:
DEFINE_STANDARD_ALLOC
//! Calculates all the distances as above
//! between Uinf and Usup for C1 and between Vinf and Vsup
//! between Uinf and Usup for C1 and between Vinf and Vsup
//! for C2.
Standard_EXPORT Extrema_ECC2d();
@@ -52,7 +52,7 @@ public:
//! when g(u)=dF/du=0. The algorithm searches all the
//! zeros inside the definition range of the curve.
//! Zeros are searched between uinf and usup.
//! Tol is used to decide to stop the
//! Tol is used to decide to stop the
//! iterations according to the following condition:
//! if n is the number of iterations,
//! the algorithm stops when abs(F(Un)-F(Un-1)) < Tol.
@@ -52,7 +52,7 @@ public:
//! when g(u)=dF/du=0. The algorithm searches all the
//! zeros inside the definition range of the curve.
//! Zeros are searched between uinf and usup.
//! Tol is used to decide to stop the
//! Tol is used to decide to stop the
//! iterations according to the following condition:
//! if n is the number of iterations,
//! the algorithm stops when abs(F(Un)-F(Un-1)) < Tol.
@@ -51,7 +51,7 @@ public:
//! when g(u)=dF/du=0. The algorithm searches all the
//! zeros inside the definition range of the curve.
//! Zeros are searched between uinf and usup.
//! Tol is used to decide to stop the
//! Tol is used to decide to stop the
//! iterations according to the following condition:
//! if n is the number of iterations,
//! the algorithm stops when abs(F(Un)-F(Un-1)) < Tol.
@@ -51,7 +51,7 @@ public:
//! when g(u)=dF/du=0. The algorithm searches all the
//! zeros inside the definition range of the curve.
//! Zeros are searched between uinf and usup.
//! Tol is used to decide to stop the
//! Tol is used to decide to stop the
//! iterations according to the following condition:
//! if n is the number of iterations,
//! the algorithm stops when abs(F(Un)-F(Un-1)) < Tol.
@@ -47,10 +47,10 @@ public:
//! To know if two dimension are independent.
Standard_EXPORT virtual Handle(TColStd_HArray2OfInteger) DependenceTable() const = 0;
//! To Compute J(E) where E is the current Element
//! To Compute J(E) where E is the current Element
Standard_EXPORT virtual Standard_Real Value() = 0;
//! To Compute J(E) the coefficients of Hessian matrix of
//! To Compute J(E) the coefficients of Hessian matrix of
//! J(E) which are crossed derivatives in dimensions <Dim1>
//! and <Dim2>.
//! If DependenceTable(Dimension1,Dimension2) is False
@@ -30,7 +30,7 @@
class FEmTool_LinearFlexion;
DEFINE_STANDARD_HANDLE(FEmTool_LinearFlexion, FEmTool_ElementaryCriterion)
//! Criterium of LinearFlexion To Hermit-Jacobi elements
//! Criterium of LinearFlexion To Hermit-Jacobi elements
class FEmTool_LinearFlexion : public FEmTool_ElementaryCriterion
{
@@ -31,7 +31,7 @@
class FEmTool_ProfileMatrix;
DEFINE_STANDARD_HANDLE(FEmTool_ProfileMatrix, FEmTool_SparseMatrix)
//! Symmetric Sparse ProfileMatrix useful for 1D Finite
//! Symmetric Sparse ProfileMatrix useful for 1D Finite
//! Element methods
class FEmTool_ProfileMatrix : public FEmTool_SparseMatrix
{
@@ -53,7 +53,7 @@ public:
//! Make Preparation to iterative solve
Standard_EXPORT Standard_Boolean Prepare() Standard_OVERRIDE;
//! Iterative solve of AX = B
//! Iterative solve of AX = B
Standard_EXPORT void Solve(const math_Vector& B,
const math_Vector& Init,
math_Vector& X,
@@ -44,13 +44,13 @@ class gp_Pnt;
//! it gives the direction of increasing parametric value V.
//! The apex of the surface is on the negative side of this axis.
//!
//! The parametrization range is :
//! U [0, 2*PI], V ]-infinite, + infinite[
//! The parametrization range is:
//! U [0, 2*PI], V ]-infinite, + infinite[
//!
//! The "XAxis" and the "YAxis" define the placement plane of the
//! surface (Z = 0, and parametric value V = 0) perpendicular to
//! surface (Z = 0, and parametric value V = 0) perpendicular to
//! the symmetry axis. The "XAxis" defines the origin of the
//! parameter U = 0. The trigonometric sense gives the positive
//! parameter U = 0. The trigonometric sense gives the positive
//! orientation for the parameter U.
//!
//! When you create a ConicalSurface the U and V directions of
@@ -47,12 +47,12 @@ class gp_Circ;
//! it gives the direction of increasing parametric value V.
//!
//! The parametrization range is :
//! U [0, 2*PI], V ]- infinite, + infinite[
//! U [0, 2*PI], V ]- infinite, + infinite[
//!
//! The "XAxis" and the "YAxis" define the placement plane of the
//! surface (Z = 0, and parametric value V = 0) perpendicular to
//! surface (Z = 0, and parametric value V = 0) perpendicular to
//! the symmetry axis. The "XAxis" defines the origin of the
//! parameter U = 0. The trigonometric sense gives the positive
//! parameter U = 0. The trigonometric sense gives the positive
//! orientation for the parameter U.
class GC_MakeCylindricalSurface : public GC_Root
{
@@ -45,7 +45,7 @@ class Geom2d_Curve;
//! References :
//! . Generating the Bezier Points of B-spline curves and surfaces
//! (Wolfgang Bohm) CAGD volume 13 number 6 november 1981
//! . On NURBS: A Survey (Leslie Piegl) IEEE Computer Graphics and
//! . On NURBS: A Survey (Leslie Piegl) IEEE Computer Graphics and
//! Application January 1991
//! . Curve and surface construction using rational B-splines
//! (Leslie Piegl and Wayne Tiller) CAD Volume 19 number 9 november
@@ -57,16 +57,16 @@ class Geom2dConvert
public:
DEFINE_STANDARD_ALLOC
//! -- Convert a curve to BSpline by Approximation
//! Convert a curve to BSpline by Approximation
//!
//! This method computes the arc of B-spline curve between the two
//! knots FromK1 and ToK2. If C is periodic the arc has the same
//! knots FromK1 and ToK2. If C is periodic the arc has the same
//! orientation as C if SameOrientation = Standard_True.
//! If C is not periodic SameOrientation is not used for the
//! If C is not periodic SameOrientation is not used for the
//! computation and C is oriented from the knot fromK1 to the
//! knot toK2.
//! We just keep the local definition of C between the knots
//! FromK1 and ToK2. The returned B-spline curve has its first
//! FromK1 and ToK2. The returned B-spline curve has its first
//! and last knots with a multiplicity equal to degree + 1, where
//! degree is the polynomial degree of C.
//! The indexes of the knots FromK1 and ToK2 doesn't include the
@@ -89,7 +89,7 @@ public:
//! computation and C is oriented fromU1 toU2.
//! If U1 and U2 and two parametric values we consider that
//! U1 = U2 if Abs (U1 - U2) <= ParametricTolerance and
//! ParametricTolerance must be greater or equal to Resolution
//! ParametricTolerance must be greater or equal to Resolution
//! from package gp.
//!
//! Raised if FromU1 or ToU2 are out of the parametric bounds of the
@@ -104,10 +104,10 @@ public:
const Standard_Boolean SameOrientation = Standard_True);
//! This function converts a non infinite curve from
//! Geom into a B-spline curve. C must be an ellipse or a
//! circle or a trimmed conic or a trimmed line or a Bezier
//! curve or a trimmed Bezier curve or a BSpline curve or a
//! trimmed BSpline curve or an Offset curve or a trimmed
//! Geom into a B-spline curve. C must be an ellipse or a
//! circle or a trimmed conic or a trimmed line or a Bezier
//! curve or a trimmed Bezier curve or a BSpline curve or a
//! trimmed BSpline curve or an Offset curve or a trimmed
//! Offset curve.
//! The returned B-spline is not periodic except if C is a
//! Circle or an Ellipse.
@@ -132,9 +132,9 @@ public:
//!
//! t = tan (theta/2)
//!
//! with TgtThetaOver2 the routine will compute the number of spans
//! with TgtThetaOver2 the routine will compute the number of spans
//! using the rule num_spans = [ (ULast - UFirst) / 1.2 ] + 1
//! with TgtThetaOver2_N, N spans will be forced: an error will
//! with TgtThetaOver2_N, N spans will be forced: an error will
//! be raized if (ULast - UFirst) >= PI and N = 1,
//! ULast - UFirst >= 2 PI and N = 2
//!
@@ -174,10 +174,10 @@ public:
//! This Method concatenates G1 the ArrayOfCurves as far
//! as it is possible.
//! ArrayOfCurves[0..N-1]
//! ArrayOfToler contains the biggest tolerance of the two
//! ArrayOfToler contains the biggest tolerance of the two
//! points shared by two consecutives curves.
//! Its dimension: [0..N-2]
//! ClosedFlag indicates if the ArrayOfCurves is closed.
//! ClosedFlag indicates if the ArrayOfCurves is closed.
//! In this case ClosedTolerance contains the biggest tolerance
//! of the two points which are at the closure.
//! Otherwise its value is 0.0
@@ -193,10 +193,10 @@ public:
//! This Method concatenates C1 the ArrayOfCurves as far
//! as it is possible.
//! ArrayOfCurves[0..N-1]
//! ArrayOfToler contains the biggest tolerance of the two
//! ArrayOfToler contains the biggest tolerance of the two
//! points shared by two consecutives curves.
//! Its dimension: [0..N-2]
//! ClosedFlag indicates if the ArrayOfCurves is closed.
//! ClosedFlag indicates if the ArrayOfCurves is closed.
//! In this case ClosedTolerance contains the biggest tolerance
//! of the two points which are at the closure.
//! Otherwise its value is 0.0
@@ -213,10 +213,10 @@ public:
//! This Method concatenates C1 the ArrayOfCurves as far
//! as it is possible.
//! ArrayOfCurves[0..N-1]
//! ArrayOfToler contains the biggest tolerance of the two
//! ArrayOfToler contains the biggest tolerance of the two
//! points shared by two consecutives curves.
//! Its dimension: [0..N-2]
//! ClosedFlag indicates if the ArrayOfCurves is closed.
//! ClosedFlag indicates if the ArrayOfCurves is closed.
//! In this case ClosedTolerance contains the biggest tolerance
//! of the two points which are at the closure.
//! Otherwise its value is 0.0
@@ -57,7 +57,7 @@ public:
//! limited by the two parameter values U1 and U2
//! for Example if there is a Knot Uk and
//! Uk < U < Uk + ParametricTolerance/2 the last curve
//! corresponds to the span [Uk-1, Uk] and not to [Uk, Uk+1]
//! corresponds to the span [Uk-1, Uk] and not to [Uk, Uk+1]
//! The result consists of a series of BasisCurve arcs
//! limited by points corresponding to knot values of the curve.
//! Use the available interrogation functions to ascertain
@@ -100,8 +100,8 @@ public:
//! This methode returns the bspline's knots associated to
//! the converted arcs
//! Raises DimensionError if the length of Curves is not equal to
//! NbArcs + 1
//! Raises DimensionError if the length of Curves is not equal to
//! NbArcs + 1
Standard_EXPORT void Knots(TColStd_Array1OfReal& TKnots) const;
//! Returns the number of BezierCurve arcs.
@@ -52,7 +52,7 @@ class Geom_Surface;
//! References :
//! . Generating the Bezier Points of B-spline curves and surfaces
//! (Wolfgang Bohm) CAGD volume 13 number 6 november 1981
//! . On NURBS: A Survey (Leslie Piegl) IEEE Computer Graphics and
//! . On NURBS: A Survey (Leslie Piegl) IEEE Computer Graphics and
//! Application January 1991
//! . Curve and surface construction using rational B-splines
//! (Leslie Piegl and Wayne Tiller) CAD Volume 19 number 9 november
@@ -67,12 +67,12 @@ public:
//! Convert a curve from Geom by an approximation method
//!
//! This method computes the arc of B-spline curve between the two
//! knots FromK1 and ToK2. If C is periodic the arc has the same
//! knots FromK1 and ToK2. If C is periodic the arc has the same
//! orientation as C if SameOrientation = Standard_True.
//! If C is not periodic SameOrientation is not used for the
//! If C is not periodic SameOrientation is not used for the
//! computation and C is oriented from the knot fromK1 to the knot toK2.
//! We just keep the local definition of C between the knots
//! FromK1 and ToK2. The returned B-spline curve has its first
//! FromK1 and ToK2. The returned B-spline curve has its first
//! and last knots with a multiplicity equal to degree + 1, where
//! degree is the polynomial degree of C.
//! The indexes of the knots FromK1 and ToK2 doesn't include the
@@ -94,7 +94,7 @@ public:
//! computation and C is oriented fromU1 toU2.
//! If U1 and U2 and two parametric values we consider that
//! U1 = U2 if Abs (U1 - U2) <= ParametricTolerance and
//! ParametricTolerance must be greater or equal to Resolution
//! ParametricTolerance must be greater or equal to Resolution
//! from package gp.
//!
//! Raised if FromU1 or ToU2 are out of the parametric bounds of the
@@ -204,19 +204,19 @@ public:
const Standard_Boolean SameOrientation = Standard_True);
//! This function converts a non infinite curve from
//! Geom into a B-spline curve. C must be an ellipse or a
//! circle or a trimmed conic or a trimmed line or a Bezier
//! curve or a trimmed Bezier curve or a BSpline curve or a
//! trimmed BSpline curve or an OffsetCurve. The returned B-spline is
//! not periodic except if C is a Circle or an Ellipse. If
//! the Parameterisation is QuasiAngular than the returned
//! curve is NOT periodic in case a periodic Geom_Circle or
//! Geom_Ellipse. For TgtThetaOver2_1 and TgtThetaOver2_2 the
//! method raises an exception in case of a periodic
//! Geom into a B-spline curve. C must be an ellipse or a
//! circle or a trimmed conic or a trimmed line or a Bezier
//! curve or a trimmed Bezier curve or a BSpline curve or a
//! trimmed BSpline curve or an OffsetCurve. The returned B-spline is
//! not periodic except if C is a Circle or an Ellipse. If
//! the Parameterisation is QuasiAngular than the returned
//! curve is NOT periodic in case a periodic Geom_Circle or
//! Geom_Ellipse. For TgtThetaOver2_1 and TgtThetaOver2_2 the
//! method raises an exception in case of a periodic
//! Geom_Circle or a Geom_Ellipse ParameterisationType applies
//! only if the curve is a Circle or an ellipse :
//! TgtThetaOver2, -- TgtThetaOver2_1, -- TgtThetaOver2_2, --
//! TgtThetaOver2_3, -- TgtThetaOver2_4,
//! only if the curve is a Circle or an ellipse:
//! TgtThetaOver2, TgtThetaOver2_1, TgtThetaOver2_2,
//! TgtThetaOver2_3, TgtThetaOver2_4,
//!
//! Purpose: this is the classical rational parameterisation
//! 2
@@ -232,9 +232,9 @@ public:
//!
//! t = tan (theta/2)
//!
//! with TgtThetaOver2 the routine will compute the number of spans
//! with TgtThetaOver2 the routine will compute the number of spans
//! using the rule num_spans = [ (ULast - UFirst) / 1.2 ] + 1
//! with TgtThetaOver2_N, N spans will be forced: an error will
//! with TgtThetaOver2_N, N spans will be forced: an error will
//! be raized if (ULast - UFirst) >= PI and N = 1,
//! ULast - UFirst >= 2 PI and N = 2
//!
@@ -289,7 +289,7 @@ public:
//! ArrayOfToler contains the biggest tolerance of the two
//! points shared by two consecutives curves.
//! Its dimension: [0..N-2]
//! ClosedFlag indicates if the ArrayOfCurves is closed.
//! ClosedFlag indicates if the ArrayOfCurves is closed.
//! In this case ClosedTolerance contains the biggest tolerance
//! of the two points which are at the closure.
//! Otherwise its value is 0.0
@@ -304,10 +304,10 @@ public:
//! This Method concatenates C1 the ArrayOfCurves as far
//! as it is possible.
//! ArrayOfCurves[0..N-1]
//! ArrayOfToler contains the biggest tolerance of the two
//! ArrayOfToler contains the biggest tolerance of the two
//! points shared by two consecutives curves.
//! Its dimension: [0..N-2]
//! ClosedFlag indicates if the ArrayOfCurves is closed.
//! ClosedFlag indicates if the ArrayOfCurves is closed.
//! In this case ClosedTolerance contains the biggest tolerance
//! of the two points which are at the closure.
//! Otherwise its value is 0.0
@@ -323,10 +323,10 @@ public:
//! This Method concatenates C1 the ArrayOfCurves as far
//! as it is possible.
//! ArrayOfCurves[0..N-1]
//! ArrayOfToler contains the biggest tolerance of the two
//! ArrayOfToler contains the biggest tolerance of the two
//! points shared by two consecutives curves.
//! Its dimension: [0..N-2]
//! ClosedFlag indicates if the ArrayOfCurves is closed.
//! ClosedFlag indicates if the ArrayOfCurves is closed.
//! In this case ClosedTolerance contains the biggest tolerance
//! of the two points which are at the closure.
//! Otherwise its value is 0.0
@@ -62,21 +62,21 @@ public:
//! Returns the BSpline curve resulting from the approximation algorithm.
Standard_EXPORT Handle(Geom_BSplineCurve) Curve() const;
//! returns Standard_True if the approximation has
//! been done within required tolerance
//! returns Standard_True if the approximation has
//! been done within required tolerance
Standard_EXPORT Standard_Boolean IsDone() const;
//! Returns Standard_True if the approximation did come out
//! with a result that is not NECESSARELY within the required tolerance
//! Returns Standard_True if the approximation did come out
//! with a result that is not NECESSARELY within the required tolerance
Standard_EXPORT Standard_Boolean HasResult() const;
//! Returns the greatest distance between a point on the
//! source conic and the BSpline curve resulting from the
//! approximation. (>0 when an approximation
//! has been done, 0 if no approximation)
//! has been done, 0 if no approximation)
Standard_EXPORT Standard_Real MaxError() const;
//! Print on the stream o information about the object
//! Print on the stream o information about the object
Standard_EXPORT void Dump(Standard_OStream& o) const;
protected:

Some files were not shown because too many files have changed in this diff Show More