RVC::VECTOR Class Reference

Manages RVC::OBJTYPE_Vector RVC objects. More...

#include <rvc/vector.h>

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

List of all members.

Classes

class  CONGLOMERATELINEFILTER
class  ELEMITERATOR
 Element iterator, used to iterate through valid vector object elements. More...
class  GETOBJFILTER_HASGEOMETRICELEMENTS
 GETOBJFILTER derived class to determine if the vector object has points or lines or polygons to perform geometric operations on. More...
class  GETOBJFILTER_HASLABELS
 GETOBJFILTER derived class to determine if the vector object has the minimum number of labels. More...
class  GETOBJFILTER_HASLINES
 GETOBJFILTER derived class to determine if the vector object has the minimum number of labels. More...
class  GETOBJFILTER_HASPOINTS
 GETOBJFILTER derived class to determine if the vector object has the minimum number of labels. More...
class  GETOBJFILTER_HASPOLYGONS
 GETOBJFILTER derived class to determine if the vector object has the minimum number of labels. More...
class  LABEL
 Vector label class. More...
struct  LINE
 Vector Line record definition. More...
class  MAKEPARMS
 Vector object creation parameters. More...
struct  NODE
 Vector Node record definition. More...
struct  POINT
 Vector point record definition. More...
struct  POLYGON
 Vector Polygon record definition. More...

Public Types

enum  FLAGS {
  FLAG_None = 0, FLAG_NoStdAttribTables = 0x0001, FLAG_NoElementIDTables = 0x0002, FLAG_CannotReduceExtents = 0x0004,
  FLAG_CannotExpandExtents = 0x0008
}
typedef ELEMITERATOR< LABELLABELITERATOR
typedef ELEMITERATOR< LINELINEITERATOR
typedef ELEMITERATOR< NODENODEITERATOR
typedef ELEMITERATOR< POINTPOINTITERATOR
typedef ELEMITERATOR< POLYGONPOLYGONITERATOR
enum  SUBTYPE {
  SUBTYPE_2DPolygonal = 0, SUBTYPE_2DPlanar, SUBTYPE_2DNetwork, SUBTYPE_3DPolygonal,
  SUBTYPE_3DPlanar, SUBTYPE_3DNetwork, SUBTYPE_3DNone
}
enum  TOPOLOGYTYPE { TOPOLOGYTYPE_Polygonal = 0, TOPOLOGYTYPE_Planar, TOPOLOGYTYPE_Network, TOPOLOGYTYPE_None }

Public Member Functions

 VECTOR (const RVC::VECTOR &rhs)
 VECTOR ()
