Itasca C++ Interface
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
body::IBodyFace Class Referenceabstract

Public Member Functions

virtual const IThinggetIThing () const =0
 returns a const IThing pointer
 
virtual IThinggetIThing ()=0
 returns a IThing pointer
 
virtual DVect getDiscretizedLocation (const IBodyBlock *block, uint32 ig, uint32 jg) const =0
 Return x,y position of indexed gridpoint. Indexes must bound from 0 to blockMultiplier X edgeZoneSize.
 
virtual UVect2 getZoneIndBound (const IBodyBlock *block) const =0
 Return bount for index from zero to maxIndex=edgeZoneSize X blockMultiplier.
 
virtual bool getGUIselect () const =0
 return GUI specific select flag
 
virtual void setGUIselect (bool flag) const =0
 set GUI specific select flag
 
virtual void getDiscretizedLocationCompleteGrid (const IBodyBlock *block, std::vector< std::vector< DVect > > &zpCoords, uint32 &szx, uint32 &szy) const =0
 compute complete discretized location grid (including control points), szx and szy are [0,szx] and [0,szy],
 
virtual FArray< DVectgetSurfaceLine (const DVect2 &from, const DVect2 &to, uint32 number) const =0
 
virtual DExtent getExtent () const =0
 Return the extent.
 
virtual int32 getCurvedFaceType () const =0
 get type of interpolating curved face 0 - NotCurved, 1- BicubicSpline
 
virtual void setCurveType (uint32 type)=0
 sets interpolating curved face 0 - NotCurved, 1- BicubicSpline
 
virtual uint32 getControlPointsSize () const =0
 returns number of control points wich is allwas grid nXm on face (corner BodyPoint's are also counted there).
 
virtual uint32 getControlPointsSizeN () const =0
 return size n of nXm grid of control face points
 
virtual uint32 getControlPointsSizeM () const =0
 return size m of nXm grid of control face points
 
virtual void removeAllControlPonts ()=0
 removes all control points from face making it NotCurved
 
virtual DVect getControlPointPosition (uint32 i, uint32 j) const =0
 get position of a control point
 
virtual void setControlPointPosition (uint32 i, uint32 j, const DVect &pos)=0
 set position of a control point
 
virtual QPair< int32, int32 > getControlPointIndex (double u, double v) const =0
 get indexes to control point from the internal surface coordinates (u,v) (clossest CP will be found)
 
virtual QPair< int32, int32 > getControlPointIndex (DVect &pos) const =0
 get indexes to control point from the position (clossest CP will be found)
 

Static Public Attributes

static const TType type_ = 0x54a5a3df
 

Member Function Documentation

◆ getSurfaceLine()

virtual FArray< DVect > body::IBodyFace::getSurfaceLine ( const DVect2 & from,
const DVect2 & to,
uint32 number ) const
pure virtual

get surface line points. Return points in the array size (number +2) or (number of internal line points plus its ends). "from" and "to" end points in local face coordinates.


The documentation for this class was generated from the following file: