RVC::VECTORTOOLKIT Class Reference

Vector Toolkit. More...

#include <rvc/vecttool.h>

Inheritance diagram for RVC::VECTORTOOLKIT:
Inheritance graph
[legend]

List of all members.

Classes

class  POLYGONDELETEFILTER
class  SNAPOBJECT
class  SNAPPARMS

Public Types

enum  CLIPFLAGS {
  CLIPFLAG_None = 0x00000000, CLIPFLAG_ForceClipBorder = 0x00000200, CLIPFLAG_NoClipBorder = 0x00000400, CLIPFLAG_OnlyClipLines = 0x00000800,
  CLIPFLAG_NoStdAttrib = 0x00001000, CLIPFLAG_RemUnusedDBRec = 0x00002000
}
enum  DELETELINE { DELETELINE_None = 0x0000, DELETELINE_RemoveExcessNodes = 0x0001 }
enum  DELETEPOLYGON {
  DELETEPOLYGON_None = 0x0000, DELETEPOLYGON_LongLineDelete = 0x0001, DELETEPOLYGON_NoDeleteSpurs = 0x0002, DELETEPOLYGON_CombineAttrib = 0x0004,
  DELETEPOLYGON_RemoveAllIslands = 0x0008
}
enum  NODEFLAG {
  NODEFLAG_None = 0x0000, NODEFLAG_NoCheckDatabase = 0x0001, NODEFLAG_NoCheckHyper = 0x0002, NODEFLAG_NoStdAttrib = 0x0004,
  NODEFLAG_RemoveIfPoint = 0x0008
}
enum  OPENFLAGS {
  OPENFLAGS_None = 0x00000000, OPENFLAGS_NoQtree = 0x00000001, OPENFLAGS_NoLineQtree = 0x00000002, OPENFLAGS_NoNodeQtree = 0x00000004,
  OPENFLAGS_NoPolygonQtree = 0x00000008, OPENFLAGS_NoPointQtree = 0x00000010, OPENFLAGS_NoLabelQtree = 0x00000020, OPENFLAGS_NoDatabase = 0x00000040,
  OPENFLAGS_NoCreateTables = 0x00000080, OPENFLAGS_NoCreateElemID = 0x00000100, OPENFLAGS_NoDBStatTable = 0x00000200, OPENFLAGS_NoCreateStyle = 0x00000400,
  OPENFLAGS_NoChangeTopoType = 0x00000800, OPENFLAGS_NoHyper = 0x00001000, OPENFLAGS_NoStyle = 0x00002000, OPENFLAGS_NoValidateNodes = 0x00004000,
  OPENFLAGS_WriteAbsolute = 0x00008000, OPENFLAGS_NoLegacyDelete = 0x00010000
}
enum  SAVEFLAGS { SAVEFLAG_None = 0x0000, SAVEFLAG_RemoveExcessNodes = 0x0001, SAVEFLAG_RemoveExcessRecords = 0x0002, SAVEFLAG_Optimize = 0x0004 }
enum  STDATTRIBSTATE { STDATTRIBSTATE_NonExistant = 1, STDATTRIBSTATE_NeedRebuilding, STDATTRIBSTATE_Valid }
enum  TOOLKITFLAG {
  TOOLKITFLAG_None = 0x00, TOOLKITFLAG_NoConvIfElemID = 0x01, TOOLKITFLAG_RemExNodesDelLine = 0x02, TOOLKITFLAG_NoStatusText = 0x04,
  TOOLKITFLAG_NoSaveQTree = 0x08, TOOLKITFLAG_NoCreateElemID = 0x10, TOOLKITFLAG_NoQTrees = 0x20, TOOLKITFLAG_KeepAttachedLabels = 0x40
}
enum  VALIDATEFLAG {
  VALIDATEFLAG_None = 0x0000, VALIDATEFLAG_RebuildPolys = 0x0001, VALIDATEFLAG_RebuildIslands = 0x0002, VALIDATEFLAG_RebuildNodeLineList = 0x0004,
  VALIDATEFLAG_DontValidateZ = 0x0008, VALIDATEFLAG_NoRemoveNodes = 0x0080, VALIDATEFLAG_NoDBStatTable = 0x0100
}

