public final class CrossSectionProviderProperty extends Object implements IPartProperty
CrossSectionProvider
Constructor and Description |
---|
CrossSectionProviderProperty(CrossSectionProvider geometry)
Constructor of this property.
|
Modifier and Type | Method and Description |
---|---|
double |
getCrossSection(Vector3D direction)
Computes the cross section of the geometry from a direction
defined by a Vector3D.
|
PropertyType |
getType()
Get the type of the property.
|
public CrossSectionProviderProperty(CrossSectionProvider geometry)
geometry
- The cross section providing geometry of the part.public double getCrossSection(Vector3D direction)
direction
- the direction vectorpublic PropertyType getType()
getType
in interface IPartProperty
Copyright © 2019 CNES. All rights reserved.