virtual ~VECTOR ()
INT32 Add (const POLYGON &polygon)
INT32 Add (const POINT &point)
INT32 Add (const NODE &node)
INT32 Add (const LINE &line)
INT32 Add (LABEL &label)
INT32 AddLine (const POLYLINE &PolyLine)
INT32 AddPoint (const DPOINT3D &Point)
INT32 AddPolygon (const POLYLINE &Polygon)
ERRVALUE AddRegion (const REGION2D &Region)
INT32 AddSubRegion (const SUBREGION2D &SubRegion)
ERRVALUE DeleteElement (ELEMTYPE ElemType, INT32 ElemNum)
template<typename _ELEM >
ELEMITERATOR< _ELEM > ElementBegin (const ELEMITERATOR< _ELEM > &) const
template<typename _ELEM >
ELEMITERATOR< _ELEM > ElementEnd (const ELEMITERATOR< _ELEM > &) const
ERRVALUE FindLabelStyleObject (RVC::STYLE &StyleObj) const
ERRVALUE GenerateIsleShellList (INT32 ParentPolygon, ORIENTATION orient, SIMPLE_ARRAY< INT32 > &NumShellLines, SIMPLE_ARRAY< INT32 > &ShellList, SIMPLE_ARRAY< DRECT2D > *RectList=0) const
ERRVALUE GenerateNodes ()
ERRVALUE GeneratePointInPolygon (INT32 PolyNum, DPOINT2D &PointInPoly) const
RVC::VECTOR::FLAGS GetFlags () const
ERRVALUE GetLabelStyleInfo (FILEPATH &filepath, RVC::OBJECTNAME &StyleName) const
ERRVALUE GetMakeParms (RVC::VECTOR::MAKEPARMS &MakeParms) const
INT32 GetMaxIslands () const
INT32 GetMaxLabelStringLength () const
INT32 GetMaxLines () const
INT32 GetMaxPoints () const
INT32 GetNextLineID () const
INT32 GetNextPointID () const
INT32 GetNextPolygonID () const
INT32 GetNumLabels () const
INT32 GetNumLinePoints (INT32 LineNum) const
INT32 GetNumLines () const
INT32 GetNumNodeLines (INT32 NodeNum) const
INT32 GetNumNodes () const
INT32 GetNumPoints () const
INT32 GetNumPolygons () const
INT32 GetNumPolyIslands (INT32 PolyNum) const
INT32 GetNumPolyLines (INT32 PolyNum) const
SUBTYPE GetSubType () const
TOPOLOGYTYPE GetTopologyType () const
INT32 GetVertexLimit () const
bool IsElementIDTablesValid () const
bool IsEquivalentTo (const VECTOR &rhs, double threshold) const
bool IsPointInPolygon (INT32 PolyNum, const DPOINT2D &point) const
bool IsStdAttribTablesValid () const
ERRVALUE Make (RVC::OBJITEM &ObjItem, const MAKEPARMS &MakeParms, const char *Source=0, const CREDENTIALS *Credentials=0)
ERRVALUE Make (const RVC::OBJECT &parent, const DESCRIPTOR &Descriptor, const MAKEPARMS &MakeParms, const CREDENTIALS *Credentials RVC_DEFAULT_CREDENTIALS)
RVC::VECTORoperator= (const RVC::VECTOR &rhs)
ERRVALUE OptimizeTo (RVC::OBJITEM &ObjItemTgt)
ERRVALUE OptimizeTo (RVC::OBJECT &DestParentObj, RVC::VECTOR &DestVectObj)
ERRVALUE Read (INT32 PolyNum, POLYGON &vpoly) const
ERRVALUE Read (INT32 PointNum, POINT &vpoint) const
ERRVALUE Read (INT32 NodeNum, NODE &vnode) const
ERRVALUE Read (INT32 LineNum, LINE &vline) const
ERRVALUE Read (INT32 LabelNum, LABEL &vlabel) const
ERRVALUE ReadConglomerateLinePoints (INT32 StartLineNum, POLYLINE &ConglomerateLine, CONGLOMERATELINEFILTER &filter) const
ERRVALUE ReadLinePoint (INT32 LineNum, INT32 PointNum, DPOINT3D &point) const
INT32 ReadLinePoints (INT32 LineNum, INT32 Start, INT32 Length, DPOINT3D *pts) const
INT32 ReadLinePoints (INT32 LineNum, INT32 Start, INT32 Length, DPOINT2D *pts) const
INT32 ReadLinePoints (INT32 LineNum, INT32 Start, INT32 Length, POLYLINE &LinePoints, DIMENSION dimension) const
INT32 ReadLinePoints (INT32 LineNum, INT32 Start, INT32 Length, POLYLINE &LinePoints) const
INT32 ReadLinePoints (INT32 LineNum, POLYLINE &LinePoints, DIMENSION dimension) const
INT32 ReadLinePoints (INT32 LineNum, POLYLINE &LinePoints) const
ERRVALUE ReadNodeLines (INT32 NodeNum, INT32 Start, INT32 Length, SIMPLE_ARRAY< INT32 > &LineList) const
ERRVALUE ReadNodeLines (INT32 NodeNum, SIMPLE_ARRAY< INT32 > &LineList) const
ERRVALUE ReadPolyIslands (INT32 PolyNum, INT32 Start, INT32 Length, SIMPLE_ARRAY< INT32 > &IsleList) const
ERRVALUE ReadPolyIslands (INT32 PolyNum, SIMPLE_ARRAY< INT32 > &IsleList) const
ERRVALUE ReadPolyLines (INT32 PolyNum, INT32 Start, INT32 Length, SIMPLE_ARRAY< INT32 > &LineList) const
ERRVALUE ReadPolyLines (INT32 PolyNum, SIMPLE_ARRAY< INT32 > &LineList) const
ERRVALUE ReadPolyPoints (INT32 PolyNum, POLYLINE &LinePoints, DIMENSION dimension) const
ERRVALUE ReadRegion (const BITSET_UNOWNED &PolySet, REGION2D &Region, BITSET *LineSet=0, bool NoIslands=false) const
ERRVALUE ReadRegion (const BITSET_UNOWNED &PolySet, REGION2D &Region, DIMENSION dim, BITSET *LineSet=0, bool NoIslands=false) const
ERRVALUE ReadSubRegion (INT32 PolyNum, SUBREGION2D &SubRegion, bool NoIslands=false) const
ERRVALUE ReadSubRegion (INT32 PolyNum, SUBREGION2D &SubRegion, DIMENSION dim, bool NoIslands=false) const
ERRVALUE SetFlags (RVC::VECTOR::FLAGS flags)
ERRVALUE SetLabelStyleInfo (const FILEPATH &filepath, const RVC::OBJECTNAME &StyleName)
ERRVALUE SetNextLineID (INT32 NewValue)
ERRVALUE SetNextPointID (INT32 NewValue)
ERRVALUE SetNextPolygonID (INT32 NewValue)
ERRVALUE SetPointType (POINTTYPE PointType)
ERRVALUE SetTopologyType (TOPOLOGYTYPE TopologyType)
ERRVALUE SetVertexLimit (INT32 MaxVertices)
ERRVALUE Write (INT32 PolyNum, const POLYGON &vpoly)
ERRVALUE Write (INT32 PointNum, const POINT &vpoint)
ERRVALUE Write (INT32 NodeNum, const NODE &vnode)
ERRVALUE Write (INT32 LineNum, const LINE &vline)
ERRVALUE Write (INT32 LabelNum, LABEL &vlabel)
ERRVALUE WriteLinePoint (INT32 LineNum, INT32 vertex, const DPOINT3D &point)
INT32 WriteLinePoints (INT32 LineNum, INT32 Start, INT32 Length, const POLYLINE &PointList)
INT32 WriteLinePoints (INT32 LineNum, const POLYLINE &PointList)
INT32 WriteNodeLines (INT32 NodeNum, INT32 NumLines, INT32 Start, INT32 Length, const SIMPLE_ARRAY< INT32 > &LineList)
INT32 WriteNodeLines (INT32 NodeNum, const SIMPLE_ARRAY< INT32 > &LineList)
INT32 WritePolyIslands (INT32 PolyNum, INT32 NumIslands, INT32 Start, INT32 Length, const SIMPLE_ARRAY< INT32 > &IsleList)
INT32 WritePolyIslands (INT32 PolyNum, const SIMPLE_ARRAY< INT32 > &IsleList)
INT32 WritePolyLines (INT32 PolyNum, INT32 NumLines, INT32 Start, INT32 Length, const SIMPLE_ARRAY< INT32 > &LineList)
INT32 WritePolyLines (INT32 PolyNum, const SIMPLE_ARRAY< INT32 > &LineList)