Public Member Functions

 VECTORTOOLKIT ()
 ~VECTORTOOLKIT ()
ERRVALUE AddLabel (VECTOR::LABEL &label)
ERRVALUE AddLine (POLYLINE &PolyLine)
ERRVALUE AddLineSnapPoints (INT32 LineNum, POLYLINE &PolyLine)
ERRVALUE AddNode (DPOINT3D &point)
ERRVALUE AddPoint (const DPOINT3D &pt)
ERRVALUE AddPolygon (POLYLINE &PolyLine)
ERRVALUE AddSnapPoints (POLYLINE &PolyLine, bool &SnappedStart, bool &SnappedEnd)
ERRVALUE BuildNodeLineLists ()
ERRVALUE BuildPolygons ()
ERRVALUE BuildTopology ()
ERRVALUE ChangeLabel (INT32 LabelNum, VECTOR::LABEL &label)
ERRVALUE ChangeLine (INT32 LineNum, POLYLINE &PolyLine)
ERRVALUE ChangeNode (INT32 NodeNum, const DPOINT3D &NewPoint, const POLYLINELIST &NodeLines)
DEPRECATED ERRVALUE ChangeNode (INT32 NodeNum, const DPOINT3D &NewPoint, const std::vector< POLYLINE > &NodeLines)
ERRVALUE ChangePoint (INT32 PointNum, const DPOINT3D &pt, bool IsNode=false)
ERRVALUE ClipToRegion (const REGION2D &region, TESTCRITERIA RegionTest, const BITSET *PolygonSet, CLIPFLAGS flags)
ERRVALUE Close (bool ForceClose)
ERRVALUE CombineNodes (INT32 NodeNum, const DPOINT3D *NewPoint, const SIMPLE_ARRAY< INT32 > &NodeList)
ERRVALUE ConvertForward (const TRANS2D_MAPGEN &tmg)
ERRVALUE ConvertNodeToPoint (INT32 NodeNum)
ERRVALUE ConvertPointType (GEOMETRIC::POINTTYPE NewPointType)
ERRVALUE DeleteLabel (INT32 LabelNum)
ERRVALUE DeleteLabels (const SIMPLE_ARRAY< INT32 > &LabelList)
ERRVALUE DeleteLine (INT32 LineNum, DELETELINE flags, POLYGONDELETEFILTER *PolyDelFilt=0)
ERRVALUE DeleteLines (const SIMPLE_ARRAY< INT32 > &LineList, DELETELINE flags, POLYGONDELETEFILTER *PolyDelFilt=0)
INT32 DeleteNode (INT32 NodeNum, NODEFLAG NodeFlag)
ERRVALUE DeleteNodes (const SIMPLE_ARRAY< INT32 > &NodeList, NODEFLAG NodeFlag)
ERRVALUE DeletePoint (INT32 PointNum)
ERRVALUE DeletePoints (const SIMPLE_ARRAY< INT32 > &PointList)
ERRVALUE DeletePolygon (INT32 PolyNum, DELETEPOLYGON flags)
ERRVALUE DeletePolygons (SIMPLE_ARRAY< INT32 > &PolyList, DELETEPOLYGON flags)
ERRVALUE ExtractToRegion (const REGION2D &region, TESTCRITERIA RegionTest, CLIPFLAGS flags)
INT32 FindClosestLineVertex (INT32 LineNum, const DPOINT2D &testpt, DPOINT3D *retpt)
ERRVALUE GenerateElementIDTables ()
ERRVALUE GenerateIntersections (const POLYLINE &PolyLine, POLYLINE::INTERSECTINFO &ints, INT32 MaxIntersections=0)
const CREDENTIALSGetCredentials () const
ERRVALUE GetDatabaseObject (ELEMTYPE ElemType, DBASE_ELEMENT &DBaseObj)
DIMENSION GetDimension () const
INT32 GetNumElements (ELEMTYPE ElemType) const
ERRVALUE GetObjectItem (OBJITEM &ObjItem) const
const SNAPOBJECTGetSnapObject ()
const SNAPPARMSGetSnapParms () const
ERRVALUE GetStyleObject (STYLE &StyleObj) const
TOOLKITFLAG GetToolkitFlags () const
ERRVALUE GetVectorObject (VECTOR &VectorObj) const
ERRVALUE GetZValue (ELEMTYPE ElemType, INT32 ElemNum, double &zvalue) const
bool IsOpen () const
ERRVALUE LocateIslands (bool LineLeftRightValid)
ERRVALUE Open (const VECTOR &VectorObj, OPENFLAGS flags)
ERRVALUE Open (const RVC::OBJITEM &ObjItem, OPENFLAGS flags, const CREDENTIALS *Credentials=0)
ERRVALUE RecoverFromUndo ()
int RemoveDangleLine (INT32 LineNum, double maxdist)
INT32 RemoveDangleLineSet (const SIMPLE_ARRAY< INT32 > &LineList, double maxdist)
INT32 RemoveDangleLineSet (double maxdist)
ERRVALUE RemoveElementIDTables ()
int RemoveExcessNodes (const BITSET *NodeSet=0, NODEFLAG NodeFlags=NODEFLAG_None)
INT32 RemoveIslandSet (double MaxArea, DELETEPOLYGON flags, INT32 *NumTotalIslands)
ERRVALUE RemoveStandardAttributeTables ()
ERRVALUE ReverseLines (const SIMPLE_ARRAY< INT32 > &LineList)
ERRVALUE Save (RVC::OBJITEM &ObjItem, SAVEFLAGS flags)
ERRVALUE SetPrecision (int Precision)
void SetSnapObject (const VECTOR &VectorObj, const TRANS2D_MAPGEN &VectorToObject)
void SetSnapObject ()
void SetSnapParms (const SNAPPARMS &SnapParms)
void SetToolkitFlags (TOOLKITFLAG ToolkitFlags)
ERRVALUE SetTopologyType (VECTOR::TOPOLOGYTYPE VectorType)
ERRVALUE SetZValue (ELEMTYPE ElemType, INT32 ElemNum, double zvalue)
ERRVALUE SnapLine (INT32 LineNum)
ERRVALUE SnapLines (const BITSET_UNOWNED &LineSet, BITSET *UnsnappedSet, bool AttemptAllElements)
ERRVALUE SplineLine (INT32 LineNum, POLYLINE::SPLINE SplineType, INT32 NumKnots, double Tolerance, POLYLINE::SPLINEFLAGS flags)
ERRVALUE SplineLines (const BITSET *LineList, POLYLINE::SPLINE SplineType, INT32 NumKnots, double Tolerance, POLYLINE::SPLINEFLAGS flags, bool AttemptAllElements)
ERRVALUE SplitLineAtMaxPoints (INT32 MaxPoints, bool SetMaxPoints)
ERRVALUE StraightenLine (INT32 LineNum)
ERRVALUE ThinLine (INT32 LineNum, POLYLINE::THINMETHOD method, double Factor, POLYLINE::SPLINE SplineType, POLYLINE::SPLINEFLAGS flags)
ERRVALUE ThinLines (const BITSET *LineList, POLYLINE::THINMETHOD method, double Factor, POLYLINE::SPLINE SplineType, POLYLINE::SPLINEFLAGS flags, bool AttemptAllElements)
ERRVALUE Update ()
ERRVALUE UpdateStandardAttrib (MSTDATT::ADDSTAT flags)
STDATTRIBSTATE ValidateStandardAttribTables ()
ERRVALUE ValidateTopology (VALIDATEFLAG flags)
ERRVALUE ValidateTopology (VALIDATEFLAG flags, FILE_TEXT &LogFile)

