MGVector coef(int i) const
Extract (i,j)element for 0<=j
Definition: LBRep.h:501
virtual double param_normalize(double t) const =0
Normalize parameter value t to the nearest knot if their distance is within tolerance.
~MGLBRep()
Definition: LBRep.h:357
MG_DLL_DECLR MGVector operator*(const MGVector &v, const MGMatrix &m)
virtual void approximate_as_LBRep(MGLBRep &lb, int ordr=0, int parameter_normalization=0, bool neglectMulti=false) const
Approximate this curve as a MGLBRep.
Represent a positional data.
Definition: Position.h:28
virtual double param_s() const =0
Return starting parameter value.
virtual MGCCisect_list isect_with_noCompoSC(const MGSurfCurve &curve2) const
isect with SurfCurve whose m_curve is not a MGTrimmedCurve of MGCompositeCurve.
MGLBRep()
Default(dummy) constructor.
Definition: LBRep.h:83
MGSurface is an abstract class of 3D surface.
Definition: Surface.h:54
MGCURVE_TYPE type() const
Definition: LBRep.h:948
MGCSisect_list defines linked list of MGCSisect.
Definition: CSisect_list.h:22
Defines Knot vector of B-Representation.
Definition: KnotVector.h:28
Defines Boolean sum surface.
Definition: BSumSurf.h:26
virtual MGSurface * sweep(const MGUnit_vector &uvec, double start_dist, double end_dist) const =0
Return sweep surface from crv.
virtual MGCurve & operator-=(const MGVector &v)=0
Defines BPoint seq of a space dimension and of a capacity.
Definition: BPointSeq.h:38
MGParam_Vector provides a list to store parameters of a curve.
Definition: CParam_list.h:18
B-Spline(MGLBRep). スプライン
Definition: MGCL.h:147
MGSphere is a Sphere in 3D space.
Definition: Sphere.h:42
virtual void WriteMembers(MGOfstream &buf) const
メンバデータを書き込む関数.
Defines a list of MGCCisect(curve to curve intersection).
Definition: CCisect_list.h:20
virtual std::ostream & out(std::ostream &) const
Output virtual function.
virtual void extend(double length, bool start=false)=0
Extrapolate this curve by an (approximate) chord length.
double & knot(int i)
Definition: LBRep.h:741
MGFSurface is an abstract class to provide the comman interfaces to MGFace and MGSurface.
Definition: FSurface.h:33
virtual bool is_coplanar(const MGCurve &curve2, MGPlane &plane) const
Test if this cure is co-planar with the 2nd curve curve2.
MGOfstream is a class to serialize all of the subclasses of MGGel.
Definition: Ofstream.h:31
Defines Rational Line B-Representation.
Definition: RLBRep.h:32
virtual MGCurve & change_dimension(int sdim, int start1=0, int start2=0)=0
Changing this object's space dimension.
MGCURVE_TYPE
Curve type(曲線の種類).
Definition: MGCL.h:143
MGLBRep(int bdim, int order, int sdim)
Dummy constructor that specifies area length.
Definition: LBRep.h:86
const double * knot_data() const
Definition: LBRep.h:749
MGPosition_list provides a list of Positions.
Definition: Position_list.h:27
virtual MGCurve & operator*=(double scale)=0
int sdim() const
Returns the space dimension.
Definition: LBRep.h:933
Defines End Condition of Line B-Representation.
Definition: LBRepEndC.h:34
MGOgesIfstream write out to *.iges file, transforming MGCL objects to IGES objects.
Definition: IgesOfstream.h:26
MGCurve & unlimit_start()
Definition: LBRep.h:968
Defines Surface B-Representation of rational form.
Definition: RSBRep.h:38
virtual const MGLBRep * is_Bezier(int ordr=0) const
Test if this is a Bezier Curve.
virtual bool get_control_points(MGBPointSeq &cpoints) const
Extracts control points.
Definition: Curve.h:455
MGKnotVector & knot_vector()
Definition: LBRep.h:758
double coef(int i, int j) const
Definition: LBRep.h:498
friend class MGLBRep
Definition: Curve.h:1252
double knot(int i) const
Definition: LBRep.h:745
MGENDCOND
End condition to get spline by interpolation.
Definition: MGCL.h:219
virtual bool operator==(const MGCompositeCurve &crv) const
Comparison.
Defines non-decreasing double data array.
Definition: NDDArray.h:27
Defines Surface B-Representation, that is , B-Spline surface.
Definition: SBRep.h:48
virtual std::auto_ptr< MGCurve > oneD(const double g[4]) const =0
Obtain transformed 1D curve expression of this curve.
MGEllipse is a class to define an ellipse of 2D or 3D.
Definition: Ellipse.h:38
virtual int divide_multi(MGPvector< MGCurve > &crv_list, int multiplicity=-1) const
Divide this curve at the designated knot multiplicity point.
virtual bool operator<(const MGGel &gel2) const =0
virtual MGBox box_limitted(const MGInterval &) const =0
Return minimum box that includes the curve of parameter interval.
MGCurve & unlimit_end()
Definition: LBRep.h:964
void eval_line(const MGNDDArray &tau, MGBPointSeq &value) const
Evaluate line data at data point seq.(BLELIN)
Definition: LBRep.h:651
virtual MGCParam_list intersect_1D(double f, int coordinate=0) const
Compute intersection point of 1D sub curve of original curve.
Defines Array of Knots.
Definition: KnotArray.h:26
virtual double param_e() const =0
Return ending parameter value.
Defines Tangent Plane Line B-Representation Class.
Definition: SBRepTP.h:28
virtual double curvilinear_integral() const
Definition: Curve.h:299
virtual MGCCisect_list isect(const MGCurve &curve2) const =0
Intersection of Curve and other geometry.
virtual MGPosition_list perps_withC1LB(const MGLBRep &lbC1) const
Perpendicular points with C1 conitnuity LBRep.
virtual int intersect_dnum() const =0
Provide divide number of curve span for function intersect.
mgSysGL is a class to provide a facility to draw temporal pictures.
Definition: sysGL.h:26
virtual bool is_planar(MGPlane &plane) const
Test if this cure is planar or not.
MGCurve * copy_as_nurbs() const
Definition: LBRep.h:563
virtual void eval_line(const MGNDDArray &tau, MGBPointSeq &value) const
Evaluate line data at data point tau.
OpenGL 4 用描画のためのクラス, in other words, display list.
Definition: VBO.h:76
virtual void display_control_polygon(mgSysGL &sgl) const
Definition: Gel.h:194
virtual MGPosition_list perps_with_noCompoSC(const MGSurfCurve &curve2) const
Perpendicular points of this to curve2.
const double * coef_data(int i=0, int j=0) const
Returns a pointer to the line b-coef data.
Definition: LBRep.h:504
const MGKnotVector & knot_vector() const
Definition: LBRep.h:754
Define a unit vector, is a MGVector.
Definition: Unit_vector.h:17
MGSurfCurve is a curve on a surface.
Definition: SurfCurve.h:43
MGMatrix is a matix of m by m, where m is the space dimension.
Definition: Matrix.h:30