public interface ControlPointCollection extends TaggedObjectCollection
ControlPoint
objects.
Iterating this collection only returns live uncondemned objects contained in the owning part
of the collection. Note that ControlPoint
is a smart object and many smart objects are condemned as they
only exist to support other objects and are not displayed. Condemned objects will be deleted when
their references go away. RouteManager
Modifier and Type | Interface and Description |
---|---|
static class |
ControlPointCollection.CheckExisting
Option for searching for an existing
ControlPoint
when attempting to create an new ControlPoint . |
static class |
ControlPointCollection.CreateControlPointData
This class holds the data returned from
createControlPoint(nxopen.Point3d, nxopen.routing.ControlPointCollection.CheckExisting) |
static class |
ControlPointCollection.FoundExisting
Whether
ControlPoint returned from the creator
methods was an existing ControlPoint or a new
ControlPoint . |
TaggedObjectCollection.Iterator
_find_next, iterator
ControlPoint findControlPoint(Point3d position, double tolerance) throws NXException, RemoteException
ControlPoint
at the given ABS coordinates within
the given tolerance.
position
- ABS coordinatestolerance
- Distance tolerance, smallest useful tolerance
is returned from
RouteManager.getLengthTolerance()
.NXException
RemoteException
ControlPointCollection.CreateControlPointData createControlPoint(Point3d position, ControlPointCollection.CheckExisting checkExisting) throws NXException, RemoteException
ControlPoint
object. The ControlPoint
's
position is not associative to any other object.
position
- ABS coordinatescheckExisting
- Return an existing ControlPoint
object if one exists at the same location as the
position.NXException
RemoteException
ControlPointCollection.CreateControlPointData createControlPoint(Port port, ControlPointCollection.CheckExisting checkExisting) throws NXException, RemoteException
ControlPoint
object. The ControlPoint
's
position is associative to the input Port
.
port
- checkExisting
- Return an existing ControlPoint
object if one exists at the same location as the
position.NXException
RemoteException
ControlPointCollection.CreateControlPointData createControlPoint(TaggedObject object, double objectParm, ControlPointCollection.CheckExisting checkExisting) throws NXException, RemoteException
ControlPoint
at the given object and normalized parameter.
Supports curves [includes segments], ports and circular edges.
object
- objectParm
- checkExisting
- Return an existing ControlPoint
object if one exists at the same location as the
position.NXException
RemoteException
ControlPointCollection.CreateControlPointData createControlPoint(Point point, ControlPointCollection.CheckExisting checkExisting) throws NXException, RemoteException
ControlPoint
object. The ControlPoint
's
position is associative to the input Point
.
point
- checkExisting
- Return an existing ControlPoint
object if one exists at the same location as the
position.NXException
RemoteException
ControlPointCollection.CreateControlPointData createControlPoint(IBaseCurve conic, ControlPointCollection.CheckExisting checkExisting) throws NXException, RemoteException
ControlPoint
object. The ControlPoint
's
position is associative to a Point
that is defined at the center
of a IBaseCurve
object.
conic
- checkExisting
- Return an existing ControlPoint
object if one exists at the same location as the
position.NXException
RemoteException
ControlPointCollection.CreateControlPointData createControlPoint(IRoutePosition startObject, Vector3d offset, ControlPointCollection.CheckExisting checkExisting) throws NXException, RemoteException
ControlPoint
object. The ControlPoint
's
position is not associative to any other object. The position of the object is located at
the XC, YC, ZC offset (using the work coordinate system) from the input
IRoutePosition
object.
startObject
- Starting position.offset
- Offset values.checkExisting
- Return an existing ControlPoint
object if one exists at the same location as the
position.NXException
RemoteException
ControlPointCollection.CreateControlPointData createControlPoint(ControlPoint cpOcc, ControlPointCollection.CheckExisting checkExisting) throws NXException, RemoteException
ControlPoint
object. The ControlPoint
's
position is smart point that is associative to a Point
that is associative
to a ControlPoint
occurrence.
cpOcc
- Occurrence of a
ControlPoint
object.checkExisting
- Return an existing ControlPoint
object if one exists at the same location as the
position.NXException
RemoteException
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.