public interface OffsetCollection extends TaggedObjectCollection
Offset
.
Iterating this collection only returns live uncondemned objects contained in the owning part
of the collection. Note that Offset
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
Offset createOffset(Point3d origin, Vector3d vector, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Offset
without parameters.
origin
- Point of Offsetvector
- Offset vectorupdateOption
- NXException
RemoteException
Offset createOffsetRectangular(Scalar deltaX, Scalar deltaY, Scalar deltaZ, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Offset
using X, Y and Z deltas.
deltaX
- deltaY
- deltaZ
- updateOption
- NXException
RemoteException
Offset createOffsetCylindrical(Scalar radius, Scalar angle, Scalar deltaZ, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Offset
.
The radius, angle, and zdelta are the three parameters of cylindrical coordinates.
radius
- angle
- Angle in radiansdeltaZ
- Delta along axis of cylinderupdateOption
- NXException
RemoteException
Offset createOffsetSpherical(Scalar radius, Scalar angle1, Scalar angle2, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Offset
.
The radius, angle1, and angle2 are the three parameters of spherical coordinates.
radius
- angle1
- Longitude angle in radiansangle2
- Colatitude angle in radiansupdateOption
- NXException
RemoteException
Offset createOffset(Direction direction, Scalar distance, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Offset
using a Smart Direction
and distance.
direction
- distance
- Distance along directionupdateOption
- NXException
RemoteException
Offset createCurvature(ICurve icurve, Scalar t, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Offset
on a ICurve
using a
Scalar
representing the t parameter. The Offset created
represents curvature of the curve at parameter t.
icurve
- Curve
or Edge
t
- updateOption
- NXException
RemoteException
Offset createCurvature(Point atPoint, ICurve icurve, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Offset
on a ICurve
using a
Point
. The Offset created represents curvature of the curve at 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 curvature
at the projected location.
atPoint
- An extract point or a non associative point in which case
a curve should be specified.icurve
- Optional Curve
or Edge
inputupdateOption
- NXException
RemoteException
Offset createCurvatureDerivative(ICurve icurve, Scalar t, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Offset
on a ICurve
using a
Scalar
representing the t parameter. The Offset created
represents curvature derivative of the curve at parameter t.
icurve
- Curve
or Edge
t
- updateOption
- NXException
RemoteException
Offset createCurvatureDerivative(Point atPoint, ICurve icurve, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Offset
on a ICurve
using a
Point
. The Offset created represents curvature derivative of the curve at 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 curvature
derivative at the projected location.
atPoint
- An extract point or a non associative point in which case
a curve should be specified.icurve
- Optional Curve
or Edge
inputupdateOption
- NXException
RemoteException
Offset createCurvature(Face face, Scalar u, Scalar v, boolean absoluteUv, Offset.OnFaceOption option, Direction sectionDirection, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Offset
on a Face
using two
Scalar
s representing the u and v parameters with option of
direction on the face. The Offset created represents the curvature of the face
at u and v parameter in a direction specified by the option.
face
- u
- v
- absoluteUv
- true if u and v are absolute parametersoption
- sectionDirection
- necessary when option is Offset.OnFaceOption.SECTION
updateOption
- NXException
RemoteException
Offset createCurvatureDerivative(Face face, Scalar u, Scalar v, boolean absoluteUv, Offset.OnFaceOption option, Direction sectionDirection, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Offset
on a Face
using two
Scalar
s representing the u and v parameters with option of
direction on the face. The Offset created represents the curvature derivative
of the face at u and v parameter in a direction specified by the option.
face
- u
- v
- absoluteUv
- true if u and v are absolute parametersoption
- sectionDirection
- necessary when option is Offset.OnFaceOption.SECTION
updateOption
- NXException
RemoteException
Offset createCurvature(Point atPoint, Face face, Offset.OnFaceOption option, SmartObject sectionDirection, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Offset
on a Face
using a
Point
. The Offset created represents the curvature of the face
at a point in a direction specified by the option.
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 curvature
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 Offset.OnFaceOption.SECTION
updateOption
- NXException
RemoteException
Offset createCurvatureDerivative(Point atPoint, Face face, Offset.OnFaceOption option, SmartObject sectionDirection, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Offset
on a Face
using a
Point
. The Offset created represents the curvature derivative
of the face at a point in a direction specified by the option.
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 curvature
derivative 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 Offset.OnFaceOption.SECTION
updateOption
- NXException
RemoteException
Offset createCurvature(Face face, Scalar u, Scalar v, boolean absoluteUv, Scalar sectionAngle, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Offset
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. The Offset created
represents the curvature of the face at u and v parameter in the sectional direction.
face
- u
- v
- absoluteUv
- true if u and v are absolute parameterssectionAngle
- measured in degreeupdateOption
- NXException
RemoteException
Offset createCurvatureDerivative(Face face, Scalar u, Scalar v, boolean absoluteUv, Scalar sectionAngle, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Offset
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. The Offset created
represents the curvature derivative of the face at u and v parameter in
the sectional direction.
face
- u
- v
- absoluteUv
- true if u and v are absolute parameterssectionAngle
- measured in degreeupdateOption
- NXException
RemoteException
Offset createOffset(Offset offsetIn, Xform xform, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Offset
via an extract Offset
with optional transformation.
offsetIn
- Offset extractxform
- Optional transformationupdateOption
- NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.