public interface PointCollection extends TaggedObjectCollection
Point
.
Iterating this collection only returns live uncondemned objects contained in the owning part
of the collection. Note that Point
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. BasePart
Modifier and Type | Interface and Description |
---|---|
static class |
PointCollection.AlongCurveOption
Describes whether the input Scalar to the
createPoint(nxopen.Point3d)
method is either an absolute distance or a relative percentage. |
static class |
PointCollection.PointOnCurveLocationOption
Describes whether the input Scalar to the
createPoint(nxopen.Point3d)
method is a relative percentage parameter or an absolute arc length or a relative percentage arc length. |
TaggedObjectCollection.Iterator
Modifier and Type | Method and Description |
---|---|
Point |
createPoint(CAEFace face,
Point projectedPoint,
SmartObject.UpdateOption updateOption)
Creates a point by projecting onto a face.
|
Point |
createPoint(CartesianCoordinateSystem csys,
Scalar scalarX,
Scalar scalarY,
Scalar scalarZ,
SmartObject.UpdateOption updateOption)
|
Point |
createPoint(Expression exp,
SmartObject.UpdateOption updateOption)
Creates a
Point via an Expression . |
Point |
createPoint(IBaseCurve curve1,
IBaseCurve curve2,
Point3d startPoint,
View view,
SmartObject.UpdateOption updateOption)
Creates a
Point at the apparent intersection of two Edges or Curves in a view. |
Point |
createPoint(IBaseCurve curve1,
IBaseCurve curve2,
Point helpPt1,
Point helpPt2,
SmartObject.UpdateOption updateOption)
Creates a
Point at the intersection of two Edges or Curves. |
Point |
createPoint(IBaseCurve edgeCurve,
Point pointOffset,
Scalar distancePercent,
PointCollection.AlongCurveOption option,
Sense sense,
SmartObject.UpdateOption updateOption)
|
Point |
createPoint(IBaseCurve edgeCurve,
Scalar scalarT,
PointCollection.PointOnCurveLocationOption locationOption,
SmartObject.UpdateOption updateOption)
|
Point |
createPoint(IBaseCurve edgeCurve,
Scalar scalarT,
SmartObject.UpdateOption updateOption)
|
Point |
createPoint(IBaseCurve edgeCurve,
Scalar scalarT,
SmartObject.UpdateOption updateOption,
boolean useReverseParameter)
|
Point |
createPoint(IBaseCurve edgeCurve,
Scalar angle,
Xform xform,
SmartObject.UpdateOption updateOption)
Creates a
Point at an angle along an IBaseCurve . |
Point |
createPoint(IBaseCurve edgeCurve,
SmartObject.UpdateOption updateOption)
|
Point |
createPoint(IBaseCurve splarc,
View view)
Creates a
Point at the center of a splarc. |
Point |
createPoint(IBasePlane plane,
IBaseCurve curve,
Point helpPt1,
Point helpPt2,
SmartObject.UpdateOption updateOption)
|
Point |
createPoint(IParameterizedSurface face,
IBaseCurve curve,
Point helpPt1,
Point helpPt2,
SmartObject.UpdateOption updateOption)
|
Point |
createPoint(IParameterizedSurface face,
Scalar scalarU,
Scalar scalarV,
SmartObject.UpdateOption updateOption)
|
Point |
createPoint(IParameterizedSurface sphericalFace,
SmartObject.UpdateOption updateOption)
Creates a
Point at the center of a spherical face. |
Point |
createPoint(IRoutePosition routePosition,
Xform xform,
SmartObject.UpdateOption updateOption)
Creates a
Point at the given IRoutePosition . |
Point |
createPoint(Offset offset,
Point offsetPoint,
SmartObject.UpdateOption updateOption)
|
Point |
createPoint(Point3d coordinates)
Creates a
Point without parameters. |
Point |
createPoint(Point point1,
Point point2,
Scalar distancePercentage,
SmartObject.UpdateOption updateOption)
|
Point |
createPoint(Point pointExtract,
Xform xform,
SmartObject.UpdateOption updateOption)
|
Point |
createPoint(Scalar scalarX,
Scalar scalarY,
Scalar scalarZ,
SmartObject.UpdateOption updateOption)
|
Point |
createPoint(ScCollector faces,
IBaseCurve curve,
Point helpPt1,
Point helpPt2,
SmartObject.UpdateOption updateOption)
Creates a
Point at the intersection of a
connected set of faces and IBaseCurve . |
Point |
createPoint(SmartObject.UpdateOption updateOption,
nxopen.annotations.Annotation annotation,
Scalar t,
int side,
int block,
boolean attachFcfToDim)
|
Point |
createPoint(View view,
IBaseCurve edgeCurve1,
IBaseCurve edgeCurve2,
Point3d helpPt,
SmartObject.UpdateOption updateOption)
|
Point |
createPointOnPortExtractAlign(SmartObject.UpdateOption updateOption,
nxopen.routing.Port port,
Scalar distance)
Creates a
Point at a nxopen.routing.Port . |
Point |
createPointOnSectionCG(SmartObject.UpdateOption updateOption,
TaggedObject face)
Creates a
Point on the center of gravity of the sketch for a given sheet metal feature face
in history free mode. |
Point |
createPointOnSurfaceAxis(TaggedObject face,
Scalar parameter,
SmartObject.UpdateOption updateOption)
Creates a parameterised point on the center line axis of the given face.
|
Point |
createPointSplarc(IBaseCurve splarc,
View view)
|
Point |
createPointSplinePole(IBaseCurve splineCurve,
int poleIndex,
SmartObject.UpdateOption updateOption)
Creates a
Point at a spline pole. |
Point |
createQuadrantPoint(IBaseCurve curveOrEdge,
int quadrant,
SmartObject.UpdateOption updateOption)
Creates a quadrant point
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR nx_masterfem ("Finite Element Modeling") OR geometric_tol ("GDT") . |
Point |
createStockOffsetPoint(Point basePoint,
Direction offsetDirr,
String offsetExpression,
SmartObject.UpdateOption updateOption)
Creates a Routing "Stock Offset" point.
|
Point |
createVirtualIntersectionPoint(IBaseCurve curve1,
IBaseCurve curve2,
Point helpPt1,
Point helpPt2,
SmartObject.UpdateOption updateOption)
Creates a
Point at the virtual intersection of two linear Edges or Curves. |
void |
deletePoint(Point point)
Deletes a
Point by adding the point to the delete list and then
updating the delete list without performing a general update. |
Point |
findObject(String journalIdentifier)
Finds the
Point with the given identifier as recorded in a journal. |
void |
removeParameters(Point point)
Removes the parameters from an associative
Point . |
_find_next, iterator
Point createPoint(Point3d coordinates) throws NXException, RemoteException
Point
without parameters.
coordinates
- Coordinates of a PointNXException
RemoteException
Point createPoint(Offset offset, Point offsetPoint, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Point
using a Point
and an Offset
.
offset
- offsetPoint
- Offsetting from this PointupdateOption
- NXException
RemoteException
Point createPoint(IParameterizedSurface face, Scalar scalarU, Scalar scalarV, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Point
on a Surface or Face
via U-V Scalar
for the surface.
face
- scalarU
- U parameterscalarV
- V parameterupdateOption
- NXException
RemoteException
Point createPoint(View view, IBaseCurve edgeCurve1, IBaseCurve edgeCurve2, Point3d helpPt, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Point
on the intersection of two Curve
and/or Edge
in a View.
view
- edgeCurve1
- Edge or CurveedgeCurve2
- Edge or CurvehelpPt
- Help Point for curve 1updateOption
- NXException
RemoteException
Point createPoint(IBaseCurve edgeCurve, Scalar scalarT, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Point
on a Curve
or Edge
and Scalar
representing the T parameter.
edgeCurve
- Edge or CurvescalarT
- T parameterupdateOption
- NXException
RemoteException
Point createPoint(IBaseCurve edgeCurve, Scalar scalarT, PointCollection.PointOnCurveLocationOption locationOption, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Point
on a Curve
or Edge
and Scalar
representing
the Percent parameter or Arc Length or Percent Arc Length.
edgeCurve
- Edge or CurvescalarT
- scalar valuelocationOption
- Specify whether the input Scalar is Arc Length or Percent Arc Length or Percent ParameterupdateOption
- NXException
RemoteException
Point createPoint(IBaseCurve edgeCurve, Scalar scalarT, SmartObject.UpdateOption updateOption, boolean useReverseParameter) throws NXException, RemoteException
Point
on a Curve
or Edge
and Scalar
representing the T parameter.
edgeCurve
- Edge or CurvescalarT
- T parameterupdateOption
- useReverseParameter
- NXException
RemoteException
Point createPoint(IBaseCurve edgeCurve, Point pointOffset, Scalar distancePercent, PointCollection.AlongCurveOption option, Sense sense, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Point
along a Curve
or Edge
using a Point
, and a Scalar
representing
the T parameter along the Curve
. This Point
is derived by finding the
closest Point
on the given curve to the given Point
and then offsetting this Point
along the given Curve
by the arc length defined by T via absolute
distance or relative percent.
edgeCurve
- Edge or CurvepointOffset
- Offset from this PointdistancePercent
- Distance or Percentageoption
- Specify whether the input Scalar is distance/percentagesense
- forward/reverse along the Edge or CurveupdateOption
- NXException
RemoteException
Point createPoint(Scalar scalarX, Scalar scalarY, Scalar scalarZ, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Point
via three Scalar
.
scalarX
- X locationscalarY
- Y locationscalarZ
- Z locationupdateOption
- NXException
RemoteException
Point createPoint(Point pointExtract, Xform xform, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Point
via an existing Point
using an optional Xform
.
pointExtract
- Point to be extractedxform
- optional XformupdateOption
- NXException
RemoteException
Point createPoint(IBaseCurve edgeCurve, Scalar angle, Xform xform, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Point
at an angle along an IBaseCurve
.
edgeCurve
- angle
- angle in radiansxform
- optional XformupdateOption
- NXException
RemoteException
Point createPoint(IBaseCurve edgeCurve, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Point
via the center of an Edge
or
Curve
.
edgeCurve
- updateOption
- NXException
RemoteException
Point createPoint(IBaseCurve curve1, IBaseCurve curve2, Point helpPt1, Point helpPt2, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Point
at the intersection of two Edges or Curves.
curve1
- First Edge or Curve in intersectioncurve2
- Second Edge or Curve in intersectionhelpPt1
- Optional help Point for curve 1helpPt2
- Optional help Point for curve 2updateOption
- NXException
RemoteException
Point createPoint(IBaseCurve curve1, IBaseCurve curve2, Point3d startPoint, View view, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Point
at the apparent intersection of two Edges or Curves in a view.
curve1
- First Edge or Curve in intersectioncurve2
- Second Edge or Curve in intersectionstartPoint
- Start point of the intersectionview
- View in which to project the intersectionupdateOption
- NXException
RemoteException
Point createPoint(IParameterizedSurface face, IBaseCurve curve, Point helpPt1, Point helpPt2, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Point
at the intersection of a
IParameterizedSurface
and IBaseCurve
.
face
- curve
- Curve in intersectionhelpPt1
- Optional help Point for facehelpPt2
- Optional help Point for curveupdateOption
- NXException
RemoteException
Point createPoint(IBasePlane plane, IBaseCurve curve, Point helpPt1, Point helpPt2, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Point
at the intersection of a IBasePlane
and IBaseCurve
.
plane
- Plane or DatumPlane in intersectioncurve
- Curve or Edge in intersectionhelpPt1
- Optional help Point for facehelpPt2
- Optional help Point for curveupdateOption
- NXException
RemoteException
Point createPoint(IParameterizedSurface sphericalFace, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Point
at the center of a spherical face.
sphericalFace
- updateOption
- NXException
RemoteException
Point createPoint(IRoutePosition routePosition, Xform xform, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Point
at the given IRoutePosition
.
routePosition
- xform
- optional Xform
updateOption
- NXException
RemoteException
Point findObject(String journalIdentifier) throws NXException, RemoteException
Point
with the given identifier as recorded in a journal.
An object may not return the same value as its JournalIdentifier in different versions of
the software. However newer versions of the software should find the same object when
FindObject is passed older versions of its journal identifier. In general, this method
should not be used in handwritten code and exists to support record and playback of journals.
An exception will be thrown if no object can be found with the given journal identifier.
journalIdentifier
- Identifier of the Point you wantNXException
RemoteException
Point createPoint(CartesianCoordinateSystem csys, Scalar scalarX, Scalar scalarY, Scalar scalarZ, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Point
via CartesianCoordinateSystem
and three Scalar
.
csys
- Cartesian Coordinate SystemscalarX
- X locationscalarY
- Y locationscalarZ
- Z locationupdateOption
- NXException
RemoteException
Point createPoint(Point point1, Point point2, Scalar distancePercentage, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Point
between two points using a Scalar
that represents
a percentage of the distance between the points. The distance is measured from the first point to the
second point. There is no limit on the percentage so the point can be outside the area between the two
points.
point1
- point2
- distancePercentage
- updateOption
- NXException
RemoteException
Point createVirtualIntersectionPoint(IBaseCurve curve1, IBaseCurve curve2, Point helpPt1, Point helpPt2, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Point
at the virtual intersection of two linear Edges or Curves.
curve1
- First Edge or Curve in virtual intersectioncurve2
- Second Edge or Curve in virtual intersectionhelpPt1
- Optional help Point for curve 1helpPt2
- Optional help Point for curve 2updateOption
- NXException
RemoteException
Point createPoint(Expression exp, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Point
via an Expression
.
exp
- EXP PointupdateOption
- NXException
RemoteException
Point createStockOffsetPoint(Point basePoint, Direction offsetDirr, String offsetExpression, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
basePoint
- Base point to offset from.offsetDirr
- Direction to offset along.offsetExpression
- Offset value expression. updateOption
- NXException
RemoteException
Point createPointOnPortExtractAlign(SmartObject.UpdateOption updateOption, nxopen.routing.Port port, Scalar distance) throws NXException, RemoteException
Point
at a nxopen.routing.Port
.
The nxopen.routing.Port
will be extraced into the work part if
necessary. If the nxopen.routing.Port
has already been extracted,
the existing extract will be used. If extraction is not required, the input
nxopen.routing.Port
will be used.
updateOption
- port
- nxopen.routing.Port
distance
- Scalar DistanceNXException
RemoteException
Point createPointOnSurfaceAxis(TaggedObject face, Scalar parameter, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
face
- RM Faceparameter
- RM ScalarupdateOption
- Update option of smart objectNXException
RemoteException
Point createPoint(CAEFace face, Point projectedPoint, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
face
- the face to project toprojectedPoint
- the point to project onto the faceupdateOption
- NXException
RemoteException
Point createQuadrantPoint(IBaseCurve curveOrEdge, int quadrant, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
curveOrEdge
- Must be circular or ellipticalquadrant
- 0 to 3updateOption
- NXException
RemoteException
Point createPointOnSectionCG(SmartObject.UpdateOption updateOption, TaggedObject face) throws NXException, RemoteException
Point
on the center of gravity of the sketch for a given sheet metal feature face
in history free mode. Supports Dimple, Bead, Louver, Drawn Cutout and Normal Cutout. A Null object will be
returned if an inapproriate face is passed as an argument.
updateOption
- Update option of smart objectface
- the feature face to associate the point withNXException
RemoteException
void deletePoint(Point point) throws NXException, RemoteException
Point
by adding the point to the delete list and then
updating the delete list without performing a general update.
point
- Point to be deletedNXException
RemoteException
void removeParameters(Point point) throws NXException, RemoteException
Point
.
point
- Point from which parameters will be removedNXException
RemoteException
Point createPoint(ScCollector faces, IBaseCurve curve, Point helpPt1, Point helpPt2, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Point
at the intersection of a
connected set of faces and IBaseCurve
.
faces
- Collector object to represent connected set of facescurve
- Curve in intersectionhelpPt1
- Optional help Point for facehelpPt2
- Optional help Point for curveupdateOption
- NXException
RemoteException
Point createPoint(SmartObject.UpdateOption updateOption, nxopen.annotations.Annotation annotation, Scalar t, int side, int block, boolean attachFcfToDim) throws NXException, RemoteException
Point
on a nxopen.annotations.Annotation
and Scalar
representing the T parameter.
updateOption
- annotation
- t
- side
- block
- attachFcfToDim
- NXException
RemoteException
Point createPoint(IBaseCurve splarc, View view) throws NXException, RemoteException
Point
at the center of a splarc.
splarc
- view
- NXException
RemoteException
Point createPointSplinePole(IBaseCurve splineCurve, int poleIndex, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Point
at a spline pole.
splineCurve
- SplinepoleIndex
- index of Spline PoleupdateOption
- NXException
RemoteException
Point createPointSplarc(IBaseCurve splarc, View view) throws NXException, RemoteException
Point
draft smart point for splines as arcs
splarc
- Spline Arcview
- ViewNXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.