Protected Member Functions

ERRVALUE ClearLinePointList ()
ERRVALUE ClearNodeLineList ()
ERRVALUE ClearPolygonIslandList ()
ERRVALUE ClearPolygonLineList ()
ERRVALUE SetNumLabels (INT32 NewNumLabels)
ERRVALUE SetNumLines (INT32 NewNumLines)
ERRVALUE SetNumNodes (INT32 NewNumNodes)
ERRVALUE SetNumPoints (INT32 NewNumPolygons)
ERRVALUE SetNumPolygons (INT32 NewNumPolygons)
ERRVALUE SwapLinePoints (INT32 Line1, INT32 Line2)
ERRVALUE SwapNodeLines (INT32 Node1, INT32 Node2)
ERRVALUE SwapPolyIslands (INT32 Poly1, INT32 Poly2)
ERRVALUE SwapPolyLines (INT32 Poly1, INT32 Poly2)

Detailed Description

Manages RVC::OBJTYPE_Vector RVC objects.

RVC Object Types that this class supports: RVC::OBJTYPE_Vector.

Default RVC Object Type for this class: RVC::OBJTYPE_Vector.

Valid parents for this class:


Member Typedef Documentation


Member Enumeration Documentation

Enumerator:
FLAG_None 
FLAG_NoStdAttribTables 
FLAG_NoElementIDTables 
FLAG_CannotReduceExtents 
FLAG_CannotExpandExtents 
Enumerator:
SUBTYPE_2DPolygonal 
SUBTYPE_2DPlanar 
SUBTYPE_2DNetwork 
SUBTYPE_3DPolygonal 
SUBTYPE_3DPlanar 
SUBTYPE_3DNetwork 
SUBTYPE_3DNone 
Enumerator:
TOPOLOGYTYPE_Polygonal 

Vector object has polygons and full polygon-line-node topology.

TOPOLOGYTYPE_Planar 

Vector object has no polygons and full line-node topology.

TOPOLOGYTYPE_Network 

Vector object has no polygons and connected line-node topology.

TOPOLOGYTYPE_None 

Vector object has no topology, lines only.


Constructor & Destructor Documentation

RVC::VECTOR::VECTOR (  ) 

Default constructor.

