|
Open CASCADE Technology
6.7.1
|
Composite surface is represented by a grid of surfaces
(patches) connected geometrically. Patches may have different
parametrisation ranges, but they should be parametrised in
the same manner so that parameter of each patch (u,v) can be converted
to global parameter on the whole surface (U,V) with help of linear
transformation:
for any i,j-th patch
U = Ui + ( u - uijmin ) * ( Ui+1 - Ui ) / ( uijmax - uijmin )
V = Vj + ( v - vijmin ) * ( Vj+1 - Vj ) / ( vijmax - vijmin )
where
[uijmin, uijmax] * [ vijmin, vijmax] - parametric range of i,j-th patch,
Ui (i=1,..,Nu+1), Vi (j=1,..,Nv+1) - values defining global
parametrisation by U and V (correspond to points between patches and
bounds, (Ui,Uj) corresponds to (uijmin,vijmin) on i,j-th patch) and to
(u(i-1)(j-1)max,v(i-1)(j-1)max) on (i-1),(j-1)-th patch.
Geometrical connectivity is expressed via global parameters:
S[i,j](Ui+1,V) = S[i+1,j](Ui+1,V) for any i, j, V
S[i,j](U,Vj+1) = S[i,j+1](U,Vj+1) for any i, j, U
It is checked with Precision::Confusion() by default.
NOTE 1: This class is inherited from Geom_Surface in order to
make it more easy to store and deal with it. However, it should
not be passed to standard methods dealing with geometry since
this type is not known to them.
NOTE 2: Not all the inherited methods are implemented, and some are
implemented not in the full form.
More...
#include <ShapeExtend_CompositeSurface.hxx>

