public interface CollisionBodyBuilder extends CollisionShapeBuilder
CollisionBodyBuilder
. CollisionBodyCollection.createCollisionBodyBuilder(nxopen.mechatronics.CollisionBody)
Modifier and Type | Interface and Description |
---|---|
static class |
CollisionBodyBuilder.CollisionShapeTypes
the collide shape types.
|
static class |
CollisionBodyBuilder.ShapePropertyTypes
the shape calculation option.
|
Modifier and Type | Method and Description |
---|---|
void |
calculateConvex()
The convex of the collide.
|
void |
calculateMesh()
The mesh of the collide.
|
void |
calculateMultiConvex()
The multi-convex of the collide.
|
int |
category()
Returns the category.
|
double |
collisionFactor()
Returns the collision factor.
|
CollisionMaterial |
collisionMaterial()
Returns the material.
|
CollisionBodyBuilder.ShapePropertyTypes |
collisionProperties()
Returns the shape option.
|
CollisionBodyBuilder.CollisionShapeTypes |
collisionShape()
Returns the shape type.
|
SelectNXObjectList |
geometry()
Returns the geometries.
|
boolean |
highlightOnCollision()
Returns the highlight on collision.
|
String |
name()
Returns the name.
|
void |
setCategory(int category)
License requirements: nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER") . |
void |
setCollisionFactor(double factor)
License requirements: nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER") . |
void |
setCollisionMaterial(CollisionMaterial collisionMaterial)
License requirements: nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER") . |
void |
setCollisionProperties(CollisionBodyBuilder.ShapePropertyTypes collisionProperties)
License requirements: nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER") . |
void |
setCollisionShape(CollisionBodyBuilder.CollisionShapeTypes collisionShape)
License requirements: nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER") . |
void |
setGeometry(NXObject[] geometries)
Sets the geometry
License requirements: nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER") . |
void |
setHighlightOnCollision(boolean highlight)
License requirements: nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER") . |
void |
setName(String name)
License requirements: nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER") . |
void |
setStickCollision(boolean stickCollision)
License requirements: nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER") . |
boolean |
stickCollision()
Returns the option for stick when collision.
|
centerPoint, height, length, orientation, radius, setCenterPoint, setOrientation, width
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
SelectNXObjectList geometry() throws NXException, RemoteException
ComponentAssembly
, Point
Face
, Edge
, bodies and curves.
NXException
RemoteException
void setGeometry(NXObject[] geometries) throws NXException, RemoteException
geometries
- Input geometriesNXException
RemoteException
CollisionBodyBuilder.CollisionShapeTypes collisionShape() throws NXException, RemoteException
NXException
RemoteException
void setCollisionShape(CollisionBodyBuilder.CollisionShapeTypes collisionShape) throws NXException, RemoteException
collisionShape
- NXException
RemoteException
CollisionBodyBuilder.ShapePropertyTypes collisionProperties() throws NXException, RemoteException
NXException
RemoteException
void setCollisionProperties(CollisionBodyBuilder.ShapePropertyTypes collisionProperties) throws NXException, RemoteException
collisionProperties
- NXException
RemoteException
int category() throws NXException, RemoteException
NXException
RemoteException
void setCategory(int category) throws NXException, RemoteException
category
- NXException
RemoteException
String name() throws NXException, RemoteException
NXException
RemoteException
void setName(String name) throws NXException, RemoteException
name
- NXException
RemoteException
CollisionMaterial collisionMaterial() throws NXException, RemoteException
CollisionMaterial
.
NXException
RemoteException
void setCollisionMaterial(CollisionMaterial collisionMaterial) throws NXException, RemoteException
collisionMaterial
- NXException
RemoteException
void calculateConvex() throws NXException, RemoteException
nxopen.mechatronics.CollisionBodyBuilder#collisionShapeTypes
is set
to CollisionBodyBuilder.CollisionShapeTypes.CONVEX
.
NXException
RemoteException
void calculateMesh() throws NXException, RemoteException
nxopen.mechatronics.CollisionBodyBuilder#collisionShapeTypes
is set
to CollisionBodyBuilder.CollisionShapeTypes.MESH
.
NXException
RemoteException
void calculateMultiConvex() throws NXException, RemoteException
nxopen.mechatronics.CollisionBodyBuilder#collisionShapeTypes
is set
to CollisionBodyBuilder.CollisionShapeTypes.MULTI_CONVEX
.
NXException
RemoteException
boolean highlightOnCollision() throws NXException, RemoteException
NXException
RemoteException
void setHighlightOnCollision(boolean highlight) throws NXException, RemoteException
highlight
- NXException
RemoteException
boolean stickCollision() throws NXException, RemoteException
NXException
RemoteException
void setStickCollision(boolean stickCollision) throws NXException, RemoteException
stickCollision
- NXException
RemoteException
double collisionFactor() throws NXException, RemoteException
NXException
RemoteException
void setCollisionFactor(double factor) throws NXException, RemoteException
factor
- NXException
RemoteException
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.