RVC::VECTOR::VECTOR ( const RVC::VECTOR rhs  ) 

Copy constructor.

virtual RVC::VECTOR::~VECTOR (  )  [virtual]

Destructor.


Member Function Documentation

INT32 RVC::VECTOR::Add ( const POLYGON polygon  ) 

Add a polygon to the vector object.

Returns:
Number of the added polygon element or < 0 if error
INT32 RVC::VECTOR::Add ( const POINT point  ) 

Add a point to the vector object.

Returns:
Number of the added point element or < 0 if error
INT32 RVC::VECTOR::Add ( const NODE node  ) 

Add a node to the vector object.

Returns:
Number of the added node element or < 0 if error
INT32 RVC::VECTOR::Add ( const LINE line  ) 

Add a line to the vector object.

Returns:
Number of the added line element or < 0 if error
INT32 RVC::VECTOR::Add ( LABEL label  ) 

Add a label to the vector object.

Returns:
Number of the added label element or < 0 if error
INT32 RVC::VECTOR::AddLine ( const POLYLINE PolyLine  ) 

Add a line to the vector object from a POLYLINE Will correctly set the LINE and update the extents of the vector Will not add nodes nor correct topology.

Returns:
Number of the added line element or < 0 if error
INT32 RVC::VECTOR::AddPoint ( const DPOINT3D Point  ) 

Add a point to the vector object from a DPOINT3D Will correctly update the extents of the vector Will not correct topology.

Returns:
Number of the added point element or < 0 if error
INT32 RVC::VECTOR::AddPolygon ( const POLYLINE Polygon  ) 

Add a polygon to the vector object Will correctly set the POLYGON and update the extents of the vector Will add the line and set LINE correctly Will not add nodes nor correct topology 'PolyLine' element MUST be closed, or an error is returned.

Returns:
Number of the added polygon element or < 0 if error
ERRVALUE RVC::VECTOR::AddRegion ( const REGION2D Region  ) 

Add a region to the vector object Will correctly set the POLYGON and update the extents of the vector Will correctly add the islands and set the parent polygon island set.

Will add the lines and set LINE correctly Will not add nodes nor correct topology. Assumes that the 'Region' is in the same Coordinate Reference System (CRS) as the vector object. Since multiple polygon shells can be added, the added element number cannot be returned

INT32 RVC::VECTOR::AddSubRegion ( const SUBREGION2D SubRegion  ) 

Add a sub-region to the vector object Will correctly set the POLYGON and update the extents of the vector Will correctly add the islands and set the parent polygon island set.

Will add the lines and set LINE correctly Will not add nodes nor correct topology Assumes that the 'SubRegion' is in the same Coordinate Reference System (CRS) as the vector object.

Returns:
Number of the added parent polygon element or < 0 if error
ERRVALUE RVC::VECTOR::ClearLinePointList (  )  [protected]
ERRVALUE RVC::VECTOR::ClearNodeLineList (  )  [protected]
ERRVALUE RVC::VECTOR::ClearPolygonIslandList (  )  [protected]
ERRVALUE RVC::VECTOR::ClearPolygonLineList (  )  [protected]
ERRVALUE RVC::VECTOR::DeleteElement ( ELEMTYPE  ElemType,
INT32  ElemNum 
)

Mark an element as deleted.

template<typename _ELEM >
ELEMITERATOR<_ELEM> RVC::VECTOR::ElementBegin ( const ELEMITERATOR< _ELEM > &   )  const [inline]

Obtain an element iterator to the beginning of the element list.

template<typename _ELEM >
ELEMITERATOR<_ELEM> RVC::VECTOR::ElementEnd ( const ELEMITERATOR< _ELEM > &   )  const [inline]

Obtain an element iterator to the end of the element list.

ERRVALUE RVC::VECTOR::FindLabelStyleObject ( RVC::STYLE StyleObj  )  const

Locate label style object referenced by 'this' 'StyleObj' will be attached if one is found, unattached if not.

ERRVALUE RVC::VECTOR::GenerateIsleShellList ( INT32  ParentPolygon,
ORIENTATION  orient,
SIMPLE_ARRAY< INT32 > &  NumShellLines,
SIMPLE_ARRAY< INT32 > &  ShellList,
SIMPLE_ARRAY< DRECT2D > *  RectList = 0 
) const

Generate the list of islend shell lines for a specific polygon.

Parameters:
ParentPolygon Parent polygon, -1 for external polygon shell list
ERRVALUE RVC::VECTOR::GenerateNodes (  ) 

