public interface BoundaryDefinitionBuilder extends TaggedObject, IComponentBuilder
BoundaryDefinitionBuilder
.
A boundary definition is a collection of ordered points which can be imagined to be
connected by a polyline indicating a boundary. Any point in the collection can be
marked as a key point. Marking some points as key points helps to delete part of the
boundary efficiently. All the points in a boundary definition are co-planar.
A depth value can be specified to define a 3D boundary equivalent to an extrusion.
Modifier and Type | Method and Description |
---|---|
void |
appendPoint(Point3d point,
boolean isKeyPoint)
Appends a point to the boundary definition
License requirements: studio_free_form ("STUDIO FREE FORM") . |
boolean |
close()
Closes the boundary by appending start point at the end of boundary definition
License requirements: studio_free_form ("STUDIO FREE FORM") . |
void |
deleteAll()
Deletes all the points in the boundary definition
License requirements: studio_free_form ("STUDIO FREE FORM") . |
void |
deleteLastKeyPoint()
Deletes last key point and all the points from last key point up to and excluding its previous key point
License requirements: studio_free_form ("STUDIO FREE FORM") . |
Expression |
depth()
Returns the region depth
License requirements: None. |
Point3d[] |
getPoints()
Queries all the boundary definition points
License requirements: studio_free_form ("STUDIO FREE FORM") . |
void |
setPlaneNormal(Vector3d direction)
Sets normal of the plane in which boundary is defined
License requirements: studio_free_form ("STUDIO FREE FORM") . |
void |
translate(Vector3d vector)
Translates the boundary from its current position using the direction and the magnitude of a vector.
|
printTestData, printTestData, tag, tagValue
validate
void appendPoint(Point3d point, boolean isKeyPoint) throws NXException, RemoteException
point
- Point to appendisKeyPoint
- Flag indicating if point is a key pointNXException
RemoteException
boolean close() throws NXException, RemoteException
NXException
RemoteException
void deleteAll() throws NXException, RemoteException
NXException
RemoteException
void deleteLastKeyPoint() throws NXException, RemoteException
NXException
RemoteException
Point3d[] getPoints() throws NXException, RemoteException
NXException
RemoteException
void setPlaneNormal(Vector3d direction) throws NXException, RemoteException
direction
- NXException
RemoteException
Expression depth() throws NXException, RemoteException
NXException
RemoteException
void translate(Vector3d vector) throws NXException, RemoteException
vector
- NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.