gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
Go to the documentation of this file.
22 _v[0] =
_v[1] =
nullptr;
29 if(
_v[1]->getNum() <
_v[0]->getNum()) {
56 if(!orientation)
return false;
57 if(orientation == -1) {
99 return SPoint3(t *
_v[1]->x() + (1. - t) *
_v[0]->x(),
100 t *
_v[1]->y() + (1. - t) *
_v[0]->y(),
101 t *
_v[1]->
z() + (1. - t) *
_v[0]->
z());
134 std::vector<std::vector<MVertex *> > &vs);
138 std::vector<MVertex *>
_v;
142 MEdgeN(
const std::vector<MVertex *> &v);
153 double interpolate(
const double val[],
double u,
int stride = 1)
const;
SVector3 crossprod(const SVector3 &a, const SVector3 &b)
MVertex * getSortedVertex(std::size_t i) const
double interpolate(const double val[], double u, int stride=1) const
void swap(picojson::value &x, picojson::value &y)
MVertex * getMaxVertex() const
int getPolynomialOrder() const
const std::vector< MVertex * > & getVertices() const
std::size_t getNum() const
bool operator()(const MEdge &e1, const MEdge &e2) const
bool operator!=(const MEdge &e1, const MEdge &e2)
std::size_t getNumVertices() const
std::vector< MVertex * > _v
MVertex * getVertex(std::size_t i) const
SPoint3 barycenter() const
MVertex * getMinVertex() const
bool operator==(const MEdge &e1, const MEdge &e2)
SVector3 scaledTangent() const
SPoint3 interpolate(const double &t) const
SPoint3 pnt(double u) const
bool alignWith(MEdge &other)
SVector3 tangent(double u) const
MVertex * getVertex(std::size_t i) const
bool SortEdgeConsecutive(const std::vector< MEdge > &, std::vector< std::vector< MVertex * > > &vs)
int computeCorrespondence(MEdge &other)
MEdge(MVertex *v0, MVertex *v1)
bool operator()(const MEdge &e1, const MEdge &e2) const
std::size_t getNumVertices() const
bool isInside(MVertex *v) const