Generate nodes and set line start/end values based on the lines in the vector object This method will remove all existing nodes.

ERRVALUE RVC::VECTOR::GeneratePointInPolygon ( INT32  PolyNum,
DPOINT2D PointInPoly 
) const

Generate a point inside of a polygon.

RVC::VECTOR::FLAGS RVC::VECTOR::GetFlags (  )  const

Get vector object flags.

Returns:
VECTOR::FLAGS
ERRVALUE RVC::VECTOR::GetLabelStyleInfo ( FILEPATH filepath,
RVC::OBJECTNAME StyleName 
) const

Obtain style object refered to by the label header.

ERRVALUE RVC::VECTOR::GetMakeParms ( RVC::VECTOR::MAKEPARMS MakeParms  )  const

Get MAKEPARM values from current vector object instance.

INT32 RVC::VECTOR::GetMaxIslands (  )  const

Obtain maximum number of islands in a polygon.

Returns:
Maximum number of islands
INT32 RVC::VECTOR::GetMaxLabelStringLength (  )  const

Obtain maximum length of a label string.

Returns:
Maximum length of a label string
INT32 RVC::VECTOR::GetMaxLines (  )  const

Obtain maximum number of lines in a polygon or node line list.

Returns:
Maximum number of lines
INT32 RVC::VECTOR::GetMaxPoints (  )  const

Obtain the maximum number of points a line has.

Returns:
Maximum number of points in a line
INT32 RVC::VECTOR::GetNextLineID (  )  const

Obtain next available line ID for line ID table.

Returns:
Next available line ID
INT32 RVC::VECTOR::GetNextPointID (  )  const

Obtain next available point ID for point ID table.

Returns:
Next available point ID
INT32 RVC::VECTOR::GetNextPolygonID (  )  const

Obtain next available polygon ID for polygon ID table.

Returns:
Next available polygon ID
INT32 RVC::VECTOR::GetNumLabels (  )  const

Obtain number of labels in the vector object.

Returns:
Number of labels
INT32 RVC::VECTOR::GetNumLinePoints ( INT32  LineNum  )  const

Obtain number of points in a line.

Returns:
Number of line points
INT32 RVC::VECTOR::GetNumLines (  )  const

Obtain number of lines in the vector object.

Returns:
Number of lines
INT32 RVC::VECTOR::GetNumNodeLines ( INT32  NodeNum  )  const

Obtain number of lines in a node.

Returns:
Number of node lines
INT32 RVC::VECTOR::GetNumNodes (  )  const

Obtain number of nodes in the vector object.

Returns:
Number of nodes
INT32 RVC::VECTOR::GetNumPoints (  )  const

Obtain number of points in the vector object.

Returns:
Number of points
INT32 RVC::VECTOR::GetNumPolygons (  )  const

Obtain number of polygons in the vector object.

Returns:
Number of polygons
INT32 RVC::VECTOR::GetNumPolyIslands ( INT32  PolyNum  )  const

Obtain number of islands in a polygon.

Returns:
Number of polygon islands
INT32 RVC::VECTOR::GetNumPolyLines ( INT32  PolyNum  )  const

Obtain number of lines in a polygon.

Returns:
Number of polygon lines
SUBTYPE RVC::VECTOR::GetSubType (  )  const

Obtain vector sub-type.

Returns:
Vector object subtype
TOPOLOGYTYPE RVC::VECTOR::GetTopologyType (  )  const

Obtain vector topology type for vector.

Returns:
vector RVC::VECTOR::TOPOLOGYTYPE
INT32 RVC::VECTOR::GetVertexLimit (  )  const

Obtain limit on the maximum number of vertices a line can have.

Returns:
Maximum number of verticies
bool RVC::VECTOR::IsElementIDTablesValid (  )  const

Determine if we are able to generate element ID tables for the vector object.

bool RVC::VECTOR::IsEquivalentTo ( const VECTOR rhs,
double  threshold 
) const

Determine if the two vector objects are equivalent This method uses "Fuzzy" vertex comparisons and the direction and order of the elements are not relevant.

Returns:
'True' if they are, 'False' if not
bool RVC::VECTOR::IsPointInPolygon ( INT32  PolyNum,
const DPOINT2D point 
) const

Is this point inside the vector polygon specified.

bool RVC::VECTOR::IsStdAttribTablesValid (  )  const

Determine if we are able to generate standard attribute tables for the vector object.

ERRVALUE RVC::VECTOR::Make ( RVC::OBJITEM ObjItem,
const MAKEPARMS MakeParms,
const char *  Source = 0,
const CREDENTIALS Credentials = 0 
)

