Hatch edge data.
More...
#include <dl_entities.h>
|
| DL_HatchEdgeData () |
| Default constructor. More...
|
|
| DL_HatchEdgeData (double x1, double y1, double x2, double y2) |
| Constructor for a line edge. More...
|
|
| DL_HatchEdgeData (double cx, double cy, double radius, double angle1, double angle2, bool ccw) |
| Constructor for an arc edge. More...
|
|
| DL_HatchEdgeData (double cx, double cy, double mx, double my, double ratio, double angle1, double angle2, bool ccw) |
| Constructor for an ellipse arc edge. More...
|
|
| DL_HatchEdgeData (unsigned int degree, bool rational, bool periodic, unsigned int nKnots, unsigned int nControl, unsigned int nFit, const std::vector< double > &knots, const std::vector< std::vector< double > > &controlPoints, const std::vector< std::vector< double > > &fitPoints, const std::vector< double > &weights, double startTangentX, double startTangentY, double endTangentX, double endTangentY) |
| Constructor for a spline edge. More...
|
|
DL_HatchEdgeData::DL_HatchEdgeData |
( |
| ) |
|
|
inline |
DL_HatchEdgeData::DL_HatchEdgeData |
( |
double |
x1, |
|
|
double |
y1, |
|
|
double |
x2, |
|
|
double |
y2 |
|
) |
| |
|
inline |
Constructor for a line edge.
Parameters: see member variables.
DL_HatchEdgeData::DL_HatchEdgeData |
( |
double |
cx, |
|
|
double |
cy, |
|
|
double |
radius, |
|
|
double |
angle1, |
|
|
double |
angle2, |
|
|
bool |
ccw |
|
) |
| |
|
inline |
Constructor for an arc edge.
Parameters: see member variables.
DL_HatchEdgeData::DL_HatchEdgeData |
( |
double |
cx, |
|
|
double |
cy, |
|
|
double |
mx, |
|
|
double |
my, |
|
|
double |
ratio, |
|
|
double |
angle1, |
|
|
double |
angle2, |
|
|
bool |
ccw |
|
) |
| |
|
inline |
Constructor for an ellipse arc edge.
Parameters: see member variables.
DL_HatchEdgeData::DL_HatchEdgeData |
( |
unsigned int |
degree, |
|
|
bool |
rational, |
|
|
bool |
periodic, |
|
|
unsigned int |
nKnots, |
|
|
unsigned int |
nControl, |
|
|
unsigned int |
nFit, |
|
|
const std::vector< double > & |
knots, |
|
|
const std::vector< std::vector< double > > & |
controlPoints, |
|
|
const std::vector< std::vector< double > > & |
fitPoints, |
|
|
const std::vector< double > & |
weights, |
|
|
double |
startTangentX, |
|
|
double |
startTangentY, |
|
|
double |
endTangentX, |
|
|
double |
endTangentY |
|
) |
| |
|
inline |
Constructor for a spline edge.
Parameters: see member variables.
double DL_HatchEdgeData::angle1 |
Start angle of arc or ellipse arc.
double DL_HatchEdgeData::angle2 |
End angle of arc or ellipse arc.
bool DL_HatchEdgeData::ccw |
Counterclockwise flag for arc or ellipse arc.
std::vector<std::vector<double> > DL_HatchEdgeData::controlPoints |
double DL_HatchEdgeData::cx |
Center point of arc or ellipse arc (X).
double DL_HatchEdgeData::cy |
Center point of arc or ellipse arc (Y).
bool DL_HatchEdgeData::defined |
Set to true if this edge is fully defined.
unsigned int DL_HatchEdgeData::degree |
double DL_HatchEdgeData::endTangentX |
double DL_HatchEdgeData::endTangentY |
std::vector<std::vector<double> > DL_HatchEdgeData::fitPoints |
std::vector<double> DL_HatchEdgeData::knots |
double DL_HatchEdgeData::mx |
Major axis end point (X).
double DL_HatchEdgeData::my |
Major axis end point (Y).
unsigned int DL_HatchEdgeData::nControl |
Number of control points.
unsigned int DL_HatchEdgeData::nFit |
unsigned int DL_HatchEdgeData::nKnots |
bool DL_HatchEdgeData::periodic |
double DL_HatchEdgeData::radius |
double DL_HatchEdgeData::ratio |
bool DL_HatchEdgeData::rational |
double DL_HatchEdgeData::startTangentX |
double DL_HatchEdgeData::startTangentY |
int DL_HatchEdgeData::type |
Edge type.
1=line, 2=arc, 3=elliptic arc, 4=spline.
std::vector<std::vector<double> > DL_HatchEdgeData::vertices |
Polyline boundary vertices (x y [bulge])
std::vector<double> DL_HatchEdgeData::weights |
double DL_HatchEdgeData::x1 |
double DL_HatchEdgeData::x2 |
double DL_HatchEdgeData::y1 |
double DL_HatchEdgeData::y2 |
The documentation for this struct was generated from the following file: