OpenVSP API Documentation 3.51.3
Loading...
Searching...
No Matches
RoutingGeom Functions

This group of API functions is used to create and manipulate RoutingGeom objects, which define wire routing paths between points in the model. Click here to return to the main page. More...

Functions

int vsp::GetNumRoutingPts (const std::string &routing_id)
std::string vsp::AddRoutingPt (const std::string &routing_id, const std::string &geom_id, int surf_index)
std::string vsp::InsertRoutingPt (const std::string &routing_id, int index, const std::string &geom_id, int surf_index)
void vsp::DelRoutingPt (const std::string &routing_id, int index)
void vsp::DelAllRoutingPt (const std::string &routing_id)
int vsp::MoveRoutingPt (const std::string &routing_id, int index, int reorder_type)
std::string vsp::GetRoutingPtID (const std::string &routing_id, int index)
std::vector< std::string > vsp::GetAllRoutingPtIds (const std::string &routing_id)
std::string vsp::GetRoutingPtParentID (const std::string &pt_id)
void vsp::SetRoutingPtParentID (const std::string &pt_id, const std::string &parent_id)
vec3d vsp::GetMainRoutingPtCoord (const std::string &pt_id)
vec3d vsp::GetRoutingPtCoord (const std::string &routing_id, int index, int symm_index)
std::vector< vec3dvsp::GetAllRoutingPtCoords (const std::string &routing_id, int symm_index)
std::vector< vec3dvsp::GetRoutingCurve (const std::string &routing_id, int symm_index)

Detailed Description

Function Documentation

◆ AddRoutingPt()

std::string vsp::AddRoutingPt ( const std::string & routing_id,
const std::string & geom_id,
int surf_index )
extern

Add a routing point to a RoutingGeom. The new point will be the last point in the route. The new point will be anchored to the specified geom and surface.

string pod1 = AddGeom("POD", "");
string pod2 = AddGeom("POD", "");
string ypod2 = GetParm(pod2, "Y_Rel_Location", "XForm");
SetParmVal(ypod2, 2.0);
string routing_geom = AddGeom("ROUTING", "");
string rpt0 = AddRoutingPt(routing_geom, pod1, 0);
string u0 = GetParm( rpt0, "U", "RoutePt");
SetParmVal(u0, 0.0);
string rpt1 = AddRoutingPt(routing_geom, pod2, 0);
string rpt2 = AddRoutingPt(routing_geom, pod1, 0);
string u2 = GetParm( rpt2, "U", "RoutePt");
SetParmVal(u2, 1.0);
if ( rpt0.length() == 0 || rpt0 == "NONE" )
{
Print( "ERROR: AddRoutingPt returned no id" );
__failure++;
}
std::string AddGeom(const std::string &type, const std::string &parent=std::string())
double SetParmVal(const std::string &parm_id, double val)
std::string GetParm(const std::string &geom_id, const std::string &name, const std::string &group)
std::string AddRoutingPt(const std::string &routing_id, const std::string &geom_id, int surf_index)
See also
AddRoutingPt, DelRoutingPt, InsertRoutingPt
Parameters
[in]routing_idstring RoutingGeom Geom ID
[in]geom_idstring Geom ID of geom to anchor new routing point to
[in]surf_indexint Index of surf to anchor new routing point to
Returns
string ParmContainer ID for the newly added routing point

◆ DelAllRoutingPt()

void vsp::DelAllRoutingPt ( const std::string & routing_id)
extern

Delete all routing points from a RoutingGeom.

string pod1 = AddGeom("POD", "");
string pod2 = AddGeom("POD", "");
string ypod2 = GetParm(pod2, "Y_Rel_Location", "XForm");
SetParmVal(ypod2, 2.0);
string routing_geom = AddGeom("ROUTING", "");
string rpt0 = AddRoutingPt(routing_geom, pod1, 0);
string u0 = GetParm( rpt0, "U", "RoutePt");
SetParmVal(u0, 0.0);
string rpt1 = AddRoutingPt(routing_geom, pod2, 0);
string rpt2 = AddRoutingPt(routing_geom, pod1, 0);
string u2 = GetParm( rpt2, "U", "RoutePt");
SetParmVal(u2, 1.0);
DelAllRoutingPt( routing_geom );
if ( GetNumRoutingPts( routing_geom ) != 0 )
{
Print( "ERROR: DelAllRoutingPt left something behind" );
__failure++;
}
int GetNumRoutingPts(const std::string &routing_id)
void DelAllRoutingPt(const std::string &routing_id)
See also
AddRoutingPt, DelRoutingPt
Parameters
[in]routing_idstring RoutingGeom Geom ID

