public final class GeometricProperty extends Object implements IPartProperty
assemblies
.final SolidShape cone = new ObliqueCircularCone(Vector3D.ZERO, translation,
translation.orthogonal(),
MathUtils.DEG_TO_RAD * 30, MathUtils.DEG_TO_RAD * 20, 1.5);
final IPartProperty shapeProp2 = new GeometricProperty(cone);
builder.addProperty(shapeProp2, part2);
Constructor and Description |
---|
GeometricProperty(SolidShape solidShape)
Constructor
|
Modifier and Type | Method and Description |
---|---|
SolidShape |
getShape() |
PropertyType |
getType()
Get the type of the property.
|
public GeometricProperty(SolidShape solidShape)
solidShape
- shape of assembly partpublic SolidShape getShape()
public PropertyType getType()
getType
in interface IPartProperty
Copyright © 2021 CNES. All rights reserved.