Static Public Member Functions

static ERRVALUE BuildNodeLineLists (VECTOR &VectObj)
static ERRVALUE BuildPolygons (VECTOR &VectObj)
static ERRVALUE BuildTopology (VECTOR &VectObj)
static ERRVALUE DepthSortPolygons (VECTOR &VectObj)
static ERRVALUE RemoveExcessNodes (VECTOR &VectObj, NODEFLAG flags)
static int SplitLinesAtMaxPoints (const VECTOR &VectorObj, INT32 MaxPoints, OBJECT &ParentObj, VECTOR &NewObject)
static ERRVALUE ValidateElementID (VECTOR &VectorObj)
static ERRVALUE ValidateVectorTopology (VECTOR &VectorObj, OPENFLAGS OpenFlags, VALIDATEFLAG flags)
static ERRVALUE ValidateVectorTopology (VECTOR &VectorObj, FILE_TEXT &LogFile, OPENFLAGS OpenFlags, VALIDATEFLAG flags)

Detailed Description

Vector Toolkit.


Member Enumeration Documentation

Enumerator:
CLIPFLAG_None 

Nothing.

CLIPFLAG_ForceClipBorder 

Force the clip routine to add a border.

CLIPFLAG_NoClipBorder 

Force the clip routine to not add any border.

