public class PointConstraint extends ConstraintBase
Constructor and Description |
---|
PointConstraint() |
Modifier and Type | Method and Description |
---|---|
PointConstraint |
clone() |
SphericalJoint |
createComponent(java.io.File geometryPath,
ModelComponentMap componentMap)
Creates and returns a model component, using the provided component map
to look up other dependent objects.
|
java.lang.String |
getBody1() |
java.lang.String |
getBody2() |
Point3d |
getLocationBody1() |
Point3d |
getLocationBody2() |
java.lang.String |
getSocketBody1() |
java.lang.String |
getSocketBody2() |
void |
setBody1(java.lang.String str) |
void |
setBody2(java.lang.String str) |
void |
setLocationBody1(Point3d set) |
void |
setLocationBody2(Point3d set) |
void |
setSocketBody1(java.lang.String str) |
void |
setSocketBody2(java.lang.String str) |
getIsEnforced, setIsEnforced
public java.lang.String getBody1()
public void setBody1(java.lang.String str)
public java.lang.String getSocketBody1()
public void setSocketBody1(java.lang.String str)
public Point3d getLocationBody1()
public void setLocationBody1(Point3d set)
public java.lang.String getBody2()
public void setBody2(java.lang.String str)
public java.lang.String getSocketBody2()
public void setSocketBody2(java.lang.String str)
public Point3d getLocationBody2()
public void setLocationBody2(Point3d set)
public SphericalJoint createComponent(java.io.File geometryPath, ModelComponentMap componentMap)
ModelComponentGenerator
createComponent
in interface ModelComponentGenerator<ModelComponent>
createComponent
in class ConstraintBase
geometryPath
- path to search for geometry filescomponentMap
- map for looking up other objectspublic PointConstraint clone()
clone
in interface Clonable
clone
in class ConstraintBase