◆ DelRoutingPt()

void vsp::DelRoutingPt ( const std::string & routing_id,
int index )
extern

Delete a specified routing point from a RoutingGeom.

string pod1 = AddGeom("POD", "");
string pod2 = AddGeom("POD", "");
string ypod2 = GetParm(pod2, "Y_Rel_Location", "XForm");
SetParmVal(ypod2, 2.0);
string routing_geom = AddGeom("ROUTING", "");
string rpt0 = AddRoutingPt(routing_geom, pod1, 0);
string u0 = GetParm( rpt0, "U", "RoutePt");
SetParmVal(u0, 0.0);
string rpt1 = AddRoutingPt(routing_geom, pod2, 0);
string rpt2 = AddRoutingPt(routing_geom, pod1, 0);
string u2 = GetParm( rpt2, "U", "RoutePt");
SetParmVal(u2, 1.0);
int num_before_del = GetNumRoutingPts( routing_geom );
DelRoutingPt( routing_geom, 1 );
if ( GetNumRoutingPts( routing_geom ) >= num_before_del )
{
Print( "ERROR: DelRoutingPt removed nothing" );
__failure++;
}
void DelRoutingPt(const std::string &routing_id, int index)
See also
AddRoutingPt, DelAllRoutingPt
Parameters
[in]routing_idstring RoutingGeom Geom ID
[in]indexint Index of routing point to delete

◆ GetAllRoutingPtCoords()

std::vector< vec3d > vsp::GetAllRoutingPtCoords ( const std::string & routing_id,
int symm_index )
extern

Get the coordinate locations along a RoutingGeom. The main copy is symm_index = 0.

string pod1 = AddGeom("POD", "");
string pod2 = AddGeom("POD", "");
string ypod2 = GetParm(pod2, "Y_Rel_Location", "XForm");
SetParmVal(ypod2, 2.0);
string routing_geom = AddGeom("ROUTING", "");
string rpt0 = AddRoutingPt(routing_geom, pod1, 0);
string u0 = GetParm( rpt0, "U", "RoutePt");
SetParmVal(u0, 0.0);
string rpt1 = AddRoutingPt(routing_geom, pod2, 0);
string rpt2 = AddRoutingPt(routing_geom, pod1, 0);
string u2 = GetParm( rpt2, "U", "RoutePt");
SetParmVal(u2, 1.0);
array<vec3d> pvec = GetAllRoutingPtCoords(routing_geom, 0);
// One coordinate per routing point, in the order they were added.
if ( pvec.length() != 3 )
{
Print( "ERROR: GetAllRoutingPtCoords returned the wrong number of points" );
__failure++;
}
else
{
// rpt0 sits at the nose of pod1 and rpt2 at its tail, both on the
// centerline. rpt1 rides on pod2, two units out in Y.
if ( !closeTo( pvec[0].y(), 0.0, 1e-6 ) ||
!closeTo( pvec[1].y(), 2.0, 1e-6 ) ||
!closeTo( pvec[2].y(), 0.0, 1e-6 ) )
{
Print( "ERROR: GetAllRoutingPtCoords did not follow the parent Geoms" );
__failure++;
}
if ( pvec[2].x() <= pvec[0].x() )
{
Print( "ERROR: GetAllRoutingPtCoords did not order the points by U" );
__failure++;
}
if ( dist( pvec[1], GetMainRoutingPtCoord( rpt1 ) ) > 1e-6 )
{
Print( "ERROR: GetAllRoutingPtCoords disagrees with GetMainRoutingPtCoord" );
__failure++;
}
}
std::vector< vec3d > GetAllRoutingPtCoords(const std::string &routing_id, int symm_index)
vec3d GetMainRoutingPtCoord(const std::string &pt_id)
void Update(bool update_managers=true)
double dist(const vec3d &a, const vec3d &b)
See also
AddRoutingPt, DelRoutingPt, GetMainRoutingPtCoord, GetRoutingPtCoord, GetRoutingCurve
Parameters
[in]routing_idstring RoutingGeom Geom ID
[in]symm_indexint Symmetry index to get coordinate of
Returns
vector < vec3d > coordinate of routing points along RoutingGeom

