6 #ifndef _MGGeometry_HH_
7 #define _MGGeometry_HH_
11 #include "mg/Unit_vector.h"
59 virtual std::ostream&
out(std::ostream&)
const;
126 virtual void negate_transform(
MGGeometry& boundary)
const=0;
129 double parameter_error()
const;
133 virtual MGBox parameter_range()
const=0;
136 virtual int sdim()
const=0;
138 virtual std::string
whoami()
const{
return "Geometry";};
142 mutable MGBox* m_box;
146 virtual MGBox* compute_box()
const=0;
virtual MGGeometry & operator=(const MGGeometry &gel2)
Definition: Geometry.h:56
virtual void negate()
Negate direction of this geometry.
Definition: Geometry.h:120
MGCurve is an abstract class which represents a whole curve.
Definition: Curve.h:63
virtual void update_mark()
Mark this as updated.
Definition: Geometry.h:156
MGTransf represents a transformation of a space dimension.
Definition: Transf.h:35
MGPoint represents one dimensional manifold, a point in a space.
Definition: Point.h:28
virtual std::string whoami() const
Definition: Geometry.h:138
MGIfstream is a class to read the serialized data generated by MGOfstream.
Definition: Ifstream.h:30
virtual void WriteMembers(MGOfstream &buf) const
Write all member data.
Is an abstract class which represents a whole geometry and a topology.
Definition: Object.h:42
Vector of a general n space dimension.
Definition: Vector.h:26
MGGeometry is an abstract class which represents a whole geometry.
Definition: Geometry.h:36
Defines a Box of any space dimendion.
Definition: Box.h:34
Interval of 1 dimension, i.e. MGInterval is a real line.
Definition: Interval.h:22
virtual MGObject * clone() const =0
Represent a positional data.
Definition: Position.h:28
MGSurface is an abstract class of 3D surface.
Definition: Surface.h:54
virtual void ReadMembers(MGIfstream &buf)
general transformation.
virtual bool in_range(const MGPosition &t) const
Definition: Geometry.h:114
MGOfstream is a class to serialize all of the subclasses of MGGel.
Definition: Ofstream.h:31
MGPosition_list provides a list of Positions.
Definition: Position_list.h:27
virtual MGGeometry * geometry()
Return MGGeometry pointer if this MGGel is an MGGeometry, else return null.
Definition: Geometry.h:62
virtual const MGGeometry * geometry() const
Definition: Geometry.h:63
virtual std::ostream & out(std::ostream &) const
Output virtual function.
virtual void draw3DVertex(mgVBO &vbo) const =0
virtual const MGBox & box() const =0
Get the box of the object.
OpenGL 4 用描画のためのクラス, in other words, display list.
Definition: VBO.h:76
bool is_null() const
Test if this is null.
Definition: Geometry.h:117
Define a unit vector, is a MGVector.
Definition: Unit_vector.h:17
MGMatrix is a matix of m by m, where m is the space dimension.
Definition: Matrix.h:30