NXOpen .NET Reference
12.0.0
|
Represents a collection of NXOpen.Curve . More...
Public Member Functions | |
NXOpen.Curve[] | ToArray () |
Returns an array of NXOpen.Curve objects. More... | |
unsafe NXOpen.Line | CreateLine (NXOpen.Point3d startPoint, NXOpen.Point3d endPoint) |
Creates a NXOpen.Line . More... | |
unsafe NXOpen.Line | CreateLine (NXOpen.Point startPoint, NXOpen.Point endPoint) |
Creates a NXOpen.Line joining given start NXOpen.Point and End NXOpen.Point . More... | |
unsafe NXOpen.InfiniteLine | CreateInfiniteLine (NXOpen.Point3d startPoint, NXOpen.Point3d endPoint) |
Creates a NXOpen.InfiniteLine that passes through the two specified points. More... | |
unsafe NXOpen.InfiniteLine | CreatePairedInfiniteLine (NXOpen.Line line) |
Creates a paired NXOpen.InfiniteLine that is paired to the specified line. More... | |
unsafe NXOpen.Arc | CreateArc (NXOpen.Point3d startPoint, NXOpen.Point3d pointOn, NXOpen.Point3d endPoint, bool alternateSolution, out bool startAndEndGotFlipped) |
Creates an NXOpen.Arc that passes through the three specified points. More... | |
unsafe NXOpen.Arc | CreateArc (NXOpen.Point3d center, NXOpen.NXMatrix matrix, double radius, double startAngle, double endAngle) |
Creates an NXOpen.Arc . More... | |
unsafe NXOpen.Arc | CreateArc (NXOpen.Point3d center, NXOpen.Vector3d xDirection, NXOpen.Vector3d yDirection, double radius, double startAngle, double endAngle) |
Creates an NXOpen.Arc . More... | |
unsafe NXOpen.Ellipse | CreateEllipse (NXOpen.Point3d center, double majorRadius, double minorRadius, double startAngle, double endAngle, double rotationAngle, NXOpen.NXMatrix matrix) |
Creates an NXOpen.Ellipse . More... | |
unsafe NXOpen.Ellipse | CreateEllipse (NXOpen.Point3d center, NXOpen.Vector3d xDirection, NXOpen.Vector3d yDirection, double majorRadius, double minorRadius, double startAngle, double endAngle) |
Creates an NXOpen.Ellipse . More... | |
unsafe NXOpen.Parabola | CreateParabola (NXOpen.Point3d center, double focalLength, double minimumDY, double maximumDY, double rotationAngle, NXOpen.NXMatrix matrix) |
Creates a NXOpen.Parabola . More... | |
unsafe NXOpen.Parabola | CreateParabola (NXOpen.Point3d center, NXOpen.Vector3d xDirection, NXOpen.Vector3d yDirection, double focalLength, double minimumDY, double maximumDY) |
Creates a NXOpen.Parabola . More... | |
unsafe NXOpen.Hyperbola | CreateHyperbola (NXOpen.Point3d center, double semiTransverseLength, double semiConjugateLength, double minimumDY, double maximumDY, double rotationAngle, NXOpen.NXMatrix matrix) |
Creates a NXOpen.Hyperbola . More... | |
unsafe NXOpen.Hyperbola | CreateHyperbola (NXOpen.Point3d center, NXOpen.Vector3d xDirection, NXOpen.Vector3d yDirection, double semiTransverseLength, double semiConjugateLength, double minimumDY, double maximumDY) |
Creates a NXOpen.Hyperbola . More... | |
unsafe NXOpen.Curve | CreateVirtualBlendCurve (NXOpen.SmartObject.UpdateOption updateOption, NXOpen.IParameterizedSurface blendFace, double tolerance) |
Creates a NXOpen.Curve . More... | |
unsafe NXOpen.Curve | CreateVirtualCenterlineCurve (NXOpen.SmartObject.UpdateOption updateOption, NXOpen.IParameterizedSurface blendFace, double tolerance) |
Creates a NXOpen.Curve . More... | |
unsafe NXOpen.Curve | CreateSmartCompositeCurve (NXOpen.Section section, NXOpen.SmartObject.UpdateOption updateOption, double tolerance) |
Creates a NXOpen.Curve . More... | |
unsafe NXOpen.Curve | CreateSmartCompositeCurve (NXOpen.Curve curve, NXOpen.SmartObject.UpdateOption updateOption) |
Creates a NXOpen.Curve . More... | |
unsafe NXOpen.ICurve | CreateExtractedCurve (NXOpen.ICurve curveToExtract, int type, int subtype, NXOpen.Xform xform, double tolerance, NXOpen.SmartObject.UpdateOption updateOption) |
Creates a NXOpen.Curve . More... | |
Protected Member Functions | |
override int | EnumerateMoveNext (ref Tag currentTag, byte[] state) |
Advances the enumerator to the next element of the collection. More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Represents a collection of NXOpen.Curve .
Iterating this collection only returns live uncondemned objects contained in the owning part of the collection. Note that NXOpen.Curve is a smart object and many smart objects are condemned as they only exist to support other objects and are not displayed.
To obtain an instance of this class, refer to NXOpen.BasePart
Created in NX3.0.0
unsafe NXOpen.Arc NXOpen.CurveCollection.CreateArc | ( | NXOpen.Point3d | startPoint, |
NXOpen.Point3d | pointOn, | ||
NXOpen.Point3d | endPoint, | ||
bool | alternateSolution, | ||
out bool | startAndEndGotFlipped | ||
) |
Creates an NXOpen.Arc that passes through the three specified points.
Created in NX3.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
startPoint | Start point |
pointOn | Point that the arc passes through. |
endPoint | End point |
alternateSolution | If true, the arc will be created using the alternate solution instead of the regular solution. The alternate solution for an arc is the portion of the full circle that is left out of the regular solution. For example, if the regular solution is an arc that goes from 0 to 45 degrees, the alternate solution will be an arc with the same center and origin but that goes from 45 degrees to 360. |
startAndEndGotFlipped | If true, the start point of the arc that is created is at the end point parameter to this method and the end point of the arc is at the start point parameter. In other words, suppose you execute arc = Curves.CreateArc(startPointParam, pointOnParam, endPointParam, false, flipped). If flipped is true, then arc.StartPoint equals endPointParam and arc.EndPoint equals startPointParam. |
unsafe NXOpen.Arc NXOpen.CurveCollection.CreateArc | ( | NXOpen.Point3d | center, |
NXOpen.NXMatrix | matrix, | ||
double | radius, | ||
double | startAngle, | ||
double | endAngle | ||
) |
Creates an NXOpen.Arc .
The arc will be created in a plane which passes through center and whose normal is the Z axis of the orientation matrix. (matrix.Element.xx, matrix.Element.xy, matrix.Element.xz) is the X axis of the orientation matrix. (matrix.Element.yx, matrix.Element.yy, matrix.Element.yz) is the Y axis of the orientation matrix. The start and end angles are measured relative to the X and Y axis of this orientation matrix.
Created in NX3.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
center | Center of the arc |
matrix | Orientation matrix for the arc. |
radius | Radius of the arc. Must be greater than zero. |
startAngle | Start angle in radians |
endAngle | End angle in radians |
unsafe NXOpen.Arc NXOpen.CurveCollection.CreateArc | ( | NXOpen.Point3d | center, |
NXOpen.Vector3d | xDirection, | ||
NXOpen.Vector3d | yDirection, | ||
double | radius, | ||
double | startAngle, | ||
double | endAngle | ||
) |
Creates an NXOpen.Arc .
The arc will be created through the origin and whose normal is Z axis. The start and end angles are measured relative to the X and Y axes.
Created in NX4.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
center | Center of the arc |
xDirection | X direction of the arc |
yDirection | Y direction of the arc |
radius | Radius of the arc. Must be greater than zero. |
startAngle | Start angle in radians |
endAngle | End angle in radians |
unsafe NXOpen.Ellipse NXOpen.CurveCollection.CreateEllipse | ( | NXOpen.Point3d | center, |
double | majorRadius, | ||
double | minorRadius, | ||
double | startAngle, | ||
double | endAngle, | ||
double | rotationAngle, | ||
NXOpen.NXMatrix | matrix | ||
) |
Creates an NXOpen.Ellipse .
The ellipse will be created in a plane which passes through center and whose normal is the Z axis of the orientation matrix. (matrix.Element.xx, matrix.Element.xy, matrix.Element.xz) is the X axis of the orientation matrix. (matrix.Element.yx, matrix.Element.yy, matrix.Element.yz) is the Y axis of the orientation matrix. The start, end, and rotation angles are measured relative to the X and Y axis of this orientation matrix.
Created in NX3.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
center | Center of ellipse |
majorRadius | Major radius |
minorRadius | Minor radius |
startAngle | Start angle in radians |
endAngle | End angle in radians |
rotationAngle | Rotation angle in radians |
matrix | Orientation matrix for the ellipse |
unsafe NXOpen.Ellipse NXOpen.CurveCollection.CreateEllipse | ( | NXOpen.Point3d | center, |
NXOpen.Vector3d | xDirection, | ||
NXOpen.Vector3d | yDirection, | ||
double | majorRadius, | ||
double | minorRadius, | ||
double | startAngle, | ||
double | endAngle | ||
) |
Creates an NXOpen.Ellipse .
The ellipse will be created through the origin and whose normal is Z axis. The start and end angles are measured relative to the X and Y axes.
Created in NX4.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
center | Center of the ellipse |
xDirection | X direction of the ellipse |
yDirection | Y direction of the ellipse |
majorRadius | Major radius of the ellipse. Must be greater than zero. |
minorRadius | Minor radius of the ellipse. Must be greater than zero. |
startAngle | Start angle in radians |
endAngle | End angle in radians |
unsafe NXOpen.ICurve NXOpen.CurveCollection.CreateExtractedCurve | ( | NXOpen.ICurve | curveToExtract, |
int | type, | ||
int | subtype, | ||
NXOpen.Xform | xform, | ||
double | tolerance, | ||
NXOpen.SmartObject.UpdateOption | updateOption | ||
) |
Creates a NXOpen.Curve .
The extracted curve will be created for the input curve to extract.
Created in NX8.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")
curveToExtract | Curve or edge to be extracted |
type | Type |
subtype | Sub-Type |
xform | optional Xform |
tolerance | tolerance for computing the extract curve |
updateOption |
unsafe NXOpen.Hyperbola NXOpen.CurveCollection.CreateHyperbola | ( | NXOpen.Point3d | center, |
double | semiTransverseLength, | ||
double | semiConjugateLength, | ||
double | minimumDY, | ||
double | maximumDY, | ||
double | rotationAngle, | ||
NXOpen.NXMatrix | matrix | ||
) |
Creates a NXOpen.Hyperbola .
The hyperbola will be created in a plane which passes through center and whose normal is the Z axis of the orientation matrix. (matrix.Element.xx, matrix.Element.xy, matrix.Element.xz) is the X axis of the orientation matrix. (matrix.Element.yx, matrix.Element.yy, matrix.Element.yz) is the Y axis of the orientation matrix. The rotation angle is measured relative to the X and Y axis of this orientation matrix.
Created in NX3.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
center | Center of hyperbola |
semiTransverseLength | Semi-transverse length |
semiConjugateLength | Semi-conjugate length |
minimumDY | Minimum DY width |
maximumDY | Maximum DY width |
rotationAngle | Rotation angle in radians |
matrix | Orientation matrix for the hyperbola |
unsafe NXOpen.Hyperbola NXOpen.CurveCollection.CreateHyperbola | ( | NXOpen.Point3d | center, |
NXOpen.Vector3d | xDirection, | ||
NXOpen.Vector3d | yDirection, | ||
double | semiTransverseLength, | ||
double | semiConjugateLength, | ||
double | minimumDY, | ||
double | maximumDY | ||
) |
Creates a NXOpen.Hyperbola .
The hyperbola will be created through the origin and whose normal is Z axis.
Created in NX4.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
center | Center of the hyperbola |
xDirection | X direction of the hyperbola |
yDirection | Y direction of the hyperbola |
semiTransverseLength | Semi-transverse length |
semiConjugateLength | Semi-conjugate length |
minimumDY | Minimum DY width |
maximumDY | Maximum DY width |
unsafe NXOpen.InfiniteLine NXOpen.CurveCollection.CreateInfiniteLine | ( | NXOpen.Point3d | startPoint, |
NXOpen.Point3d | endPoint | ||
) |
Creates a NXOpen.InfiniteLine that passes through the two specified points.
Created in NX7.5.0
License requirements: nx_layout ("NX Layout")
startPoint | Start point |
endPoint | End point |
unsafe NXOpen.Line NXOpen.CurveCollection.CreateLine | ( | NXOpen.Point3d | startPoint, |
NXOpen.Point3d | endPoint | ||
) |
Creates a NXOpen.Line .
Created in NX3.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT") OR insp_programming ("INSPECTION PROGRAMMING")
startPoint | Start point |
endPoint | End point |
unsafe NXOpen.Line NXOpen.CurveCollection.CreateLine | ( | NXOpen.Point | startPoint, |
NXOpen.Point | endPoint | ||
) |
Creates a NXOpen.Line joining given start NXOpen.Point and End NXOpen.Point .
Created in NX5.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT") OR insp_programming ("INSPECTION PROGRAMMING")
startPoint | Start NXOpen.Point |
endPoint | End NXOpen.Point |
unsafe NXOpen.InfiniteLine NXOpen.CurveCollection.CreatePairedInfiniteLine | ( | NXOpen.Line | line | ) |
Creates a paired NXOpen.InfiniteLine that is paired to the specified line.
Created in NX7.5.0
License requirements: nx_layout ("NX Layout")
line | Paired NXOpen.Line |
unsafe NXOpen.Parabola NXOpen.CurveCollection.CreateParabola | ( | NXOpen.Point3d | center, |
double | focalLength, | ||
double | minimumDY, | ||
double | maximumDY, | ||
double | rotationAngle, | ||
NXOpen.NXMatrix | matrix | ||
) |
Creates a NXOpen.Parabola .
The parabola will be created in a plane which passes through center and whose normal is the Z axis of the orientation matrix. (matrix.Element.xx, matrix.Element.xy, matrix.Element.xz) is the X axis of the orientation matrix. (matrix.Element.yx, matrix.Element.yy, matrix.Element.yz) is the Y axis of the orientation matrix. The rotation angle is measured relative to the X and Y axis of this orientation matrix.
Created in NX3.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
center | Center of parabola |
focalLength | Focal length |
minimumDY | Minimum DY width |
maximumDY | Maximum DY width |
rotationAngle | Rotation angle in radians |
matrix | Orientation matrix for the parabola |
unsafe NXOpen.Parabola NXOpen.CurveCollection.CreateParabola | ( | NXOpen.Point3d | center, |
NXOpen.Vector3d | xDirection, | ||
NXOpen.Vector3d | yDirection, | ||
double | focalLength, | ||
double | minimumDY, | ||
double | maximumDY | ||
) |
Creates a NXOpen.Parabola .
The parabola will be created through the origin and whose normal is Z axis.
Created in NX4.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
center | Center of the parabola |
xDirection | X direction of the parabola |
yDirection | Y direction of the parabola |
focalLength | Focal length |
minimumDY | Minimum DY width |
maximumDY | Maximum DY width |
unsafe NXOpen.Curve NXOpen.CurveCollection.CreateSmartCompositeCurve | ( | NXOpen.Section | section, |
NXOpen.SmartObject.UpdateOption | updateOption, | ||
double | tolerance | ||
) |
Creates a NXOpen.Curve .
The smart composite curve will be created for the input section.
Created in NX8.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
section | Section from which smart composite curve will be created |
updateOption | |
tolerance | Tolerance used to join the section output curves |
unsafe NXOpen.Curve NXOpen.CurveCollection.CreateSmartCompositeCurve | ( | NXOpen.Curve | curve, |
NXOpen.SmartObject.UpdateOption | updateOption | ||
) |
Creates a NXOpen.Curve .
The smart composite curve will be created for the input curve.
Created in NX8.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
curve | Curve from which smart composite curve will be created |
updateOption |
unsafe NXOpen.Curve NXOpen.CurveCollection.CreateVirtualBlendCurve | ( | NXOpen.SmartObject.UpdateOption | updateOption, |
NXOpen.IParameterizedSurface | blendFace, | ||
double | tolerance | ||
) |
Creates a NXOpen.Curve .
The virtual blend curve will be created for the input blend face. The virtual blend curve behaves similarly to the original edge that the blend face was applied on.
Created in NX7.0.0
License requirements: solid_modeling ("SOLIDS MODELING")
updateOption | |
blendFace | blend face |
tolerance | tolerance for computing the facsimile curve |
unsafe NXOpen.Curve NXOpen.CurveCollection.CreateVirtualCenterlineCurve | ( | NXOpen.SmartObject.UpdateOption | updateOption, |
NXOpen.IParameterizedSurface | blendFace, | ||
double | tolerance | ||
) |
Creates a NXOpen.Curve .
The virtual centerline curve will be created for the input blend face.
Created in NX7.5.0
License requirements: solid_modeling ("SOLIDS MODELING")
updateOption | |
blendFace | blend face |
tolerance | tolerance for computing the facsimile curve |
|
protected |
Advances the enumerator to the next element of the collection.
NXOpen.Curve [] NXOpen.CurveCollection.ToArray | ( | ) |
Returns an array of NXOpen.Curve objects.
|
get |
Returns the tag of this object.