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< vec3d > | vsp::GetAllRoutingPtCoords (const std::string &routing_id, int symm_index) |
| std::vector< vec3d > | vsp::GetRoutingCurve (const std::string &routing_id, int symm_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.
| [in] | routing_id | string RoutingGeom Geom ID |
| [in] | geom_id | string Geom ID of geom to anchor new routing point to |
| [in] | surf_index | int Index of surf to anchor new routing point to |
|
extern |
Delete all routing points from a RoutingGeom.
| [in] | routing_id | string RoutingGeom Geom ID |
|
extern |
Delete a specified routing point from a RoutingGeom.
| [in] | routing_id | string RoutingGeom Geom ID |
| [in] | index | int Index of routing point to delete |
|
extern |
Get the coordinate locations along a RoutingGeom. The main copy is symm_index = 0.
| [in] | routing_id | string RoutingGeom Geom ID |
| [in] | symm_index | int Symmetry index to get coordinate of |
|
extern |
Get the ParmContainer IDs of all the routing points within a RoutingGeom. The vector will contain the IDs in order.
| [in] | routing_id | string RoutingGeom Geom 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.
| [in] | pt_id | string ParmContainer ID of desired routing point |
|
extern |
Get the number of routing points in a RoutingGeom
| [in] | routing_id | string RoutingGeom Geom ID |
|
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.
| [in] | routing_id | string RoutingGeom Geom ID |
| [in] | symm_index | int Symmetry index to get coordinate of |
|
extern |
Get the coordinate location a routing point in a RoutingGeom. The main location is symm_index = 0.
| [in] | routing_id | string RoutingGeom Geom ID |
| [in] | index | int Index of routing point to get cordinate of |
| [in] | symm_index | int Symmetry index to get coordinate of |
|
extern |
Get the ParmContainer ID of a routing point within a RoutingGeom.
| [in] | routing_id | string RoutingGeom Geom ID |
| [in] | index | int Index of routing point to ID to retreive |
|
extern |
Get the Geom ID of the geom a routing point is anchored to.
| [in] | pt_id | string ParmContainer ID of desired routing point |
|
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.
| [in] | routing_id | string RoutingGeom Geom ID |
| [in] | index | int Index of routing point to insert new point before |
| [in] | geom_id | string Geom ID of geom to anchor new routing point to |
| [in] | surf_index | int Index of surf to anchor new routing point to |
|
extern |
Move a specified routing point within the route of a RoutingGeom.
| [in] | routing_id | string RoutingGeom Geom ID |
| [in] | index | int Index of routing point to move |
| [in] | reorder_type | int Enum specifying reordering type (i.e. REORDER_MOVE_UP, REORDER_MOVE_DOWN, REORDER_MOVE_TOP, REORDER_MOVE_BOTTOM) |
|
extern |
Set the Geom ID of the geom a routing point is anchored to.
| [in] | pt_id | string ParmContainer ID of desired routing point |
| [in] | parent_id | string Geom ID for the geom to anchor the routing point to |