CLIPFLAG_OnlyClipLines 

Do not bother with the points and labels.

CLIPFLAG_NoStdAttrib 

Avoid standard attribute rebuild in validate.

CLIPFLAG_RemUnusedDBRec 

Removed unattached database records.

Enumerator:
DELETELINE_None 
DELETELINE_RemoveExcessNodes 
Enumerator:
DELETEPOLYGON_None 
DELETEPOLYGON_LongLineDelete 
DELETEPOLYGON_NoDeleteSpurs 
DELETEPOLYGON_CombineAttrib 
DELETEPOLYGON_RemoveAllIslands 
Enumerator:
NODEFLAG_None 
NODEFLAG_NoCheckDatabase 
NODEFLAG_NoCheckHyper 
NODEFLAG_NoStdAttrib 
NODEFLAG_RemoveIfPoint 
Enumerator:
OPENFLAGS_None 
OPENFLAGS_NoQtree 
OPENFLAGS_NoLineQtree 
OPENFLAGS_NoNodeQtree 
OPENFLAGS_NoPolygonQtree 
OPENFLAGS_NoPointQtree 
OPENFLAGS_NoLabelQtree 
OPENFLAGS_NoDatabase 
OPENFLAGS_NoCreateTables 
OPENFLAGS_NoCreateElemID 
OPENFLAGS_NoDBStatTable 
OPENFLAGS_NoCreateStyle 
OPENFLAGS_NoChangeTopoType 
OPENFLAGS_NoHyper 
OPENFLAGS_NoStyle 
OPENFLAGS_NoValidateNodes 
OPENFLAGS_WriteAbsolute 
OPENFLAGS_NoLegacyDelete 
Enumerator:
SAVEFLAG_None 
SAVEFLAG_RemoveExcessNodes 
SAVEFLAG_RemoveExcessRecords 
SAVEFLAG_Optimize 
Enumerator:
STDATTRIBSTATE_NonExistant 
STDATTRIBSTATE_NeedRebuilding 
STDATTRIBSTATE_Valid 
Enumerator:
TOOLKITFLAG_None 
TOOLKITFLAG_NoConvIfElemID 

Do not convert node to point if element ID attachment only.

TOOLKITFLAG_RemExNodesDelLine 

Delete excess nodes when deleting lines.

TOOLKITFLAG_NoStatusText 

Do not show status text.

TOOLKITFLAG_NoSaveQTree 

Do not save search tree in MfvClose() or MfvStop().

TOOLKITFLAG_NoCreateElemID 

Do not create element ID tables.

TOOLKITFLAG_NoQTrees 

Do not create search trees.

TOOLKITFLAG_KeepAttachedLabels 

Keep attached labels after elements attached are gone.

