#include <UtilityMap.h>
Public Attributes | |
| int | m_flags |
| vtPole * | m_src |
| vtPole * | m_dst |
Additional Inherited Members | |
Public Member Functions inherited from DLine2 | |
| 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 |
Protected Member Functions inherited from vtArray< DPoint2 > | |
| virtual bool | Grow (uint) |
| virtual void | DestructItems (uint first, uint last) |
Protected Attributes inherited from vtArray< DPoint2 > | |
| uint | m_Size |
| uint | m_MaxSize |
| DPoint2 * | m_Data |
vtLine represent any connection between two poles. It does not explicitly specify the numer or location of each conductor, merely the high-level topology of the power network.
1.8.4