Create new vector object given parent object, name, description, creation parameters, and source.

Parameters:
ObjItem Parent object and DESCRIPTOR of object to create, new location RETURNED
Credentials User credentials passed in, NULL for default behavior
ERRVALUE RVC::VECTOR::Make ( const RVC::OBJECT parent,
const DESCRIPTOR Descriptor,
const MAKEPARMS MakeParms,
const CREDENTIALS *Credentials  RVC_DEFAULT_CREDENTIALS 
)

Create new vector object given parent object, name, description, creation parameters, and source.

Parameters:
RVC_DEFAULT_CREDENTIALS User credentials passed in, NULL for default behavior
RVC::VECTOR& RVC::VECTOR::operator= ( const RVC::VECTOR rhs  ) 

Assignment, will close and re-open object if possible.

Reimplemented from RVC::GEOMETRIC.

ERRVALUE RVC::VECTOR::OptimizeTo ( RVC::OBJITEM ObjItemTgt  ) 

Optimize vector object to specified target location.

Parameters:
ObjItemTgt Target object location passed/returned
ERRVALUE RVC::VECTOR::OptimizeTo ( RVC::OBJECT DestParentObj,
RVC::VECTOR DestVectObj 
)

Optimize vector object.

Parameters:
DestParentObj Parent object to optimize vector object and copy children to
DestVectObj Destination vector object RETURNED
ERRVALUE RVC::VECTOR::Read ( INT32  PolyNum,
POLYGON vpoly 
) const

Read a vector polygon given a polygon number.

ERRVALUE RVC::VECTOR::Read ( INT32  PointNum,
POINT vpoint 
) const

Read a vector point given a point number.

ERRVALUE RVC::VECTOR::Read ( INT32  NodeNum,
NODE vnode 
) const

Read a vector node given a node number.

ERRVALUE RVC::VECTOR::Read ( INT32  LineNum,
LINE vline 
) const

Read a vector line header given a line number.

ERRVALUE RVC::VECTOR::Read ( INT32  LabelNum,
LABEL vlabel 
) const

Read a vector label given a label number.

ERRVALUE RVC::VECTOR::ReadConglomerateLinePoints ( INT32  StartLineNum,
POLYLINE ConglomerateLine,
CONGLOMERATELINEFILTER filter 
) const
ERRVALUE RVC::VECTOR::ReadLinePoint ( INT32  LineNum,
INT32  PointNum,
DPOINT3D point 
) const

Read a vector line point.

INT32 RVC::VECTOR::ReadLinePoints ( INT32  LineNum,
INT32  Start,
INT32  Length,
DPOINT3D pts 
) const

Read a partial vector line point list into a POLYLINE Will set the "Extents" optimization in the POLYLINE.

Returns:
Number of points read or error if < 0
INT32 RVC::VECTOR::ReadLinePoints ( INT32  LineNum,
INT32  Start,
INT32  Length,
DPOINT2D pts 
) const

Read a partial vector line point list into a POLYLINE.

Returns:
Number of points read or error if < 0
INT32 RVC::VECTOR::ReadLinePoints ( INT32  LineNum,
INT32  Start,
INT32  Length,
POLYLINE LinePoints,
DIMENSION  dimension 
) const

Read a partial vector line point list into a POLYLINE Define 'dimension' to get 2D or 3D lines.

Returns:
Number of points read or error if < 0
INT32 RVC::VECTOR::ReadLinePoints ( INT32  LineNum,
INT32  Start,
INT32  Length,
POLYLINE LinePoints 
) const

Read a partial vector line point list into a POLYLINE.

Returns:
Number of points read or error if < 0
INT32 RVC::VECTOR::ReadLinePoints ( INT32  LineNum,
POLYLINE LinePoints,
DIMENSION  dimension 
) const

Read a vector line point list using the vector POINTYPE into a POLYLINE Define 'dimension' to get 2D or 3D lines.

Returns:
Number of points read or error if < 0
INT32 RVC::VECTOR::ReadLinePoints ( INT32  LineNum,
POLYLINE LinePoints 
) const

Read a vector line point list using the vector POINTYPE into a POLYLINE The DIMENSION of the POLYLINE will be set to the DIMENSION of the vector object.

Returns:
Number of points read or error if < 0
ERRVALUE RVC::VECTOR::ReadNodeLines ( INT32  NodeNum,
INT32  Start,
INT32  Length,
SIMPLE_ARRAY< INT32 > &  LineList 
) const