Enumerator:
VALIDATEFLAG_None 
VALIDATEFLAG_RebuildPolys 
VALIDATEFLAG_RebuildIslands 
VALIDATEFLAG_RebuildNodeLineList 
VALIDATEFLAG_DontValidateZ 
VALIDATEFLAG_NoRemoveNodes 
VALIDATEFLAG_NoDBStatTable 

Do not build and / or update the standard attribute tables.


Constructor & Destructor Documentation

RVC::VECTORTOOLKIT::VECTORTOOLKIT (  ) 

Default constructor.

RVC::VECTORTOOLKIT::~VECTORTOOLKIT (  ) 

Destructor.


Member Function Documentation

ERRVALUE RVC::VECTORTOOLKIT::AddLabel ( VECTOR::LABEL label  ) 
ERRVALUE RVC::VECTORTOOLKIT::AddLine ( POLYLINE PolyLine  ) 
ERRVALUE RVC::VECTORTOOLKIT::AddLineSnapPoints ( INT32  LineNum,
POLYLINE PolyLine 
)
ERRVALUE RVC::VECTORTOOLKIT::AddNode ( DPOINT3D point  ) 
Parameters:
point Position of added node will most likely change
ERRVALUE RVC::VECTORTOOLKIT::AddPoint ( const DPOINT3D pt  ) 
ERRVALUE RVC::VECTORTOOLKIT::AddPolygon ( POLYLINE PolyLine  ) 
ERRVALUE RVC::VECTORTOOLKIT::AddSnapPoints ( POLYLINE PolyLine,
bool &  SnappedStart,
bool &  SnappedEnd 
)
ERRVALUE RVC::VECTORTOOLKIT::BuildNodeLineLists (  ) 
static ERRVALUE RVC::VECTORTOOLKIT::BuildNodeLineLists ( VECTOR VectObj  )  [static]

Rebuild vector node line lists.

ERRVALUE RVC::VECTORTOOLKIT::BuildPolygons (  ) 
static ERRVALUE RVC::VECTORTOOLKIT::BuildPolygons ( VECTOR VectObj  )  [static]

Rebuild vector polygons from scratch, does not maintain attribute attachment.

ERRVALUE RVC::VECTORTOOLKIT::BuildTopology (  ) 

Build vector topology from clean line work.

Clean line work states that the lines to not intersect, and they touch other lines only at the ends of both sets of lines or to itself. An intersection is referenced from the X/Y plane, Z values are not considered for determining that an intersection exists.

If no nodes exists, this will create them and set the line start/end fields If no 'node line list' exists, they will be created. Note that the line start/end field MUST be set If the object is marked as 'Polygonal', this method will locate polygons and create the entries for them. Last, polygon islands will be found and marked accordingly.

static ERRVALUE RVC::VECTORTOOLKIT::BuildTopology ( VECTOR VectObj  )  [static]

Build vector topology from clean line work.

Clean line work states that the lines to not intersect, and they touch other lines only at the ends of both sets of lines or to itself. An intersection is referenced from the X/Y plane, Z values are not considered for determining that an intersection exists.

If no nodes exists, this will create them and set the line start/end fields If no 'node line list' exists, they will be created. Note that the line start/end field MUST be set If the object is marked as 'Polygonal', this method will locate polygons and create the entries for them. Last, polygon islands will be found and marked accordingly.

