8 #include "mg/Default.h"
9 #include "topo/CellBase.h"
111 bool is_start_vertex()
const;
126 std::ostream&
out(std::ostream&)
const;
152 double t()
const{
return m_t;};
153 std::string
whoami()
const{
return "PVertex";};
169 void copy_all_boundaries(
const MGCellBase& cell2){;};
174 void copy_all_boundaries(
const MGCellBase& cell2, MGCellMap& cmap){;};
176 void copy_perror(
const MGCellBase& cb)
const{;};
CellNB is a cell without boundaries(No Boundaries).
Definition: CellNB.h:38
MG_DLL_DECLR const MGBox mgNULL_BOX
MGBVertex is 0 manifold dimension binder cell, is an point.
Definition: BVertex.h:30
Is an abstract class and the super class of MGPVertex and MGCellNB.
Definition: CellBase.h:38
MGCellBase * clone_without_boundaries() const
Definition: PVertex.h:86
MGPVertex(const MGPVertex &v, MGEdge *e)
Definition: PVertex.h:49
MGTransf represents a transformation of a space dimension.
Definition: Transf.h:35
virtual MGCellBase & operator+=(const MGVector &v)=0
Object transformation.
virtual bool operator<(const MGGel &gel2) const
virtual long identify_type() const =0
Return This object's typeID.
virtual void ReadMembers(MGIfstream &buf)
Read Object's member data.
void set_t(double t)
Set the parameter value.
Definition: PVertex.h:136
MGIfstream is a class to read the serialized data generated by MGOfstream.
Definition: Ifstream.h:30
virtual void drawWire(mgVBO &vbo, double span_length, int line_density=1) const =0
const MGEdge * edge() const
Return the edge pointer.
Definition: PVertex.h:146
std::string whoami() const
Definition: PVertex.h:153
bool is_bcell() const
Ask if this is binder cell.
Definition: PVertex.h:108
double t() const
Return the parameter value.
Definition: PVertex.h:152
Vector of a general n space dimension.
Definition: Vector.h:26
virtual std::ostream & out(std::ostream &) const
Output virtual function.
MGGeometry is an abstract class which represents a whole geometry.
Definition: Geometry.h:36
void set_edge(MGEdge *e)
Set the edge pointer.
Definition: PVertex.h:139
virtual MGCellBase * clone() const =0
Defines a Box of any space dimendion.
Definition: Box.h:34
virtual void draw3DVertex(mgVBO &vbo) const =0
const MGBox & box() const
Obtain the box into which the topology is included.
Definition: PVertex.h:81
virtual void WriteMembers(MGOfstream &buf) const
Write Object's Member Data.
static const MGPosition & null_position()
Return null position.
Definition: Default.h:142
MGGel is an abstract class which represents a group element.
Definition: Gel.h:53
MGEdge is an instance of MGCellNB, represents a boundary element of 2D manifold.
Definition: Edge.h:33
MGStraight is a curve of any space dimension, represent a straight line.
Definition: Straight.h:49
MGPVertex(double t, MGEdge *e=0)
Definition: PVertex.h:54
virtual MGCellNB * make_binder() const =0
Represent a positional data.
Definition: Position.h:28
virtual MGCellBase & operator=(const MGCellBase &gel2)
MGEdge * edge()
Return the edge pointer.
Definition: PVertex.h:149
void negate()
Negate the direction of the cell.
Definition: PVertex.h:123
MGPVertex(const MGPVertex &v)
Definition: PVertex.h:45
MGOfstream is a class to serialize all of the subclasses of MGGel.
Definition: Ofstream.h:31
MGPosition pick_closest(const MGStraight &sl) const
Definition: PVertex.h:133
MGPVertex()
Void constructor.
Definition: PVertex.h:41
virtual MGCellBase & operator*=(double scale)=0
virtual MGCellBase & operator-=(const MGVector &v)=0
virtual const MGCellNB * star() const =0
Obtain star cells.
OpenGL 4 用描画のためのクラス, in other words, display list.
Definition: VBO.h:76
MGPVertex is a parameter cell of the manifold dimension 0.
Definition: PVertex.h:34
int manifold_dimension() const
Get manifold dimension.
Definition: PVertex.h:120
MGMatrix is a matix of m by m, where m is the space dimension.
Definition: Matrix.h:30