◆ GetAllRoutingPtIds()

std::vector< std::string > vsp::GetAllRoutingPtIds ( const std::string & routing_id)
extern

Get the ParmContainer IDs of all the routing points within a RoutingGeom. The vector will contain the IDs in order.

string pod1 = AddGeom("POD", "");
string pod2 = AddGeom("POD", "");
string ypod2 = GetParm(pod2, "Y_Rel_Location", "XForm");
SetParmVal(ypod2, 2.0);
string routing_geom = AddGeom("ROUTING", "");
string rpt0 = AddRoutingPt(routing_geom, pod1, 0);
string u0 = GetParm( rpt0, "U", "RoutePt");
SetParmVal(u0, 0.0);
string rpt1 = AddRoutingPt(routing_geom, pod2, 0);
string rpt2 = AddRoutingPt(routing_geom, pod1, 0);
string u2 = GetParm( rpt2, "U", "RoutePt");
SetParmVal(u2, 1.0);
array<string> @rpts = GetAllRoutingPtIds(routing_geom);
if ( rpts.length() == 0 )
{
Print( "ERROR: GetAllRoutingPtIds returned nothing" );
__failure++;
}
std::vector< std::string > GetAllRoutingPtIds(const std::string &routing_id)
See also
AddRoutingPt, DelAllRoutingPt, GetRoutingPtId
Parameters
[in]routing_idstring RoutingGeom Geom ID
Returns
vector<string> Vector of routing point ParmConatiner IDs

◆ GetMainRoutingPtCoord()

vec3d vsp::GetMainRoutingPtCoord ( const std::string & pt_id)
extern

Get the main coordinate location a routing point. The main location is the location of the base copy before symmetry has been applied.

string pod1 = AddGeom("POD", "");
string pod2 = AddGeom("POD", "");
string ypod2 = GetParm(pod2, "Y_Rel_Location", "XForm");
SetParmVal(ypod2, 2.0);
string routing_geom = AddGeom("ROUTING", "");
string rpt0 = AddRoutingPt(routing_geom, pod1, 0);
string u0 = GetParm( rpt0, "U", "RoutePt");
SetParmVal(u0, 0.0);
string rpt1 = AddRoutingPt(routing_geom, pod2, 0);
string rpt2 = AddRoutingPt(routing_geom, pod1, 0);
string u2 = GetParm( rpt2, "U", "RoutePt");
SetParmVal(u2, 1.0);
// rpt1 rides on pod2, which was moved two units out in Y.
if ( !closeTo( p1.y(), 2.0, 1e-6 ) )
{
Print( "ERROR: GetMainRoutingPtCoord did not follow the parent Geom" );
__failure++;
}
// With no symmetry applied, the main copy is also symm_index 0.
if ( dist( p1, GetRoutingPtCoord( routing_geom, 1, 0 ) ) > 1e-6 )
{
Print( "ERROR: GetMainRoutingPtCoord disagrees with GetRoutingPtCoord" );
__failure++;
}
Definition Vec3d.h:243
double y() const
Definition Vec3d.h:477
vec3d GetRoutingPtCoord(const std::string &routing_id, int index, int symm_index)
See also
AddRoutingPt, DelRoutingPt, GetRoutingPtCoord, GetAllRoutingPtCoords, GetRoutingCurve
Parameters
[in]pt_idstring ParmContainer ID of desired routing point
Returns
vec3d coordinate of main routing point

◆ GetNumRoutingPts()

int vsp::GetNumRoutingPts ( const std::string & routing_id)
extern

Get the number of routing points in a RoutingGeom