Read a partial vector node line list into a SIMPLE_ARRAY<INT32>.

ERRVALUE RVC::VECTOR::ReadNodeLines ( INT32  NodeNum,
SIMPLE_ARRAY< INT32 > &  LineList 
) const

Read a vector node line list into a SIMPLE_ARRAY<INT32>.

ERRVALUE RVC::VECTOR::ReadPolyIslands ( INT32  PolyNum,
INT32  Start,
INT32  Length,
SIMPLE_ARRAY< INT32 > &  IsleList 
) const

Read a partial vector polygon island list into a SIMPLE_ARRAY<INT32>.

ERRVALUE RVC::VECTOR::ReadPolyIslands ( INT32  PolyNum,
SIMPLE_ARRAY< INT32 > &  IsleList 
) const

Read a vector polygon island list into a SIMPLE_ARRAY<INT32>.

ERRVALUE RVC::VECTOR::ReadPolyLines ( INT32  PolyNum,
INT32  Start,
INT32  Length,
SIMPLE_ARRAY< INT32 > &  LineList 
) const

Read a partial vector polygon line list into a SIMPLE_ARRAY<INT32>.

ERRVALUE RVC::VECTOR::ReadPolyLines ( INT32  PolyNum,
SIMPLE_ARRAY< INT32 > &  LineList 
) const

Read a vector polygon line list into a SIMPLE_ARRAY<INT32>.

ERRVALUE RVC::VECTOR::ReadPolyPoints ( INT32  PolyNum,
POLYLINE LinePoints,
DIMENSION  dimension 
) const

Read a vector polygon point list using the vector POINTYPE into a POLYLINE Will set the "Extents" and "Orientation" optimizations in the POLYLINE Define 'dimension' to get 2D or 3D lines.

ERRVALUE RVC::VECTOR::ReadRegion ( const BITSET_UNOWNED PolySet,
REGION2D Region,
BITSET LineSet = 0,
bool  NoIslands = false 
) const

Read a set of vector polygon and possibly its islands into a REGION2D.

Parameters:
PolySet Set of polygons to generate region from
Region Region to set
LineSet Set of lines that made up the region, can be NULL
NoIslands 'True' of no islands wanted
ERRVALUE RVC::VECTOR::ReadRegion ( const BITSET_UNOWNED PolySet,
REGION2D Region,
DIMENSION  dim,
BITSET LineSet = 0,
bool  NoIslands = false 
) const

Read a set of vector polygon and possibly its islands into a REGION2D.

Parameters:
PolySet Set of polygons to generate region from
Region Region to set
LineSet Set of lines that made up the region, can be NULL
NoIslands 'True' of no islands wanted
ERRVALUE RVC::VECTOR::ReadSubRegion ( INT32  PolyNum,
SUBREGION2D SubRegion,
bool  NoIslands = false 
) const

Read a vector polygon and possibly its islands into a SUBREGION2D.

Parameters:
PolyNum Polygon to generate region from
ERRVALUE RVC::VECTOR::ReadSubRegion ( INT32  PolyNum,
SUBREGION2D SubRegion,
DIMENSION  dim,
bool  NoIslands = false 
) const

Read a vector polygon and possibly its islands into a SUBREGION2D.

Parameters:
PolyNum Polygon to generate region from
ERRVALUE RVC::VECTOR::SetFlags ( RVC::VECTOR::FLAGS  flags  ) 

Set vector object flags.

ERRVALUE RVC::VECTOR::SetLabelStyleInfo ( const FILEPATH filepath,
const RVC::OBJECTNAME StyleName 
)

Set style object refered to by the label header.

ERRVALUE RVC::VECTOR::SetNextLineID ( INT32  NewValue  ) 

Set next available line ID for line ID table.

ERRVALUE RVC::VECTOR::SetNextPointID ( INT32  NewValue  ) 

Set next available point ID for point ID table.

ERRVALUE RVC::VECTOR::SetNextPolygonID ( INT32  NewValue  ) 

Set next available polygon ID for polygon ID table.

ERRVALUE RVC::VECTOR::SetNumLabels ( INT32  NewNumLabels  )  [protected]
ERRVALUE RVC::VECTOR::SetNumLines ( INT32  NewNumLines  )  [protected]
ERRVALUE RVC::VECTOR::SetNumNodes ( INT32  NewNumNodes  )  [protected]
ERRVALUE RVC::VECTOR::SetNumPoints ( INT32  NewNumPolygons  )  [protected]
ERRVALUE RVC::VECTOR::SetNumPolygons ( INT32  NewNumPolygons  )  [protected]
ERRVALUE RVC::VECTOR::SetPointType ( POINTTYPE  PointType  ) 