ERRVALUE RVC::VECTORTOOLKIT::ChangeLabel ( INT32  LabelNum,
VECTOR::LABEL label 
)
ERRVALUE RVC::VECTORTOOLKIT::ChangeLine ( INT32  LineNum,
POLYLINE PolyLine 
)
ERRVALUE RVC::VECTORTOOLKIT::ChangeNode ( INT32  NodeNum,
const DPOINT3D NewPoint,
const POLYLINELIST NodeLines 
)
DEPRECATED ERRVALUE RVC::VECTORTOOLKIT::ChangeNode ( INT32  NodeNum,
const DPOINT3D NewPoint,
const std::vector< POLYLINE > &  NodeLines 
)
ERRVALUE RVC::VECTORTOOLKIT::ChangePoint ( INT32  PointNum,
const DPOINT3D pt,
bool  IsNode = false 
)
ERRVALUE RVC::VECTORTOOLKIT::ClipToRegion ( const REGION2D region,
TESTCRITERIA  RegionTest,
const BITSET PolygonSet,
CLIPFLAGS  flags 
)
ERRVALUE RVC::VECTORTOOLKIT::Close ( bool  ForceClose  ) 
ERRVALUE RVC::VECTORTOOLKIT::CombineNodes ( INT32  NodeNum,
const DPOINT3D NewPoint,
const SIMPLE_ARRAY< INT32 > &  NodeList 
)
Parameters:
NewPoint Location of new node
NodeList List of Nodes to combine
ERRVALUE RVC::VECTORTOOLKIT::ConvertForward ( const TRANS2D_MAPGEN tmg  ) 
ERRVALUE RVC::VECTORTOOLKIT::ConvertNodeToPoint ( INT32  NodeNum  ) 
ERRVALUE RVC::VECTORTOOLKIT::ConvertPointType ( GEOMETRIC::POINTTYPE  NewPointType  ) 
ERRVALUE RVC::VECTORTOOLKIT::DeleteLabel ( INT32  LabelNum  ) 
ERRVALUE RVC::VECTORTOOLKIT::DeleteLabels ( const SIMPLE_ARRAY< INT32 > &  LabelList  ) 
ERRVALUE RVC::VECTORTOOLKIT::DeleteLine ( INT32  LineNum,
DELETELINE  flags,
POLYGONDELETEFILTER PolyDelFilt = 0 
)
ERRVALUE RVC::VECTORTOOLKIT::DeleteLines ( const SIMPLE_ARRAY< INT32 > &  LineList,
DELETELINE  flags,
POLYGONDELETEFILTER PolyDelFilt = 0 
)
INT32 RVC::VECTORTOOLKIT::DeleteNode ( INT32  NodeNum,
NODEFLAG  NodeFlag 
)
ERRVALUE RVC::VECTORTOOLKIT::DeleteNodes ( const SIMPLE_ARRAY< INT32 > &  NodeList,
NODEFLAG  NodeFlag 
)
ERRVALUE RVC::VECTORTOOLKIT::DeletePoint ( INT32  PointNum  ) 
ERRVALUE RVC::VECTORTOOLKIT::DeletePoints ( const SIMPLE_ARRAY< INT32 > &  PointList  ) 
ERRVALUE RVC::VECTORTOOLKIT::DeletePolygon ( INT32  PolyNum,
DELETEPOLYGON  flags 
)
ERRVALUE RVC::VECTORTOOLKIT::DeletePolygons ( SIMPLE_ARRAY< INT32 > &  PolyList,
DELETEPOLYGON  flags 
)
static ERRVALUE RVC::VECTORTOOLKIT::DepthSortPolygons ( VECTOR VectObj  )  [static]

Determine islands by depth sort algorithm.

ERRVALUE RVC::VECTORTOOLKIT::ExtractToRegion ( const REGION2D region,
TESTCRITERIA  RegionTest,
CLIPFLAGS  flags 
)
INT32 RVC::VECTORTOOLKIT::FindClosestLineVertex ( INT32  LineNum,
const DPOINT2D testpt,
DPOINT3D retpt 
)
ERRVALUE RVC::VECTORTOOLKIT::GenerateElementIDTables (  ) 
ERRVALUE RVC::VECTORTOOLKIT::GenerateIntersections ( const POLYLINE PolyLine,
POLYLINE::INTERSECTINFO ints,
INT32  MaxIntersections = 0 
)
const CREDENTIALS& RVC::VECTORTOOLKIT::GetCredentials (  )  const [inline]

Get the credentials used to open this instance.

