public interface DirectionCollection extends TaggedObjectCollection
Direction
.
Iterating this collection only returns live uncondemned objects contained in the owning part
of the collection. Note that Direction
is a smart object and many smart objects are condemned as they
only exist to support other objects and are not displayed. BasePart
TaggedObjectCollection.Iterator
_find_next, iterator
Direction createDirection(Point3d origin, Vector3d vector, SmartObject.UpdateOption update) throws NXException, RemoteException
Direction
without parameters.
origin
- vector
- update
- NXException
RemoteException
Direction createDirection(Line line, Sense sense, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Direction
using a Line
.
line
- sense
- updateOption
- NXException
RemoteException
Direction createDirection(IBaseCurve edge, Sense sense, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Direction
using a linear Edge
or
the axis of a conical Edge
.
edge
- sense
- updateOption
- NXException
RemoteException
Direction createDirection(DatumAxis datumAxis, Sense sense, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Direction
using a DatumAxis
.
datumAxis
- sense
- updateOption
- NXException
RemoteException
Direction createDirection(ControlPoint startPoint, ControlPoint endPoint, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Direction
using two ControlPoint
s.
startPoint
- The Routing Control Points (RCPs)endPoint
- The Routing Control Points (RCPs)updateOption
- NXException
RemoteException
Direction createDirection(Point startPoint, Point endPoint, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Direction
using two Point
s.
startPoint
- endPoint
- updateOption
- NXException
RemoteException
Direction createDirection(IParameterizedSurface face, Sense sense, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Direction
using the normal of a Face
or
the axis of a cylindrical Face
.
face
- sense
- updateOption
- NXException
RemoteException
Direction createDirection(IBasePlane plane, Sense sense, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Direction
using the normal of an IBasePlane
.
plane
- Plane or DatumPlanesense
- updateOption
- NXException
RemoteException
Direction createDirection(Sketch plane, Sense sense, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Direction
using the normal of a Sketch
.
plane
- sense
- updateOption
- NXException
RemoteException
Direction createDirection(Conic conic, Sense sense, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Direction
using the axis of a Conic
.
conic
- sense
- updateOption
- NXException
RemoteException
Direction createDirection(IBaseCurve icurve, Scalar t, Direction.OnCurveOption option, Sense sense, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Direction
on a ICurve
using a
Scalar
representing the t parameter.
icurve
- t
- option
- sense
- updateOption
- NXException
RemoteException
Direction createDirection(IBaseCurve icurve, Point point, Direction.OnCurveOption option, Sense sense, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Direction
on a ICurve
at a Point
.
icurve
- point
- option
- sense
- updateOption
- NXException
RemoteException
Direction createDirectionOnPointParentCurve(Point atPoint, IBaseCurve curve, Direction.OnCurveOption option, Sense sense, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Direction
on a parent ICurve
of a Point
.
The input point could be an extract point whose parent point is a point on curve.
User can optionally supply a curve in which case it is honored instead of looking for the parent
curve of the input point. In that case input point is projected on the curve to find the direction
at the projected location.
atPoint
- An extract point or a non associative point in which case
a curve should be specified.curve
- Optional Curve
or Edge
inputoption
- sense
- updateOption
- NXException
RemoteException
Direction createDirection(Face face, Scalar u, Scalar v, Sense sense, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Face
using two
Scalar
s representing the u and v parameters.
face
- u
- v
- sense
- updateOption
- NXException
RemoteException
Direction createDirection(Face face, Scalar u, Scalar v, boolean absoluteUv, Direction.OnFaceOption option, Direction sectionDirection, Sense sense, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Direction
on a Face
using two
Scalar
s representing the u and v parameters with the option of
direction on face.
face
- u
- v
- absoluteUv
- true if u and v are absolute parametersoption
- sectionDirection
- necessary when option is Direction.OnFaceOption.SECTION
sense
- updateOption
- NXException
RemoteException
Direction createDirection(Face face, Scalar u, Scalar v, boolean absoluteUv, Scalar sectionAngle, Sense sense, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Direction
on a Face
using two Scalar
s representing the u and v parameters and a
Scalar
representing section angle measured with respect to
positive U parameter direction at u and v parameters of the face.
face
- u
- v
- absoluteUv
- true if u and v are absolute parameterssectionAngle
- sense
- updateOption
- NXException
RemoteException
Direction createDirection(Point atPoint, Face face, Direction.OnFaceOption option, SmartObject sectionDirection, Sense sense, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Direction
on a Face
at a Point
.
The input point could be a point on curve whose parent curve is an edge or a
curve on surface feature. Or it could be an extract point whose parent point is a point on face.
User can optionally supply a face in which case it is honored instead of looking for the parent
face of the input point. In that case input point is projected on the face to find the direction
at the projected location.
atPoint
- A point on curve or an extract point. In case of a non associative point
a face must be specified.face
- Optional inputoption
- sectionDirection
- An object of type Direction
or Scalar
and is necessary when option is Direction.OnFaceOption.SECTION
sense
- updateOption
- NXException
RemoteException
Direction createDirection(Direction directionExtract, Xform xform, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Direction
using an extract
Direction
with optional Xform
.
directionExtract
- xform
- Optional XformupdateOption
- NXException
RemoteException
Direction createDirection(Point point, Vector3d vector) throws NXException, RemoteException
Direction
based upon the parameters used
to define the point. If the direction can be defined solely by the
point then the vector parameter is ignored.
point
- vector
- NXException
RemoteException
Direction createDirection(Face geomObj, Point point, Sense sense, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Direction
normal to a Face
at a
given Point
.
geomObj
- Face
point
- Point
sense
- updateOption
- NXException
RemoteException
Direction createDirection(Direction direction, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Direction
reverse to that of given
Direction
.
direction
- Direction
updateOption
- NXException
RemoteException
Direction createDirection(Port port, Sense sense, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Direction
aligned to that of given
Port
.
port
- Port
sense
- updateOption
- NXException
RemoteException
Direction createDirection(Direction direction1, Direction direction2, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Direction
whose direction is given by the cross product of
the first input Direction
with the second input
Direction
.
direction1
- direction2
- updateOption
- NXException
RemoteException
Direction createDirection(Point point, Expression exp, Sense sense, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Direction
using an Expression
.
point
- exp
- sense
- updateOption
- NXException
RemoteException
Direction createDirection(IParameterizedSurface face, Point point, Sense sense, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Direction
using the normal of a non-planar
Face
at a Point
face
- point
- sense
- updateOption
- NXException
RemoteException
Direction createDirection(ScCollector faces, Point point, Sense sense, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Direction
using the normal of a closest face from
ScCollector
having Face
at a Point
.
The normal direction will be calculated on the closest face to the given input point out of the given input
faces in the collector. The direction will be shown at the specified input point, normal to the location on
this face that is nearest to the input point. The input collector must not contain mixed selection of faces
and datum plane. Multiple datum planes are not allowed and the faces in collector must be contiguous.
Note: This API should be used only when creating a direction in modeling application.
faces
- The collector will contain the faces or a datum plane.point
- The point will be used to calculate closest face and direction will be shown at this point.sense
- updateOption
- NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.