 |
OpendTect
6.6
|
Go to the documentation of this file.
13 #include "geometrymod.h"
17 template <
class T>
class Array2D;
43 float& u,
float& v,
float eps )
const;
48 static int nrPos() {
return 16; }
61 bool isEmpty()
const {
return !positions; }
77 {
return getKnot(rc,
false); }
A cartesian coordinate in 3D space.
Definition: coord.h:72
Coord3 getKnot(const RowCol &, bool estimateifundef) const
Array2D< Coord3 > * coldirections
Definition: cubicbeziersurface.h:106
ParametricCurve * createColCurve(float col, const Interval< int > *rowrange=0) const
bool removeCol(int col, int stopcol=-1)
stopcol will be ignored
Coord3 computePosition(const Coord &) const
CubicBezierSurface(const CubicBezierSurface &)
Definition: cubicbeziersurface.h:23
mODTextTranslationClass(CubicBezierSurfacePatch)
Coord3 computeVTangent(float u, float v) const
bool insertRow(int row, int nrnew=1)
Definition: arraytesselator.h:21
float directionInfluence() const
bool intersectWithLine(const Line3 &line, float &u, float &v, float eps) const
#define mExpClass(module)
Definition: commondefs.h:177
A curve that is defined by regularly sampled positions.
Definition: parametriccurve.h:32
Coord3 computeNormal(const Coord &) const
Coord3 computeColDirection(const RowCol &) const
Definition: parametricsurface.h:23
Coord3 computePos(float u, float v) const
virtual Coord3 getKnot(const RowCol &rc) const
Definition: cubicbeziersurface.h:76
bool intersectWithLine(const Line3 &, Coord &) const
CubicBezierSurfacePatch(const Coord3 &p00, const Coord3 &p01, const Coord3 &p02, const Coord3 &p03, const Coord3 &p10, const Coord3 &p11, const Coord3 &p12, const Coord3 &p13, const Coord3 &p20, const Coord3 &p21, const Coord3 &p22, const Coord3 &p23, const Coord3 &p30, const Coord3 &p31, const Coord3 &p32, const Coord3 &p33)
Definition: cubicbeziersurface.h:54
Array2D< Coord3 > * rowdirections
Definition: cubicbeziersurface.h:105
IntervalND< float > boundingBox(const RowCol &, bool ownvertices) const
float directioninfluence
Definition: cubicbeziersurface.h:109
A cartesian coordinate in 2D space.
Definition: coord.h:25
bool checkSelfIntersection(const RowCol &) const
Class to store ranges in N dimensions.
Definition: ranges.h:214
ParametricCurve * createRowCurve(float row, const Interval< int > *colrange=0) const
void _setKnot(int idx, const Coord3 &)
CubicBezierSurface(const RowCol &step=RowCol(1, 1))
void setDirectionInfluence(float)
bool insertCol(int col, int nrnew=1)
mODTextTranslationClass(CubicBezierSurface)
A Line3 is a line in space, with the following equations:
Definition: trigonometry.h:441
IntervalND< float > computeBoundingBox() const
IntervalND< float > boundingBox(bool approx) const
bool isEmpty() const
Definition: cubicbeziersurface.h:61
Coord3 computeRowDirection(const RowCol &) const
CubicBezierSurfacePatch * clone() const
IdxPair used for its row() and col().
Definition: rowcol.h:25
Coord3 getColDirection(const RowCol &, bool computeifudf) const
Coord3 getRowDirection(const RowCol &, bool computeifudf) const
Coord3 computeUTangent(float u, float v) const
const CubicBezierSurfacePatch * getPatch(const RowCol &) const
Coord3 computeNormal(float u, float v) const
static int nrPos()
Definition: cubicbeziersurface.h:48
bool removeRow(int row, int stoprow=-1)
stoprow will be ignored
Array2D ( Subclass of ArrayND ) is a two dimensional array.
Definition: arraynd.h:140
CubicBezierSurface * clone() const
Array2D< Coord3 > * positions
Definition: cubicbeziersurface.h:107
Coord3 getBezierVertex(const RowCol &knot, const RowCol &relpos) const
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021