Returns:
The credentials used to open this instance
ERRVALUE RVC::VECTORTOOLKIT::GetDatabaseObject ( ELEMTYPE  ElemType,
DBASE_ELEMENT DBaseObj 
)
DIMENSION RVC::VECTORTOOLKIT::GetDimension (  )  const [inline]
INT32 RVC::VECTORTOOLKIT::GetNumElements ( ELEMTYPE  ElemType  )  const
ERRVALUE RVC::VECTORTOOLKIT::GetObjectItem ( OBJITEM ObjItem  )  const
const SNAPOBJECT& RVC::VECTORTOOLKIT::GetSnapObject (  )  [inline]
const SNAPPARMS& RVC::VECTORTOOLKIT::GetSnapParms (  )  const [inline]
ERRVALUE RVC::VECTORTOOLKIT::GetStyleObject ( STYLE StyleObj  )  const
TOOLKITFLAG RVC::VECTORTOOLKIT::GetToolkitFlags (  )  const [inline]
ERRVALUE RVC::VECTORTOOLKIT::GetVectorObject ( VECTOR VectorObj  )  const
ERRVALUE RVC::VECTORTOOLKIT::GetZValue ( ELEMTYPE  ElemType,
INT32  ElemNum,
double &  zvalue 
) const
bool RVC::VECTORTOOLKIT::IsOpen (  )  const [inline]
ERRVALUE RVC::VECTORTOOLKIT::LocateIslands ( bool  LineLeftRightValid  ) 
ERRVALUE RVC::VECTORTOOLKIT::Open ( const VECTOR VectorObj,
OPENFLAGS  flags 
)
ERRVALUE RVC::VECTORTOOLKIT::Open ( const RVC::OBJITEM ObjItem,
OPENFLAGS  flags,
const CREDENTIALS Credentials = 0 
)
ERRVALUE RVC::VECTORTOOLKIT::RecoverFromUndo (  ) 
int RVC::VECTORTOOLKIT::RemoveDangleLine ( INT32  LineNum,
double  maxdist 
)
Parameters:
maxdist Remove line if smaller than this value
INT32 RVC::VECTORTOOLKIT::RemoveDangleLineSet ( const SIMPLE_ARRAY< INT32 > &  LineList,
double  maxdist 
)
INT32 RVC::VECTORTOOLKIT::RemoveDangleLineSet ( double  maxdist  ) 
ERRVALUE RVC::VECTORTOOLKIT::RemoveElementIDTables (  ) 
int RVC::VECTORTOOLKIT::RemoveExcessNodes ( const BITSET NodeSet = 0,
NODEFLAG  NodeFlags = NODEFLAG_None 
)
static ERRVALUE RVC::VECTORTOOLKIT::RemoveExcessNodes ( VECTOR VectObj,
NODEFLAG  flags 
) [static]

Remove excess nodes from a vector object.