Set vector object point coordinate type.

ERRVALUE RVC::VECTOR::SetTopologyType ( TOPOLOGYTYPE  TopologyType  ) 

Set vector topology type.

ERRVALUE RVC::VECTOR::SetVertexLimit ( INT32  MaxVertices  ) 

Set vector line vertex limit.

ERRVALUE RVC::VECTOR::SwapLinePoints ( INT32  Line1,
INT32  Line2 
) [protected]
ERRVALUE RVC::VECTOR::SwapNodeLines ( INT32  Node1,
INT32  Node2 
) [protected]
ERRVALUE RVC::VECTOR::SwapPolyIslands ( INT32  Poly1,
INT32  Poly2 
) [protected]
ERRVALUE RVC::VECTOR::SwapPolyLines ( INT32  Poly1,
INT32  Poly2 
) [protected]
ERRVALUE RVC::VECTOR::Write ( INT32  PolyNum,
const POLYGON vpoly 
)

Write a vector polygon given a polygon number Does not update element nor object extents.

ERRVALUE RVC::VECTOR::Write ( INT32  PointNum,
const POINT vpoint 
)

Write a vector point given a point number Does not update element nor object extents.

ERRVALUE RVC::VECTOR::Write ( INT32  NodeNum,
const NODE vnode 
)

Write a vector node given a node number Does not update element nor object extents.

ERRVALUE RVC::VECTOR::Write ( INT32  LineNum,
const LINE vline 
)

Write a vector line given a line number Does not update element nor object extents.

ERRVALUE RVC::VECTOR::Write ( INT32  LabelNum,
LABEL vlabel 
)

Write a vector label given a label number Does not update element nor object extents.

ERRVALUE RVC::VECTOR::WriteLinePoint ( INT32  LineNum,
INT32  vertex,
const DPOINT3D point 
)

Write a vector line point Does not update element nor object extents.

INT32 RVC::VECTOR::WriteLinePoints ( INT32  LineNum,
INT32  Start,
INT32  Length,
const POLYLINE PointList 
)

Write a partial vector line point list Does not update element nor object extents.

Returns:
Number of line points written or error if < 0
INT32 RVC::VECTOR::WriteLinePoints ( INT32  LineNum,
const POLYLINE PointList 
)

Write a vector line point list Does not update element nor object extents.

Returns:
Number of line points written or error if < 0
INT32 RVC::VECTOR::WriteNodeLines ( INT32  NodeNum,
INT32  NumLines,
INT32  Start,
INT32  Length,
const SIMPLE_ARRAY< INT32 > &  LineList 
)

Write a partial vector node line list from a SIMPLE_ARRAY<INT32> Does not update element nor object extents.

Returns:
Number of node lines written or error if < 0
INT32 RVC::VECTOR::WriteNodeLines ( INT32  NodeNum,
const SIMPLE_ARRAY< INT32 > &  LineList 
)

Write a vector node line list from a SIMPLE_ARRAY<INT32> Does not update element nor object extents.

Returns:
Number of node lines written or error if < 0
INT32 RVC::VECTOR::WritePolyIslands ( INT32  PolyNum,
INT32  NumIslands,
INT32  Start,
INT32  Length,
const SIMPLE_ARRAY< INT32 > &  IsleList 
)

Write a partial vector polygon island list from a SIMPLE_ARRAY<INT32> Does not update element nor object extents.

Returns:
Number of polygon islands written or error if < 0
INT32 RVC::VECTOR::WritePolyIslands ( INT32  PolyNum,
const SIMPLE_ARRAY< INT32 > &  IsleList 
)

Write a vector polygon island list from a SIMPLE_ARRAY<INT32> Does not update element nor object extents.

Returns:
Number of polygon islands written or error if < 0
INT32 RVC::VECTOR::WritePolyLines ( INT32  PolyNum,
INT32  NumLines,
INT32  Start,
INT32  Length,
const SIMPLE_ARRAY< INT32 > &  LineList 
)

Write a partial vector polygon line list from a SIMPLE_ARRAY<INT32> Does not update element nor object extents.

Returns:
Number of polygon lines written or error if < 0
INT32 RVC::VECTOR::WritePolyLines ( INT32  PolyNum,
const SIMPLE_ARRAY< INT32 > &  LineList 
)

Write a vector polygon line list from a SIMPLE_ARRAY<INT32> Does not update element nor object extents.

Returns:
Number of polygon lines written or error if < 0

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

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