string pod1 = AddGeom("POD", "");
string pod2 = AddGeom("POD", "");
string ypod2 = GetParm(pod2, "Y_Rel_Location", "XForm");
SetParmVal(ypod2, 2.0);
string routing_geom = AddGeom("ROUTING", "");
string rpt0 = AddRoutingPt(routing_geom, pod1, 0);
string u0 = GetParm( rpt0, "U", "RoutePt");
SetParmVal(u0, 0.0);
string rpt1 = AddRoutingPt(routing_geom, pod2, 0);
string rpt2 = AddRoutingPt(routing_geom, pod1, 0);
string u2 = GetParm( rpt2, "U", "RoutePt");
SetParmVal(u2, 1.0);
int npt = GetNumRoutingPts(routing_geom);
// Three points were added, and the count has to match the coordinate list.
if ( npt != 3 || npt != int( GetAllRoutingPtIds( routing_geom ).size() ) )
{
Print( "ERROR: GetNumRoutingPts did not count the points that were added" );
__failure++;
}
// Deleting one has to move the count.
DelRoutingPt( routing_geom, 1 );
if ( GetNumRoutingPts( routing_geom ) != npt - 1 )
{
Print( "ERROR: GetNumRoutingPts did not follow DelRoutingPt" );
__failure++;
}
See also
AddRoutingPt, DelRoutingPt
Parameters
[in]routing_idstring RoutingGeom Geom ID
Returns
int Number of routing points in specified RoutingGeom

◆ GetRoutingCurve()

std::vector< vec3d > vsp::GetRoutingCurve ( const std::string & routing_id,
int symm_index )
extern

Get points along a RoutingGeom. These points will follow the curve of a RoutingGeom with radiused routing points. The main copy is symm_index = 0.

string pod1 = AddGeom("POD", "");
string pod2 = AddGeom("POD", "");
string ypod2 = GetParm(pod2, "Y_Rel_Location", "XForm");
SetParmVal(ypod2, 2.0);
string routing_geom = AddGeom("ROUTING", "");
string rpt0 = AddRoutingPt(routing_geom, pod1, 0);
string u0 = GetParm( rpt0, "U", "RoutePt");
SetParmVal(u0, 0.0);
string rpt1 = AddRoutingPt(routing_geom, pod2, 0);
string rpt2 = AddRoutingPt(routing_geom, pod1, 0);
string u2 = GetParm( rpt2, "U", "RoutePt");
SetParmVal(u2, 1.0);
array<vec3d> pvec = GetRoutingCurve(routing_geom, 0);
// The curve is tessellated, so it carries at least as many points as there
// are routing points, and it has to start and end on them.
array<vec3d> rpts = GetAllRoutingPtCoords(routing_geom, 0);
if ( pvec.length() < rpts.length() )
{
Print( "ERROR: GetRoutingCurve returned too few points" );
__failure++;
}
else
{
if ( dist( pvec[0], rpts[0] ) > 1e-6 ||
dist( pvec[pvec.length() - 1], rpts[rpts.length() - 1] ) > 1e-6 )
{
Print( "ERROR: GetRoutingCurve does not end on the routing points" );
__failure++;
}
}
std::vector< vec3d > GetRoutingCurve(const std::string &routing_id, int symm_index)
See also
AddRoutingPt, DelRoutingPt, GetMainRoutingPtCoord, GetRoutingPtCoord, GetAllRoutingPtCoords
Parameters
[in]routing_idstring RoutingGeom Geom ID
[in]symm_indexint Symmetry index to get coordinate of
Returns
vector < vec3d > coordinate of points along RoutingGeom curve

◆ GetRoutingPtCoord()

vec3d vsp::GetRoutingPtCoord ( const std::string & routing_id,
int index,
int symm_index )
extern

Get the coordinate location a routing point in a RoutingGeom. The main location is symm_index = 0.

string pod1 = AddGeom("POD", "");
string pod2 = AddGeom("POD", "");
string ypod2 = GetParm(pod2, "Y_Rel_Location", "XForm");
SetParmVal(ypod2, 2.0);
string routing_geom = AddGeom("ROUTING", "");
string rpt0 = AddRoutingPt(routing_geom, pod1, 0);
string u0 = GetParm( rpt0, "U", "RoutePt");
SetParmVal(u0, 0.0);
string rpt1 = AddRoutingPt(routing_geom, pod2, 0);
string rpt2 = AddRoutingPt(routing_geom, pod1, 0);
string u2 = GetParm( rpt2, "U", "RoutePt");
SetParmVal(u2, 1.0);
vec3d p1 = GetRoutingPtCoord(routing_geom, 1, 0);
// rpt1 rides on pod2, which was moved two units out in Y.
if ( !closeTo( p1.y(), 2.0, 1e-6 ) )
{
Print( "ERROR: GetRoutingPtCoord did not follow the parent Geom" );
__failure++;
}
// The indexed point has to be the second of the three that were added.
array<vec3d> pvec = GetAllRoutingPtCoords(routing_geom, 0);
if ( pvec.length() != 3 || dist( p1, pvec[1] ) > 1e-6 )
{
Print( "ERROR: GetRoutingPtCoord disagrees with GetAllRoutingPtCoords" );
__failure++;
}
See also
AddRoutingPt, DelRoutingPt, GetMainRoutingPtCoord, GetAllRoutingPtCoords, GetRoutingCurve
Parameters
[in]routing_idstring RoutingGeom Geom ID
[in]indexint Index of routing point to get cordinate of
[in]symm_indexint Symmetry index to get coordinate of
Returns
vec3d coordinate of routing point

