Hide menu
Loading...
Searching...
No Matches
manufacturingtoolkit.CadExMTK.Geom_OffsetSurface Class Reference

OffsetSurface OffsetSurface.hxx cadex/Geom/OffsetSurface.hxx. More...

Inheritance diagram for manufacturingtoolkit.CadExMTK.Geom_OffsetSurface:
manufacturingtoolkit.CadExMTK.Geom_Surface manufacturingtoolkit.CadExMTK.Geom_Geometry manufacturingtoolkit.CadExMTK.BaseObject

Public Member Functions

 __init__ (self, theBasisSurface, theOffset)
 Constructor.
 
 BasisSurface (self)
 Returns basis surface.
 
 Offset (self)
 Returns offset value.
 
- Public Member Functions inherited from manufacturingtoolkit.CadExMTK.Geom_Surface
 Type (self)
 Returns a surface type.
 
 Continuity (self)
 Returns a continuity type of the surface.
 
 Value (self, theParameterU, theParameterV)
 Evaluates a point on the surface.
 
 Normal (self, theParameterU, theParameterV)
 
 IsUPeriodic (self)
 Returns true if the surface is periodic in U direction.
 
 IsVPeriodic (self)
 Returns true if the surface is periodic in V direction.
 
 UMin (self)
 Returns a minimum parameter of a definition domain in U direction.
 
 UMax (self)
 Returns a maximum parameter of a definition domain in U direction.
 
 VMin (self)
 Returns a minimum parameter of a definition domain in V direction.
 
 VMax (self)
 Returns a maximum parameter of a definition domain in V direction.
 
 Domain (self)
 Returns a definition domain.
 
 IsTrimmed (self)
 Returns whether surface is trimmed or not.
 
 SetTrim (self, theUFirst, theULast, theVFirst, theVLast)
 Trims surface with [theUFirst, theULast] x [theVFirst, theVLast] section.
 
 Transform (self, theTransformation)
 Applies transformation matrix to this object.
 
 Transformed (self, theTransformation)
 Returns a copy this object after applying transformation.
 
 D0 (self, theParameterU, theParameterV, theValue)
 
 D1 (self, theParameterU, theParameterV, theValue, theD1U, theD1V)
 
 D2 (self, theParameterU, theParameterV, theValue, theD1U, theD1V, theD2U, theD2V, theD2UV)
 
 DN (self, theParameterU, theParameterV, theDerivativeOrder, theValue, theD)
 Returns true if calculation was passed succsesfully, the returned vectors gives the value of the derivative for the order of derivation theDerivativeOrder.
 
 Curvature (self, *args)
 
 Mirror (self, *args)
 
 Mirrored (self, *args)
 
 Rotate (self, theAxis, theAngle)
 
 Rotated (self, theAxis, theAngle)
 
 Translate (self, theVector)
 
 Translated (self, theVector)
 
 Scale (self, thePoint, theScale)
 
 Scaled (self, thePoint, theScale)
 
- Public Member Functions inherited from manufacturingtoolkit.CadExMTK.BaseObject
 Id (self)
 Return unique identifier of public object.
 
 IsNull (self)
 

Static Public Member Functions

 CompareType (theObject)
 
 Cast (theBase)
 

Detailed Description

OffsetSurface OffsetSurface.hxx cadex/Geom/OffsetSurface.hxx.

Defines an offset surface.

An offset surface is defined by a basis surface and an offset value.

The following image depicts an example of an offset surface:

Offset surface

A basis surface must be at least G1-continous, otherwise behavior is undefined (most likely an exception will be thrown).

An offset surface is parametrized as follows: \(\mathbf{S}(u,v) = \mathbf{B}(u,v) + \mathrm{offset} \cdot \mathbf{N}(u,v)\), where

  • \(\mathbf{B}(u,v)\) is a basis surface;
  • \(\mathrm{offset}\) is an offset value;
  • \(\mathbf{N}(u,v)\) is a unit normal computed on basis surface;
  • \(u\) and \(v\) belong to basis surface domain definition.

Constructor & Destructor Documentation

◆ __init__()

manufacturingtoolkit.CadExMTK.Geom_OffsetSurface.__init__ ( self,
theBasisSurface,
theOffset )

Constructor.

Reimplemented from manufacturingtoolkit.CadExMTK.Geom_Surface.

Member Function Documentation

◆ Cast()

manufacturingtoolkit.CadExMTK.Geom_OffsetSurface.Cast ( theBase)
static

◆ CompareType()

manufacturingtoolkit.CadExMTK.Geom_OffsetSurface.CompareType ( theObject)
static

The documentation for this class was generated from the following file:
  • CadExMTK.py