|
bool | operator== (LinkEdit &ref) |
|
void | ComputeExtent () |
|
bool | WithinExtent (const DRECT &target) |
|
bool | WithinExtent (const DPoint2 &target) |
|
bool | InBounds (const DRECT &bound) |
|
bool | PartiallyInBounds (const DRECT &bound) |
|
bool | Draw (wxDC *pDC, vtScaledView *pView, bool bShowDirection=false, bool bShowWidth=false) |
|
void | ComputeDisplayedLinkWidth (const DPoint2 &ToMeters) |
|
bool | EditProperties (vtRoadLayer *pLayer) |
|
virtual void | SetFlag (int flag, bool value) |
|
void | Dirtied () |
|
NodeEdit * | GetNode (int n) |
|
LinkEdit * | GetNext () |
|
| TLink (TLink &ref) |
|
bool | operator== (TLink &ref) |
|
void | SetNode (int n, TNode *pNode) |
|
TNode * | GetNode (int n) |
|
double | GetLinearCoordinates (const DPoint2 &p, double &a, double &b, DPoint2 &closest, int &linkpoint, float &fractional, bool bAllowEnds=true) |
|
double | DistanceToPoint (const DPoint2 &point, bool bAllowEnds=true) |
|
bool | IsLoop () |
|
int | GetFlag (int flag) |
|
float | Length () |
|
float | EstimateWidth (bool bIncludeSidewalk=true) |
|
| DLine2 (int size) |
|
| DLine2 (const DLine2 &ref) |
|
DLine2 & | operator= (const DLine2 &v) |
|
DLine2 & | operator= (const FLine2 &v) |
|
void | Add (const DPoint2 &p) |
| Add a given offset to all points.
|
|
void | Mult (double factor) |
| Multiply all points by a given factor.
|
|
void | InsertPointAfter (int iInsertAfter, const DPoint2 &Point) |
|
void | RemovePoint (int i) |
|
void | ReverseOrder () |
|
int | RemoveDegeneratePoints (double dEpsilon) |
|
int | RemoveColinearPoints (double dEpsilon) |
|
bool | ContainsPoint (const DPoint2 &p) const |
|
double | SegmentLength (uint i) const |
|
void | NearestPoint (const DPoint2 &Point, int &iIndex, double &dist) const |
|
bool | NearestSegment (const DPoint2 &Point, int &iIndex, double &dist, DPoint2 &Intersection) const |
|
bool | IsConvex () const |
|
DPoint2 & | GetSafePoint (int index) const |
|
void | SetSafePoint (int index, const DPoint2 &p) |
|
double | Length () const |
|
DPoint2 | Centroid () const |
|
DPoint2 | Centroid2 () const |
|
double | Area () const |
|
| vtArray (uint size=0) |
|
| vtArray (const vtArray< DPoint2 > &) |
|
uint | GetSize () const |
|
uint | GetMaxSize () const |
|
bool | SetSize (uint) |
|
bool | SetMaxSize (uint) |
|
uint | GetElemSize () const |
|
DPoint2 * | GetData () const |
|
void | FreeData () |
|
bool | IsEmpty () const |
|
DPoint2 & | GetAt (uint i) const |
|
bool | SetAt (uint i, DPoint2) |
|
vtArray< DPoint2 > & | operator= (const vtArray< DPoint2 > &) |
|
DPoint2 & | operator[] (uint i) |
|
const DPoint2 & | operator[] (uint i) const |
|
void | Empty () |
|
bool | RemoveAt (uint i, int n=1) |
|
int | Append (const DPoint2 &) |
|
int | Append (const vtArray< DPoint2 > &) |
|
int | Find (const DPoint2 &) const |
|
void | Select (bool b) |
|
bool | IsSelected () |
|
void | ToggleSelect () |
|