◆ GetRoutingPtID()

std::string vsp::GetRoutingPtID ( const std::string & routing_id,
int index )
extern

Get the ParmContainer ID of a routing point within a RoutingGeom.

string pod1 = AddGeom("POD", "");
string pod2 = AddGeom("POD", "");
string ypod2 = GetParm(pod2, "Y_Rel_Location", "XForm");
SetParmVal(ypod2, 2.0);
string routing_geom = AddGeom("ROUTING", "");
string rpt0 = AddRoutingPt(routing_geom, pod1, 0);
string u0 = GetParm( rpt0, "U", "RoutePt");
SetParmVal(u0, 0.0);
string rpt1 = AddRoutingPt(routing_geom, pod2, 0);
string rpt2 = AddRoutingPt(routing_geom, pod1, 0);
string u2 = GetParm( rpt2, "U", "RoutePt");
SetParmVal(u2, 1.0);
string rid = GetRoutingPtID(routing_geom, 2);
if ( rid.length() == 0 )
{
Print( "ERROR: GetRoutingPtID returned nothing" );
__failure++;
}
std::string GetRoutingPtID(const std::string &routing_id, int index)
See also
AddRoutingPt, DelAllRoutingPt, GetAllRoutingPtIds
Parameters
[in]routing_idstring RoutingGeom Geom ID
[in]indexint Index of routing point to ID to retreive
Returns
string ParmContainer ID for the specified routing point

◆ GetRoutingPtParentID()

std::string vsp::GetRoutingPtParentID ( const std::string & pt_id)
extern

Get the Geom ID of the geom a routing point is anchored to.

string pod1 = AddGeom("POD", "");
string pod2 = AddGeom("POD", "");
string ypod2 = GetParm(pod2, "Y_Rel_Location", "XForm");
SetParmVal(ypod2, 2.0);
string routing_geom = AddGeom("ROUTING", "");
string rpt0 = AddRoutingPt(routing_geom, pod1, 0);
string u0 = GetParm( rpt0, "U", "RoutePt");
SetParmVal(u0, 0.0);
string rpt1 = AddRoutingPt(routing_geom, pod2, 0);
string rpt2 = AddRoutingPt(routing_geom, pod1, 0);
string u2 = GetParm( rpt2, "U", "RoutePt");
SetParmVal(u2, 1.0);
string gid = GetRoutingPtParentID(rpt1);
if ( gid.length() == 0 )
{
Print( "ERROR: GetRoutingPtParentID returned nothing" );
__failure++;
}
std::string GetRoutingPtParentID(const std::string &pt_id)
See also
AddRoutingPt, DelAllRoutingPt, GetAllRoutingPtIds
Parameters
[in]pt_idstring ParmContainer ID of desired routing point
Returns
string Geom ID for the geom the routing point is anchored to

◆ InsertRoutingPt()

std::string vsp::InsertRoutingPt ( const std::string & routing_id,
int index,
const std::string & geom_id,
int surf_index )
extern

Add a routing point to a RoutingGeom. The new point will be inserted before the specified index. The new point will be anchored to the specified geom and surface.

