5 #ifndef _MGBPointSeq_HH_
6 #define _MGBPointSeq_HH_
100 assert(i<capacity()&&j<m_sdim);
101 return m_bpoint[i+m_capacity*j];
177 {
return !(operator== (brep));}
197 void coordinate_exchange(
int j1,
int j2);
200 double* data(
int i=0,
int j=0);
203 const double* data(
int i=0,
int j=0)
const;
212 void insert_at(
int i,
246 void point(
int i,
int j,
int sd,
MGPosition& P)
const;
249 double ref(
int i,
int j)
const;
263 void resize(
int sz,
int dim=0);
266 int sdim()
const {
return m_sdim;}
269 void set_length(
int length);
318 int dump_size()
const;
336 MGBox* compute_box()
const;
MGPlane is infinite plane in 3D space.
Definition: Plane.h:38
MGTransf represents a transformation of a space dimension.
Definition: Transf.h:35
double operator()(int i, int j) const
Access to (i,j)th element(RHS version).
Definition: BPointSeq.h:105
bool is_null() const
Test if this is null.
Definition: BPointSeq.h:217
MGIfstream is a class to read the serialized data generated by MGOfstream.
Definition: Ifstream.h:30
std::ostream & operator<<(std::ostream &ostrm, const MGisect &is)
Debug Function.
Definition: isect.h:95
MGLBRep is a class for B-SPline representation.
Definition: LBRep.h:41
MG_DLL_DECLR MGVector & operator*=(MGVector &v, const MGMatrix &m)
Vector of a general n space dimension.
Definition: Vector.h:26
Defines a Box of any space dimendion.
Definition: Box.h:34
int capacity() const
Returns the capacity.
Definition: BPointSeq.h:275
MGStraight is a curve of any space dimension, represent a straight line.
Definition: Straight.h:49
MG_DLL_DECLR MGVector operator*(const MGVector &v, const MGMatrix &m)
Represent a positional data.
Definition: Position.h:28
double & operator()(int i, int j)
Access to (i,j)th element(LHS version).
Definition: BPointSeq.h:99
Defines BPoint seq of a space dimension and of a capacity.
Definition: BPointSeq.h:38
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
int sdim() const
Returns the space dimension.
Definition: BPointSeq.h:266
int length() const
Returns the actual size of Bpoint seq.
Definition: BPointSeq.h:220
Defines Spoint seq of a space dimension and of a size.
Definition: SPointSeq.h:36
~MGBPointSeq()
Definition: BPointSeq.h:91
MGMatrix is a matix of m by m, where m is the space dimension.
Definition: Matrix.h:30