Name |
Description |
|
clone(): Sphere |
return a deep clone |
|
cloneCenter(): Point3d |
return (copy of) sphere center |
|
cloneLatitudeSweep(): AngleSweep |
return (a copy of) the sphere's angle sweep. |
|
cloneLocalToWorld(): Transform |
Return a (clone of) the sphere's local to world transformation. |
|
cloneTransformed(transform: Transform): undefined | Sphere |
Return a transformed clone. |
|
cloneVectorX(): Vector3d |
return the (full length, i.e. |
|
cloneVectorY(): Vector3d |
return the (full length, i.e. |
|
cloneVectorZ(): Vector3d |
return the (full length, i.e. |
|
constantVSection(vFraction: number): undefined | CurveCollection |
Return the Arc3d section at vFraction. |
|
dispatchToGeometryHandler(handler: GeometryHandler): any |
Second step of double dispatch: call handler.handleSphere(this) |
|
extendRange(range: Range3d, transform?: Transform): void |
Extend a range to contain this sphere. |
|
getConstructiveFrame(): undefined | Transform |
Return a coordinate frame (right handed, unit axes) |
|
isAlmostEqual(other: GeometryQuery): boolean |
Test for same geometry in other |
|
isSameGeometryClass(other: any): boolean |
Test if other is a Sphere |
|
maxAxisRadius(): number |
Return the largest of the primary xyz axis radii |
|
maxIsoParametricDistance(): Vector2d |
Directional distance query |
|
strokeConstantVSection(v: number, fixedStrokeCount: undefined | number, options?: StrokeOptions): LineString3d |
return strokes for a cross-section (elliptic arc) at specified fraction v along the axis. |
|
trueSphereRadius(): undefined | number |
Test if the geometry is a true sphere taking the transform (which might have nonuniform scaling) is applied. |
|
tryTransformInPlace(transform: Transform): boolean |
Transform the sphere in place. |
|
uFractionToRadians(u: number): number |
Return the longitude (in radians) all fractional u. |
|
uvFractionToPoint(uFraction: number, vFraction: number, result?: Point3d): Point3d |
Evaluate as a uv surface |
|
uvFractionToPointAndTangents(uFraction: number, vFraction: number, result?: Plane3dByOriginAndVectors): Plane3dByOriginAndVectors |
Evaluate as a uv surface, returning point and two vectors. |
|
vFractionToRadians(v: number): number |
Return the latitude (in radians) all fractional v. |
|
createCenterRadius(center: Point3d, radius: number, latitudeSweep?: AngleSweep): Sphere Static |
Create from center and radius, with optional restricted latitudes. |
|
createDgnSphere(center: Point3d, vectorX: Vector3d, vectorZ: Vector3d, radiusXY: number, radiusZ: number, latitudeSweep: AngleSweep, capped: boolean): undefined | Sphere Static |
Create a sphere from the typical parameters of the Dgn file |
|
createEllipsoid(localToWorld: Transform, latitudeSweep: AngleSweep, capped: boolean): undefined | Sphere Static |
Create an ellipsoid which is a unit sphere mapped to position by an (arbitrary, possibly skewed and scaled) transform. |
|
createFromAxesAndScales(center: Point3d, axes: undefined | Matrix3d, radiusX: number, radiusY: number, radiusZ: number, latitudeSweep: undefined | AngleSweep, capped: boolean): undefined | Sphere Static |
Create a sphere from the typical parameters of the Dgn file |
|