string pod1 = AddGeom("POD", "");
string pod2 = AddGeom("POD", "");
string ypod2 = GetParm(pod2, "Y_Rel_Location", "XForm");
SetParmVal(ypod2, 2.0);
string routing_geom = AddGeom("ROUTING", "");
string rpt0 = AddRoutingPt(routing_geom, pod1, 0);
string u0 = GetParm( rpt0, "U", "RoutePt");
SetParmVal(u0, 0.0);
string rpt1 = AddRoutingPt(routing_geom, pod2, 0);
string rpt2 = AddRoutingPt(routing_geom, pod1, 0);
string u2 = GetParm( rpt2, "U", "RoutePt");
SetParmVal(u2, 1.0);
int npt = GetNumRoutingPts(routing_geom);
string rptPre2 = InsertRoutingPt(routing_geom, 2, pod2, 0);
string uPre2 = GetParm( rptPre2, "U", "RoutePt");
SetParmVal(uPre2, 0.);
if ( rptPre2.length() == 0 || rptPre2 == "NONE" )
{
Print( "ERROR: InsertRoutingPt returned no id" );
__failure++;
}
std::string InsertRoutingPt(const std::string &routing_id, int index, const std::string &geom_id, int surf_index)
See also
AddRoutingPt, DelRoutingPt
Parameters
[in]routing_idstring RoutingGeom Geom ID
[in]indexint Index of routing point to insert new point before
[in]geom_idstring Geom ID of geom to anchor new routing point to
[in]surf_indexint Index of surf to anchor new routing point to
Returns
string ParmContainer ID for the newly added routing point

◆ MoveRoutingPt()

int vsp::MoveRoutingPt ( const std::string & routing_id,
int index,
int reorder_type )
extern

Move a specified routing point within the route of a RoutingGeom.

string pod1 = AddGeom("POD", "");
string pod2 = AddGeom("POD", "");
string ypod2 = GetParm(pod2, "Y_Rel_Location", "XForm");
SetParmVal(ypod2, 2.0);
string routing_geom = AddGeom("ROUTING", "");
string rpt0 = AddRoutingPt(routing_geom, pod1, 0);
string u0 = GetParm( rpt0, "U", "RoutePt");
SetParmVal(u0, 0.0);
string rpt1 = AddRoutingPt(routing_geom, pod2, 0);
string rpt2 = AddRoutingPt(routing_geom, pod1, 0);
string u2 = GetParm( rpt2, "U", "RoutePt");
SetParmVal(u2, 1.0);
array< string > @before_ids = GetAllRoutingPtIds( routing_geom );
int newindx = MoveRoutingPt( routing_geom, 1, REORDER_MOVE_DOWN );
// The point that was at index 1 is now at index 2, and its neighbour has
// taken its place.
array< string > @after_ids = GetAllRoutingPtIds( routing_geom );
if ( newindx != 2 || after_ids.size() != before_ids.size() )
{
Print( "ERROR: MoveRoutingPt did not move the point down" );
__failure++;
}
else
{
if ( after_ids[2] != before_ids[1] || after_ids[1] != before_ids[2] )
{
Print( "ERROR: MoveRoutingPt did not swap the two points" );
__failure++;
}
}
@ REORDER_MOVE_DOWN
int MoveRoutingPt(const std::string &routing_id, int index, int reorder_type)
See also
AddRoutingPt, DelRoutingPt, REORDER_TYPE
Parameters
[in]routing_idstring RoutingGeom Geom ID
[in]indexint Index of routing point to move
[in]reorder_typeint Enum specifying reordering type (i.e. REORDER_MOVE_UP, REORDER_MOVE_DOWN, REORDER_MOVE_TOP, REORDER_MOVE_BOTTOM)

◆ SetRoutingPtParentID()

void vsp::SetRoutingPtParentID ( const std::string & pt_id,
const std::string & parent_id )
extern

Set the Geom ID of the geom a routing point is anchored to.

string pod1 = AddGeom("POD", "");
string pod2 = AddGeom("POD", "");
string ypod2 = GetParm(pod2, "Y_Rel_Location", "XForm");
SetParmVal(ypod2, 2.0);
string routing_geom = AddGeom("ROUTING", "");
string rpt0 = AddRoutingPt(routing_geom, pod1, 0);
string u0 = GetParm( rpt0, "U", "RoutePt");
SetParmVal(u0, 0.0);
string rpt1 = AddRoutingPt(routing_geom, pod2, 0);
string rpt2 = AddRoutingPt(routing_geom, pod1, 0);
string u2 = GetParm( rpt2, "U", "RoutePt");
SetParmVal(u2, 1.0);
if ( GetRoutingPtParentID( rpt1 ) != pod1 )
{
Print( "ERROR: SetRoutingPtParentID did not take" );
__failure++;
}
void SetRoutingPtParentID(const std::string &pt_id, const std::string &parent_id)
See also
AddRoutingPt, DelAllRoutingPt, GetAllRoutingPtIds
Parameters
[in]pt_idstring ParmContainer ID of desired routing point
[in]parent_idstring Geom ID for the geom to anchor the routing point to