INT32 RVC::VECTORTOOLKIT::RemoveIslandSet ( double  MaxArea,
DELETEPOLYGON  flags,
INT32 NumTotalIslands 
)
ERRVALUE RVC::VECTORTOOLKIT::RemoveStandardAttributeTables (  ) 
ERRVALUE RVC::VECTORTOOLKIT::ReverseLines ( const SIMPLE_ARRAY< INT32 > &  LineList  ) 
ERRVALUE RVC::VECTORTOOLKIT::Save ( RVC::OBJITEM ObjItem,
SAVEFLAGS  flags 
)
ERRVALUE RVC::VECTORTOOLKIT::SetPrecision ( int  Precision  ) 
void RVC::VECTORTOOLKIT::SetSnapObject ( const VECTOR VectorObj,
const TRANS2D_MAPGEN VectorToObject 
)
void RVC::VECTORTOOLKIT::SetSnapObject (  ) 
void RVC::VECTORTOOLKIT::SetSnapParms ( const SNAPPARMS SnapParms  )  [inline]
void RVC::VECTORTOOLKIT::SetToolkitFlags ( TOOLKITFLAG  ToolkitFlags  )  [inline]
ERRVALUE RVC::VECTORTOOLKIT::SetTopologyType ( VECTOR::TOPOLOGYTYPE  VectorType  ) 
ERRVALUE RVC::VECTORTOOLKIT::SetZValue ( ELEMTYPE  ElemType,
INT32  ElemNum,
double  zvalue 
)
ERRVALUE RVC::VECTORTOOLKIT::SnapLine ( INT32  LineNum  ) 
ERRVALUE RVC::VECTORTOOLKIT::SnapLines ( const BITSET_UNOWNED LineSet,
BITSET UnsnappedSet,
bool  AttemptAllElements 
)
ERRVALUE RVC::VECTORTOOLKIT::SplineLine ( INT32  LineNum,
POLYLINE::SPLINE  SplineType,
INT32  NumKnots,
double  Tolerance,
POLYLINE::SPLINEFLAGS  flags 
)
ERRVALUE RVC::VECTORTOOLKIT::SplineLines ( const BITSET LineList,
POLYLINE::SPLINE  SplineType,
INT32  NumKnots,
double  Tolerance,
POLYLINE::SPLINEFLAGS  flags,
bool  AttemptAllElements 
)
Parameters:
LineList Can be NULL
ERRVALUE RVC::VECTORTOOLKIT::SplitLineAtMaxPoints ( INT32  MaxPoints,
bool  SetMaxPoints 
)
static int RVC::VECTORTOOLKIT::SplitLinesAtMaxPoints ( const VECTOR VectorObj,
INT32  MaxPoints,
OBJECT ParentObj,
VECTOR NewObject 
) [static]

Split lines at max points if necessary.

Returns:
> 0 if lines split into new object, 0 if not, < 0 if error
ERRVALUE RVC::VECTORTOOLKIT::StraightenLine ( INT32  LineNum  ) 
ERRVALUE RVC::VECTORTOOLKIT::ThinLine ( INT32  LineNum,
POLYLINE::THINMETHOD  method,
double  Factor,
POLYLINE::SPLINE  SplineType,
POLYLINE::SPLINEFLAGS  flags 
)
ERRVALUE RVC::VECTORTOOLKIT::ThinLines ( const BITSET LineList,
POLYLINE::THINMETHOD  method,
double  Factor,
POLYLINE::SPLINE  SplineType,
POLYLINE::SPLINEFLAGS  flags,
bool  AttemptAllElements 
)
Parameters:
LineList Can be NULL
ERRVALUE RVC::VECTORTOOLKIT::Update (  ) 
ERRVALUE RVC::VECTORTOOLKIT::UpdateStandardAttrib ( MSTDATT::ADDSTAT  flags  ) 
static ERRVALUE RVC::VECTORTOOLKIT::ValidateElementID ( VECTOR VectorObj  )  [static]

Validate vector element ID tables.

STDATTRIBSTATE RVC::VECTORTOOLKIT::ValidateStandardAttribTables (  ) 
ERRVALUE RVC::VECTORTOOLKIT::ValidateTopology ( VALIDATEFLAG  flags  ) 
ERRVALUE RVC::VECTORTOOLKIT::ValidateTopology ( VALIDATEFLAG  flags,
FILE_TEXT LogFile 
)
Parameters:
LogFile If !LogFile.IsOpen(), then no log entries are generated nor kept
static ERRVALUE RVC::VECTORTOOLKIT::ValidateVectorTopology ( VECTOR VectorObj,
OPENFLAGS  OpenFlags,
VALIDATEFLAG  flags 
) [static]

Validate vector topology.

static ERRVALUE RVC::VECTORTOOLKIT::ValidateVectorTopology ( VECTOR VectorObj,
FILE_TEXT LogFile,
OPENFLAGS  OpenFlags,
VALIDATEFLAG  flags 
) [static]

Validate vector topology.

Parameters:
LogFile If !LogFile.IsOpen(), then no log entries are generated nor kept

The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:38:26 2012 for TNTsdk 2012 by  doxygen 1.6.1