spherical_point

EXPRESS specification:

ENTITY spherical_point
SUBTYPE OF ( | cartesian_point);
r | : | length_measure;
theta | : | plane_angle_measure;
phi | : | plane_angle_measure;
DERIVE
SELF\cartesian_point.coordinates | : | LIST [1:3] OF length_measure := [r*sin(theta)*cos(phi), r*sin(theta)*sin(phi), r*cos(theta)];
WHERE
WRS45 | : | r >= 0.0;
END_ENTITY;

References (2):

Name | Type | Referred through | Express-G
cartesian_point | Entity |
Subtype
| No Diagram
coord_system_spherical | Entity |
Attribute 'origin'
| No Diagram

Inheritance graph

ENTITY spherical_point;
ENTITY representation_item;
name | : | label;
ENTITY geometric_representation_item;
DERIVE
dim | : | dimension_count := dimension_of(SELF);
ENTITY point;
ENTITY cartesian_point;
ENTITY spherical_point;
r | : | length_measure;
theta | : | plane_angle_measure;
phi | : | plane_angle_measure;
DERIVE
coordinates | : | LIST [1:3] OF length_measure := [r*sin(theta)*cos(phi), r*sin(theta)*sin(phi), r*cos(theta)];
END_ENTITY;