Public Member Functions | |
| ShapeExtend_CompositeSurface () | |
| Empty constructor. More... | |
| ShapeExtend_CompositeSurface (const Handle< TColGeom_HArray2OfSurface > &GridSurf, const ShapeExtend_Parametrisation param=ShapeExtend_Natural) | |
| Initializes by a grid of surfaces (calls Init()). More... | |
| ShapeExtend_CompositeSurface (const Handle< TColGeom_HArray2OfSurface > &GridSurf, const TColStd_Array1OfReal &UJoints, const TColStd_Array1OfReal &VJoints) | |
| Initializes by a grid of surfaces (calls Init()). More... | |
| Standard_Boolean | Init (const Handle< TColGeom_HArray2OfSurface > &GridSurf, const ShapeExtend_Parametrisation param=ShapeExtend_Natural) |
Initializes by a grid of surfaces. <br>
All the Surfaces of the grid must have geometrical <br>
connectivity as stated above. <br>
If geometrical connectivity is not satisfied, method <br>
returns False. <br>
However, class is initialized even in that case. <br>
| |
| Standard_Boolean | Init (const Handle< TColGeom_HArray2OfSurface > &GridSurf, const TColStd_Array1OfReal &UJoints, const TColStd_Array1OfReal &VJoints) |
| Initializes by a grid of surfaces with given global parametrisation defined by UJoints and VJoints arrays, each having langth equal to number of patches in corresponding direction + 1. Global joint values should be sorted in increasing order. All the Surfaces of the grid must have geometrical connectivity as stated above. If geometrical connectivity is not satisfied, method returns False. However, class is initialized even in that case. More... | |
| Standard_Integer | NbUPatches () const |
| Returns number of patches in U direction. More... | |
| Standard_Integer | NbVPatches () const |
| Returns number of patches in V direction. More... | |
| const Handle_Geom_Surface & | Patch (const Standard_Integer i, const Standard_Integer j) const |
| Returns one surface patch More... | |
| const Handle_TColGeom_HArray2OfSurface & | Patches () const |
| Returns grid of surfaces More... | |
| Handle_TColStd_HArray1OfReal | UJointValues () const |
| Returns the array of U values corresponding to joint points between patches as well as to start and end points, which define global parametrisation of the surface More... | |
| Handle_TColStd_HArray1OfReal | VJointValues () const |
| Returns the array of V values corresponding to joint points between patches as well as to start and end points, which define global parametrisation of the surface More... | |
| Standard_Real | UJointValue (const Standard_Integer i) const |
| Returns i-th joint value in U direction (1-st is global Umin, (NbUPatches()+1)-th is global Umax on the composite surface) More... | |
| Standard_Real | VJointValue (const Standard_Integer j) const |
| Returns j-th joint value in V direction (1-st is global Vmin, (NbVPatches()+1)-th is global Vmax on the composite surface) More... | |
| Standard_Boolean | SetUJointValues (const TColStd_Array1OfReal &UJoints) |
| Sets the array of U values corresponding to joint points, which define global parametrisation of the surface. Number of values in array should be equal to NbUPatches()+1. All the values should be sorted in increasing order. If this is not satisfied, does nothing and returns False. More... | |
| Standard_Boolean | SetVJointValues (const TColStd_Array1OfReal &VJoints) |
| Sets the array of V values corresponding to joint points, which define global parametrisation of the surface Number of values in array should be equal to NbVPatches()+1. All the values should be sorted in increasing order. If this is not satisfied, does nothing and returns False. More... | |
| void | SetUFirstValue (const Standard_Real UFirst) |
| Changes starting value for global U parametrisation (all other joint values are shifted accordingly) More... | |
| void | SetVFirstValue (const Standard_Real VFirst) |
| Changes starting value for global V parametrisation (all other joint values are shifted accordingly) More... | |
| Standard_Integer | LocateUParameter (const Standard_Real U) const |
| Returns number of col that contains given (global) parameter More... | |
| Standard_Integer | LocateVParameter (const Standard_Real V) const |
| Returns number of row that contains given (global) parameter More... | |
| void | LocateUVPoint (const gp_Pnt2d &pnt, Standard_Integer &i, Standard_Integer &j) const |
| Returns number of row and col of surface that contains given point More... | |
| const Handle_Geom_Surface & | Patch (const Standard_Real U, const Standard_Real V) const |
| Returns one surface patch that contains given (global) parameters More... | |
| const Handle_Geom_Surface & | Patch (const gp_Pnt2d &pnt) const |
| Returns one surface patch that contains given point More... | |
| Standard_Real | ULocalToGlobal (const Standard_Integer i, const Standard_Integer j, const Standard_Real u) const |
| Converts local parameter u on patch i,j to global parameter U More... | |
| Standard_Real | VLocalToGlobal (const Standard_Integer i, const Standard_Integer j, const Standard_Real v) const |
| Converts local parameter v on patch i,j to global parameter V More... | |
| gp_Pnt2d | LocalToGlobal (const Standard_Integer i, const Standard_Integer j, const gp_Pnt2d &uv) const |
| Converts local parameters uv on patch i,j to global parameters UV More... | |
| Standard_Real | UGlobalToLocal (const Standard_Integer i, const Standard_Integer j, const Standard_Real U) const |
| Converts global parameter U to local parameter u on patch i,j More... | |
| Standard_Real | VGlobalToLocal (const Standard_Integer i, const Standard_Integer j, const Standard_Real V) const |
| Converts global parameter V to local parameter v on patch i,j More... | |
| gp_Pnt2d | GlobalToLocal (const Standard_Integer i, const Standard_Integer j, const gp_Pnt2d &UV) const |
| Converts global parameters UV to local parameters uv on patch i,j More... | |
| Standard_Boolean | GlobalToLocalTransformation (const Standard_Integer i, const Standard_Integer j, Standard_Real &uFact, gp_Trsf2d &Trsf) const |
| Computes transformation operator and uFactor descrinbing affine transformation required to convert global parameters on composite surface to local parameters on patch (i,j): uv = ( uFactor, 1. ) X Trsf * UV; NOTE: Thus Trsf contains shift and scale by V, scale by U is stored in uFact. Returns True if transformation is not an identity More... | |
| virtual void | Transform (const gp_Trsf &T) |
| Applies transformation to all the patches More... | |
| virtual Handle_Geom_Geometry | Copy () const |
| Returns a copy of the surface More... | |
| virtual void | UReverse () |
| NOT IMPLEMENTED (does nothing) More... | |
| virtual Standard_Real | UReversedParameter (const Standard_Real U) const |
| Returns U More... | |
| virtual void | VReverse () |
| NOT IMPLEMENTED (does nothing) More... | |
| virtual Standard_Real | VReversedParameter (const Standard_Real V) const |
| Returns V More... | |
| virtual void | Bounds (Standard_Real &U1, Standard_Real &U2, Standard_Real &V1, Standard_Real &V2) const |
| Returns the parametric bounds of grid More... | |
| virtual Standard_Boolean | IsUClosed () const |
| Returns True if grid is closed in U direction (i.e. connected with Precision::Confusion) More... | |
| virtual Standard_Boolean | IsVClosed () const |
| Returns True if grid is closed in V direction (i.e. connected with Precision::Confusion) More... | |
| virtual Standard_Boolean | IsUPeriodic () const |
| Returns False More... | |
| virtual Standard_Boolean | IsVPeriodic () const |
| Returns False More... | |
| virtual Handle_Geom_Curve | UIso (const Standard_Real U) const |
| NOT IMPLEMENTED (returns Null curve) More... | |
| virtual Handle_Geom_Curve | VIso (const Standard_Real V) const |
| NOT IMPLEMENTED (returns Null curve) More... | |
| virtual GeomAbs_Shape | Continuity () const |
| returns C0 More... | |
| virtual Standard_Boolean | IsCNu (const Standard_Integer N) const |
| returns True if N <=0 More... | |
| virtual Standard_Boolean | IsCNv (const Standard_Integer N) const |
| returns True if N <=0 More... | |
| virtual void | D0 (const Standard_Real U, const Standard_Real V, gp_Pnt &P) const |
| Computes the point of parameter U,V on the grid. More... | |
| virtual void | D1 (const Standard_Real U, const Standard_Real V, gp_Pnt &P, gp_Vec &D1U, gp_Vec &D1V) const |
| Computes the point P and the first derivatives in the directions U and V at this point. More... | |
| virtual void | D2 (const Standard_Real U, const Standard_Real V, gp_Pnt &P, gp_Vec &D1U, gp_Vec &D1V, gp_Vec &D2U, gp_Vec &D2V, gp_Vec &D2UV) const |
| Computes the point P, the first and the second derivatives in the directions U and V at this point. More... | |
| virtual void | D3 (const Standard_Real U, const Standard_Real V, gp_Pnt &P, gp_Vec &D1U, gp_Vec &D1V, gp_Vec &D2U, gp_Vec &D2V, gp_Vec &D2UV, gp_Vec &D3U, gp_Vec &D3V, gp_Vec &D3UUV, gp_Vec &D3UVV) const |
| Computes the point P, the first,the second and the third derivatives in the directions U and V at this point. More... | |
| virtual gp_Vec | DN (const Standard_Real U, const Standard_Real V, const Standard_Integer Nu, const Standard_Integer Nv) const |
| Computes the derivative of order Nu in the direction U and Nv in the direction V at the point P(U, V). More... | |
| gp_Pnt | Value (const gp_Pnt2d &pnt) const |
| Computes the point of parameter pnt on the grid. More... | |
| void | ComputeJointValues (const ShapeExtend_Parametrisation param=ShapeExtend_Natural) |
| Computes Joint values according to parameter More... | |
| Standard_Boolean | CheckConnectivity (const Standard_Real prec) |
| Checks geometrical connectivity of the patches, including closedness (sets fields muUClosed and myVClosed) More... | |
Public Member Functions inherited from Geom_Surface | |
| Handle_Geom_Surface | UReversed () const |
| Reverses the U direction of parametrization of <me>. The bounds of the surface are not modified. A copy of <me> is returned. More... | |
| Handle_Geom_Surface | VReversed () const |
| Reverses the V direction of parametrization of <me>. The bounds of the surface are not modified. A copy of <me> is returned. More... | |
| virtual void | TransformParameters (Standard_Real &U, Standard_Real &V, const gp_Trsf &T) const |
Computes the parameters on the transformed surface for <br>
the transform of the point of parameters U,V on <me>. <br>
| |
| virtual gp_GTrsf2d | ParametricTransformation (const gp_Trsf &T) const |
Returns a 2d transformation used to find the new <br>
parameters of a point on the transformed surface. <br>
| |
| virtual Standard_Real | UPeriod () const |
Returns the period of this surface in the u <br> parametric direction. | |
| virtual Standard_Real | VPeriod () const |
| Returns the period of this surface in the v parametric direction. //! raises if the surface is not vperiodic. More... | |
| gp_Pnt | Value (const Standard_Real U, const Standard_Real V) const |
Computes the point of parameter U on the surface. <br> | |
Public Member Functions inherited from Geom_Geometry | |
| void | Mirror (const gp_Pnt &P) |
| Performs the symmetrical transformation of a Geometry with respect to the point P which is the center of the symmetry. More... | |
| void | Mirror (const gp_Ax1 &A1) |
| Performs the symmetrical transformation of a Geometry with respect to an axis placement which is the axis of the symmetry. More... | |
| void | Mirror (const gp_Ax2 &A2) |
| Performs the symmetrical transformation of a Geometry with respect to a plane. The axis placement A2 locates the plane of the symmetry : (Location, XDirection, YDirection). More... | |
| void | Rotate (const gp_Ax1 &A1, const Standard_Real Ang) |
| Rotates a Geometry. A1 is the axis of the rotation. Ang is the angular value of the rotation in radians. More... | |
| void | Scale (const gp_Pnt &P, const Standard_Real S) |
| Scales a Geometry. S is the scaling value. More... | |
| void | Translate (const gp_Vec &V) |
| Translates a Geometry. V is the vector of the tanslation. More... | |
| void | Translate (const gp_Pnt &P1, const gp_Pnt &P2) |
| Translates a Geometry from the point P1 to the point P2. More... | |
| Handle_Geom_Geometry | Mirrored (const gp_Pnt &P) const |
| Handle_Geom_Geometry | Mirrored (const gp_Ax1 &A1) const |
| Handle_Geom_Geometry | Mirrored (const gp_Ax2 &A2) const |
| Handle_Geom_Geometry | Rotated (const gp_Ax1 &A1, const Standard_Real Ang) const |
| Handle_Geom_Geometry | Scaled (const gp_Pnt &P, const Standard_Real S) const |
| Handle_Geom_Geometry | Transformed (const gp_Trsf &T) const |
| Handle_Geom_Geometry | Translated (const gp_Vec &V) const |
| Handle_Geom_Geometry | Translated (const gp_Pnt &P1, const gp_Pnt &P2) const |
Public Member Functions inherited from MMgt_TShared | |
| virtual void | Delete () const |
| Memory deallocator for transient classes. More... | |
Public Member Functions inherited from Standard_Transient | |
| Standard_Transient () | |
| Empty constructor. More... | |
| Standard_Transient (const Standard_Transient &) | |
| Copy constructor – does nothing. More... | |
| Standard_Transient & | operator= (const Standard_Transient &) |
| Assignment operator, needed to avoid copying reference counter. More... | |
| virtual | ~Standard_Transient () |
| Destructor must be virtual. More... | |
| virtual void | ShallowDump (Standard_OStream &) const |
| virtual const Handle_Standard_Type & | DynamicType () const |
| Returns a type information object about this object. More... | |
| Standard_Boolean | IsInstance (const Handle_Standard_Type &theType) const |
| Returns a true value if this is an instance of Type. More... | |
| Standard_Boolean | IsInstance (const Standard_CString theTypeName) const |
| Returns a true value if this is an instance of TypeName. More... | |
| Standard_Boolean | IsKind (const Handle_Standard_Type &theType) const |
| Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More... | |
| Standard_Boolean | IsKind (const Standard_CString theTypeName) const |
| Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More... | |
| virtual Handle_Standard_Transient | This () const |
| Returns a Handle which references this object. Must never be called to objects created in stack. More... | |
| Standard_Integer | GetRefCount () const |
| Get the reference counter of this object. More... | |
Composite surface is represented by a grid of surfaces
(patches) connected geometrically. Patches may have different
parametrisation ranges, but they should be parametrised in
the same manner so that parameter of each patch (u,v) can be converted
to global parameter on the whole surface (U,V) with help of linear
transformation:
for any i,j-th patch
U = Ui + ( u - uijmin ) * ( Ui+1 - Ui ) / ( uijmax - uijmin )
V = Vj + ( v - vijmin ) * ( Vj+1 - Vj ) / ( vijmax - vijmin )
where
[uijmin, uijmax] * [ vijmin, vijmax] - parametric range of i,j-th patch,
Ui (i=1,..,Nu+1), Vi (j=1,..,Nv+1) - values defining global
parametrisation by U and V (correspond to points between patches and
bounds, (Ui,Uj) corresponds to (uijmin,vijmin) on i,j-th patch) and to
(u(i-1)(j-1)max,v(i-1)(j-1)max) on (i-1),(j-1)-th patch.
Geometrical connectivity is expressed via global parameters:
S[i,j](Ui+1,V) = S[i+1,j](Ui+1,V) for any i, j, V
S[i,j](U,Vj+1) = S[i,j+1](U,Vj+1) for any i, j, U
It is checked with Precision::Confusion() by default.
NOTE 1: This class is inherited from Geom_Surface in order to
make it more easy to store and deal with it. However, it should
not be passed to standard methods dealing with geometry since
this type is not known to them.
NOTE 2: Not all the inherited methods are implemented, and some are
implemented not in the full form.
| ShapeExtend_CompositeSurface::ShapeExtend_CompositeSurface | ( | ) |
Empty constructor.
| ShapeExtend_CompositeSurface::ShapeExtend_CompositeSurface | ( | const Handle< TColGeom_HArray2OfSurface > & | GridSurf, |
| const ShapeExtend_Parametrisation | param = ShapeExtend_Natural |
||
| ) |
Initializes by a grid of surfaces (calls Init()).
| ShapeExtend_CompositeSurface::ShapeExtend_CompositeSurface | ( | const Handle< TColGeom_HArray2OfSurface > & | GridSurf, |
| const TColStd_Array1OfReal & | UJoints, | ||
| const TColStd_Array1OfReal & | VJoints | ||
| ) |
Initializes by a grid of surfaces (calls Init()).
|
virtual |
Returns the parametric bounds of grid
Implements Geom_Surface.
| Standard_Boolean ShapeExtend_CompositeSurface::CheckConnectivity | ( | const Standard_Real | prec | ) |
Checks geometrical connectivity of the patches, including
closedness (sets fields muUClosed and myVClosed)
| void ShapeExtend_CompositeSurface::ComputeJointValues | ( | const ShapeExtend_Parametrisation | param = ShapeExtend_Natural | ) |
Computes Joint values according to parameter
|
virtual |
returns C0
Implements Geom_Surface.
|
virtual |
Returns a copy of the surface
Implements Geom_Geometry.
|
virtual |
Computes the point of parameter U,V on the grid.
Implements Geom_Surface.
|
virtual |
Computes the point P and the first derivatives in the
directions U and V at this point.
Implements Geom_Surface.
|
virtual |
Computes the point P, the first and the second derivatives in
the directions U and V at this point.
Implements Geom_Surface.
|
virtual |
Computes the point P, the first,the second and the third
derivatives in the directions U and V at this point.
Implements Geom_Surface.
|
virtual |
Computes the derivative of order Nu in the direction U and Nv
in the direction V at the point P(U, V).
Implements Geom_Surface.
| gp_Pnt2d ShapeExtend_CompositeSurface::GlobalToLocal | ( | const Standard_Integer | i, |
| const Standard_Integer | j, | ||
| const gp_Pnt2d & | UV | ||
| ) | const |
Converts global parameters UV to local parameters uv on patch i,j
| Standard_Boolean ShapeExtend_CompositeSurface::GlobalToLocalTransformation | ( | const Standard_Integer | i, |
| const Standard_Integer | j, | ||
| Standard_Real & | uFact, | ||
| gp_Trsf2d & | Trsf | ||
| ) | const |
Computes transformation operator and uFactor descrinbing affine
transformation required to convert global parameters on composite
surface to local parameters on patch (i,j):
uv = ( uFactor, 1. ) X Trsf * UV;
NOTE: Thus Trsf contains shift and scale by V, scale by U is stored in uFact.
Returns True if transformation is not an identity
| Standard_Boolean ShapeExtend_CompositeSurface::Init | ( | const Handle< TColGeom_HArray2OfSurface > & | GridSurf, |
| const ShapeExtend_Parametrisation | param = ShapeExtend_Natural |
||
| ) |
Initializes by a grid of surfaces. <br>
All the Surfaces of the grid must have geometrical <br>
connectivity as stated above. <br>
If geometrical connectivity is not satisfied, method <br>
returns False. <br>
However, class is initialized even in that case. <br>
Last parameter defines how global parametrisation
(joint values) will be computed:
ShapeExtend_Natural: U1 = u11min, Ui+1 = Ui + (ui1max-ui1min), etc.
ShapeExtend_Uniform: Ui = i-1, Vj = j-1
ShapeExtend_Unitary: Ui = (i-1)/Nu, Vi = (j-1)/Nv
| Standard_Boolean ShapeExtend_CompositeSurface::Init | ( | const Handle< TColGeom_HArray2OfSurface > & | GridSurf, |
| const TColStd_Array1OfReal & | UJoints, | ||
| const TColStd_Array1OfReal & | VJoints | ||
| ) |
Initializes by a grid of surfaces with given global
parametrisation defined by UJoints and VJoints arrays,
each having langth equal to number of patches in corresponding
direction + 1. Global joint values should be sorted in
increasing order.
All the Surfaces of the grid must have geometrical
connectivity as stated above.
If geometrical connectivity is not satisfied, method
returns False.
However, class is initialized even in that case.
|
virtual |
returns True if N <=0
Implements Geom_Surface.
|
virtual |
returns True if N <=0
Implements Geom_Surface.
|
virtual |
Returns True if grid is closed in U direction
(i.e. connected with Precision::Confusion)
Implements Geom_Surface.
|
virtual |
Returns False
Implements Geom_Surface.
|
virtual |
Returns True if grid is closed in V direction
(i.e. connected with Precision::Confusion)
Implements Geom_Surface.
|
virtual |
Returns False
Implements Geom_Surface.
| gp_Pnt2d ShapeExtend_CompositeSurface::LocalToGlobal | ( | const Standard_Integer | i, |
| const Standard_Integer | j, | ||
| const gp_Pnt2d & | uv | ||
| ) | const |
Converts local parameters uv on patch i,j to global parameters UV
| Standard_Integer ShapeExtend_CompositeSurface::LocateUParameter | ( | const Standard_Real | U | ) | const |
Returns number of col that contains given (global) parameter
| void ShapeExtend_CompositeSurface::LocateUVPoint | ( | const gp_Pnt2d & | pnt, |
| Standard_Integer & | i, | ||
| Standard_Integer & | j | ||
| ) | const |
Returns number of row and col of surface that contains
given point
| Standard_Integer ShapeExtend_CompositeSurface::LocateVParameter | ( | const Standard_Real | V | ) | const |
Returns number of row that contains given (global) parameter
| Standard_Integer ShapeExtend_CompositeSurface::NbUPatches | ( | ) | const |
Returns number of patches in U direction.
| Standard_Integer ShapeExtend_CompositeSurface::NbVPatches | ( | ) | const |
Returns number of patches in V direction.
| const Handle_Geom_Surface& ShapeExtend_CompositeSurface::Patch | ( | const Standard_Integer | i, |
| const Standard_Integer | j | ||
| ) | const |
Returns one surface patch
| const Handle_Geom_Surface& ShapeExtend_CompositeSurface::Patch | ( | const Standard_Real | U, |
| const Standard_Real | V | ||
| ) | const |
Returns one surface patch that contains given (global) parameters
| const Handle_Geom_Surface& ShapeExtend_CompositeSurface::Patch | ( | const gp_Pnt2d & | pnt | ) | const |
Returns one surface patch that contains given point
| const Handle_TColGeom_HArray2OfSurface& ShapeExtend_CompositeSurface::Patches | ( | ) | const |
Returns grid of surfaces
| void ShapeExtend_CompositeSurface::SetUFirstValue | ( | const Standard_Real | UFirst | ) |
Changes starting value for global U parametrisation (all
other joint values are shifted accordingly)
| Standard_Boolean ShapeExtend_CompositeSurface::SetUJointValues | ( | const TColStd_Array1OfReal & | UJoints | ) |
Sets the array of U values corresponding to joint
points, which define global parametrisation of the surface.
Number of values in array should be equal to NbUPatches()+1.
All the values should be sorted in increasing order.
If this is not satisfied, does nothing and returns False.
| void ShapeExtend_CompositeSurface::SetVFirstValue | ( | const Standard_Real | VFirst | ) |
Changes starting value for global V parametrisation (all
other joint values are shifted accordingly)
| Standard_Boolean ShapeExtend_CompositeSurface::SetVJointValues | ( | const TColStd_Array1OfReal & | VJoints | ) |
Sets the array of V values corresponding to joint
points, which define global parametrisation of the surface
Number of values in array should be equal to NbVPatches()+1.
All the values should be sorted in increasing order.
If this is not satisfied, does nothing and returns False.
|
virtual |
Applies transformation to all the patches
Implements Geom_Geometry.
| Standard_Real ShapeExtend_CompositeSurface::UGlobalToLocal | ( | const Standard_Integer | i, |
| const Standard_Integer | j, | ||
| const Standard_Real | U | ||
| ) | const |
Converts global parameter U to local parameter u on patch i,j
|
virtual |
NOT IMPLEMENTED (returns Null curve)
Implements Geom_Surface.
| Standard_Real ShapeExtend_CompositeSurface::UJointValue | ( | const Standard_Integer | i | ) | const |
Returns i-th joint value in U direction
(1-st is global Umin, (NbUPatches()+1)-th is global Umax
on the composite surface)
| Handle_TColStd_HArray1OfReal ShapeExtend_CompositeSurface::UJointValues | ( | ) | const |
Returns the array of U values corresponding to joint
points between patches as well as to start and end points,
which define global parametrisation of the surface
| Standard_Real ShapeExtend_CompositeSurface::ULocalToGlobal | ( | const Standard_Integer | i, |
| const Standard_Integer | j, | ||
| const Standard_Real | u | ||
| ) | const |
Converts local parameter u on patch i,j to global parameter U
|
virtual |
NOT IMPLEMENTED (does nothing)
Implements Geom_Surface.
|
virtual |
Returns U
Implements Geom_Surface.
Computes the point of parameter pnt on the grid.
| Standard_Real ShapeExtend_CompositeSurface::VGlobalToLocal | ( | const Standard_Integer | i, |
| const Standard_Integer | j, | ||
| const Standard_Real | V | ||
| ) | const |
Converts global parameter V to local parameter v on patch i,j
|
virtual |
NOT IMPLEMENTED (returns Null curve)
Implements Geom_Surface.
| Standard_Real ShapeExtend_CompositeSurface::VJointValue | ( | const Standard_Integer | j | ) | const |
Returns j-th joint value in V direction
(1-st is global Vmin, (NbVPatches()+1)-th is global Vmax
on the composite surface)
| Handle_TColStd_HArray1OfReal ShapeExtend_CompositeSurface::VJointValues | ( | ) | const |
Returns the array of V values corresponding to joint
points between patches as well as to start and end points,
which define global parametrisation of the surface
| Standard_Real ShapeExtend_CompositeSurface::VLocalToGlobal | ( | const Standard_Integer | i, |
| const Standard_Integer | j, | ||
| const Standard_Real | v | ||
| ) | const |
Converts local parameter v on patch i,j to global parameter V
|
virtual |
NOT IMPLEMENTED (does nothing)
Implements Geom_Surface.
|
virtual |
Returns V
Implements Geom_Surface.
1.8.5