public interface Direction extends SmartObject, IReferenceAxis, ILocation
DirectionCollection.createDirection(nxopen.Point3d, nxopen.Vector3d, nxopen.SmartObject.UpdateOption)
Modifier and Type | Interface and Description |
---|---|
static class |
Direction.OnCurveOption
Specifies the direction in relation to a curve.
|
static class |
Direction.OnFaceOption
Specifies the direction in relation to a face.
|
SmartObject.UpdateOption, SmartObject.VisibilityOption
DisplayableObject.ObjectFont, DisplayableObject.ObjectWidth
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat, NXObject.NextUserAttributeData
Modifier and Type | Method and Description |
---|---|
Point3d |
origin()
Returns the origin of the direction.
|
boolean |
reverseDirection()
Reverses the sense of a direction.
|
Sense |
sense()
Returns the sense of the direction.
|
void |
setOrigin(Point3d origin)
License requirements: solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR insp_programming ("INSPECTION PROGRAMMING") . |
void |
setVector(Vector3d vector)
License requirements: solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR insp_programming ("INSPECTION PROGRAMMING") . |
Vector3d |
vector()
Returns the unit vector of the direction.
|
evaluate, protectFromDelete, releaseDeleteProtection, removeParameters, replaceParameters, setVisibility, update, visibility
blank, color, highlight, isBlanked, layer, lineFont, lineWidth, nameLocation, redisplayObject, removeViewDependency, setColor, setLayer, setLineFont, setLineWidth, setNameLocation, unblank, unhighlight
createAttributeIterator, deleteAllAttributesByType, deleteAllAttributesByType, deleteAttributeByTypeAndTitle, deleteAttributeByTypeAndTitle, deleteUserAttribute, deleteUserAttributes, deleteUserAttributes, getAttributeTitlesByType, getBooleanUserAttribute, getComputationalTimeUserAttribute, getIntegerAttribute, getIntegerUserAttribute, getNextUserAttribute, getPdmReferenceAttributeValue, getRealAttribute, getRealUserAttribute, getReferenceAttribute, getStringAttribute, getStringUserAttribute, getTimeAttribute, getTimeUserAttribute, getUserAttribute, getUserAttribute, getUserAttributeAsString, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeLock, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributesAsStrings, getUserAttributeSize, getUserAttributeSourceObjects, hasUserAttribute, hasUserAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setBooleanUserAttribute, setPdmReferenceAttribute, setReferenceAttribute, setReferenceAttribute, setTimeAttribute, setTimeAttribute, setTimeUserAttribute, setTimeUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttributeLock
printTestData, printTestData, tag, tagValue
findObject, isOccurrence, journalIdentifier, name, owningComponent, owningPart, print, prototype, setName
boolean reverseDirection() throws NXException, RemoteException
DirectionCollection.createDirection(nxopen.Point3d, nxopen.Vector3d, nxopen.SmartObject.UpdateOption)
for an extract
type, then the sense cannot be reversed. The method returns true
if the direction is reversed and false otherwise.
NXException
RemoteException
Sense sense() throws NXException, RemoteException
DirectionCollection.createDirection(nxopen.Point3d, nxopen.Vector3d, nxopen.SmartObject.UpdateOption)
for an extract
type, then the sense cannot be reversed. In this case,
the method returns Sense.FORWARD
.
NXException
RemoteException
Vector3d vector() throws NXException, RemoteException
NXException
RemoteException
Point3d origin() throws NXException, RemoteException
NXException
RemoteException
void setOrigin(Point3d origin) throws NXException, RemoteException
origin
- NXException
RemoteException
void setVector(Vector3d vector) throws NXException, RemoteException
vector
- NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.