This class represents spheres.
A sphere is defined by its
northAxis defines the direction from the center to the north pole.
refAxis, a vector orthogonal to northAxis, the prime meridian.
Latitude is defined by the U parameter, which defaults to [-OdaPI/2, OdaPI/2] for closed spheres. The lower bound maps to the south pole, zero maps to the equator, and the upper bound maps to the north pole.
Longitude is defined by the V parameter, which defaults to [-OdaPI, OdaPI) for closed spheres. Zero corresponds to the meridian defined by the refAxis of this sphere. Applying the right hand rule along the northAxis defines the increasing direction for V. However, if isReverseV() is true, the increasing direction for V is defined by the left hand rule.
The sphere is periodic in V with a period of Oda2PI.
[umin, umax] by [vmin, vmax] defines a spherical patch with 4 sides bounded by 2 longitudinal arcs and 2 latitudinal arcs.
The following constraints apply when defining a patch.
Corresponding C++ library: TD_Ge
File: GeSphere.h
Module: API Reference
This is the overview for the OdGeSphere constructor overload. | |
Destructor for the OdGeEntity3d class. (Inherited from OdGeEntity3d) |
| |
(Inherited from OdGeSurface) | |
Returns the center of this sphere. | |
This is the overview for the closestPointTo method overload. | |
Returns a copy of this entity. (Inherited from OdGeEntity3d) | |
Returns the distance to the point on this curve closest to the specified point. (Inherited from OdGeSurface) | |
This is the overview for the evalPoint method overload. | |
Retrieves the start and end longitude. | |
Retrieves the start and end latitude. | |
Returns the point on this surface closest to the specified point. (Inherited from OdGeSurface) | |
This is the overview for the getEnvelope method overload. | |
Returns bounding box of the whole surface or a part of it. The box is axis-aligned in the specified local coordinate system. It is guaranteed to enclose the surface, but not guaranteed to be tight/minimal. (Inherited from OdGeSurface) | |
Finds all poles of surface. Surface envelope not considered. In case of NurbSurface extreme points of envelope are checked. Input arrays may be not empty. In this case new poles will be written to the ends of the arrays. (Inherited from OdGeSurface) | |
Checks if this sphere intersects with a line entity, and returns the number of intersections and the points of intersection. | |
Checks if the equator is a full circle. | |
Returns true if and only if this surface is closed in the U direction. (Inherited from OdGeSurface) | |
Returns true if and only if this surface is closed in the V direction. (Inherited from OdGeSurface) | |
Checks whether the specified entity is equal to this one. (Inherited from OdGeEntity3d) | |
Returns true if and only if this entity is of type (or is derived from) entType. (Inherited from OdGeEntity3d) | |
Checks orientation of the surface. (Inherited from OdGeSurface) | |
Checks normal direction. (Inherited from OdGeSurface) | |
Returns true if and only if the specified point is on this entity, as determined by the tolerance. (Inherited from OdGeEntity3d) | |
Determines if the passed point is on this surface and retrieves a 2D point that represents parametric values for the passed 3D point if it is on this surface. (Inherited from OdGeSurface) | |
Checks if the normal to this surface is pointing outward. | |
Checks whether V parameter is increasing in clockwise direction around northAxis. | |
This is the overview for the makeIsoparamCurve method overload. | |
Mirrors this entity about the specified plane, and returns a reference to this entity. (Inherited from OdGeEntity3d) | |
Returns the direction to the north pole of this sphere. | |
Returns the location of the north pole. | |
This is the overview for the paramOf method overload. | |
Projects a point onto this surface. (Inherited from OdGeSurface) | |
Returns the radius of this sphere. | |
Returns the reference axis of this sphere. | |
Reverses the normal of this surface. (Inherited from OdGeSurface) | |
Rotates this entity by the specified angle about the axis defined by the point and the vector, and returns a reference to this entity. (Inherited from OdGeEntity3d) | |
Scales this entity by the scale factor about the basepoint, and returns a reference to this entity. (Inherited from OdGeEntity3d) | |
This is the overview for the set method overload. | |
Sets the starting and ending longitudes. | |
Sets the starting and ending latitudes. | |
Set the rectangle in parameter space that defines the parameter domain of this surface. (Inherited from OdGeSurface) | |
Sets the radius of this sphere. | |
Specifies whether the V parameter should be measured clockwise around northAxis, rather than counterclockwise. | |
Returns the location of the south pole. | |
Applies the 3D transformation matrix to this entity, and returns a reference to this entity. (Inherited from OdGeEntity3d) | |
Applies the 3D translation vector to this entity, and returns a reference to this entity. (Inherited from OdGeEntity3d) | |
Returns the entity type. (Inherited from OdGeEntity3d) |
Comparison operator for the OdGeEntity3d object. (Inherited from OdGeEntity3d) | |
Assignment operator for the OdGeEntity3d object. (Inherited from OdGeEntity3d) | |
Assignment operator for the OdGeSphere class. | |
Assignment operator for the OdGeSurface class. (Inherited from OdGeSurface) | |
Comparison operator for the OdGeEntity3d object. (Inherited from OdGeEntity3d) |
Copyright © 2002-2022. Open Design Alliance All rights reserved.
|