Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
THREE
Sphere
Class Sphere
Index
Constructor methods
constructor
Properties
center
radius
Methods
applyMatrix4
clampPoint
clone
containsPoint
copy
distanceToPoint
empty
equals
getBoundingBox
intersectsSphere
set
setFromPoints
translate
Constructor methods
constructor
(
center
?:
Vector3
, radius
?:
number
)
:
Sphere
Parameters
center?:
Vector3
optional
radius?:
number
optional
Returns
Sphere
Properties
public
center
:
Vector3
public
radius
:
number
Methods
public
applyMatrix4
(
matrix
:
Matrix4
)
:
Sphere
Parameters
matrix:
Matrix4
Returns
Sphere
public
clampPoint
(
point
:
Vector3
, optionalTarget
?:
Vector3
)
:
Vector3
Parameters
point:
Vector3
optionalTarget?:
Vector3
optional
Returns
Vector3
public
clone
(
)
:
Sphere
Returns
Sphere
public
containsPoint
(
point
:
Vector3
)
:
boolean
Parameters
point:
Vector3
Returns
boolean
public
copy
(
sphere
:
Sphere
)
:
Sphere
Parameters
sphere:
Sphere
Returns
Sphere
public
distanceToPoint
(
point
:
Vector3
)
:
number
Parameters
point:
Vector3
Returns
number
public
empty
(
)
:
boolean
Returns
boolean
public
equals
(
sphere
:
Sphere
)
:
boolean
Parameters
sphere:
Sphere
Returns
boolean
public
getBoundingBox
(
optionalTarget
?:
Box3
)
:
Box3
Parameters
optionalTarget?:
Box3
optional
Returns
Box3
public
intersectsSphere
(
sphere
:
Sphere
)
:
boolean
Parameters
sphere:
Sphere
Returns
boolean
public
set
(
center
:
Vector3
, radius
:
number
)
:
Sphere
Parameters
center:
Vector3
radius:
number
Returns
Sphere
public
setFromPoints
(
points
:
Vector3
[]
, optionalCenter
?:
Vector3
)
:
Sphere
Parameters
points:
Vector3
[]
optionalCenter?:
Vector3
optional
Returns
Sphere
public
translate
(
offset
:
Vector3
)
:
Sphere
Parameters
offset:
Vector3
Returns
Sphere
Globals
THREE
AddEquation
AddOperation
AdditiveBlending
AlphaFormat
AnimationHandler
BackSide
BasicShadowMap
ByteType
ClampToEdgeWrapping
CubeReflectionMapping
CubeRefractionMapping
CullFaceBack
CullFaceFront
CullFaceFrontBack
CullFaceNone
CustomBlending
DoubleSide
DstAlphaFactor
DstColorFactor
FaceColors
FlatShading
FloatType
FontUtils
FrontFaceDirectionCCW
FrontFaceDirectionCW
FrontSide
GeometryUtils
ImageUtils
IntType
LinePieces
LineStrip
LinearFilter
LinearMipMapLinearFilter
LinearMipMapNearestFilter
LuminanceAlphaFormat
LuminanceFormat
Math
MirroredRepeatWrapping
MixOperation
MultiplyBlending
MultiplyOperation
NearestFilter
NearestMipMapLinearFilter
NearestMipMapNearestFilter
NoBlending
NoColors
NoShading
NormalBlending
OneFactor
OneMinusDstAlphaFactor
OneMinusDstColorFactor
OneMinusSrcAlphaFactor
OneMinusSrcColorFactor
PCFShadowMap
PCFSoftShadowMap
REVISION
RGBAFormat
RGBA_S3TC_DXT1_Format
RGBA_S3TC_DXT3_Format
RGBA_S3TC_DXT5_Format
RGBFormat
RGB_S3TC_DXT1_Format
RepeatWrapping
ReverseSubtractEquation
SceneUtils
ShaderChunk
ShaderFlares
ShaderLib
ShortType
SmoothShading
SphericalReflectionMapping
SphericalRefractionMapping
SrcAlphaFactor
SrcAlphaSaturateFactor
SrcColorFactor
SubtractEquation
SubtractiveBlending
UVMapping
UniformsLib
UniformsUtils
UnsignedByteType
UnsignedIntType
UnsignedShort4444Type
UnsignedShort5551Type
UnsignedShort565Type
UnsignedShortType
VertexColors
ZeroFactor
Blending
BlendingDstFactor
BlendingEquation
BlendingSrcFactor
Colors
Combine
CompressedPixelFormat
CullFace
FrontFaceDirection
LineType
Mapping
PathActions
PixelFormat
PixelType
Shading
ShadowMapType
Side
TextureDataType
TextureFilter
Wrapping
AnimationData
BoundingBox
BoundingBox3D
BoundingSphere
CanvasRendererParameters
HSL
IFog
Intersection
KeyFrame
KeyFrames
LensFlareProperty
LineBasicMaterialParameters
LineDashedMaterialParameters
MappingConstructor
Matrix
MeshBasicMaterialParameters
MeshDepthMaterialParameters
MeshLambertMaterialParameters
MeshNormalMaterialParameters
MeshPhongMaterialParameters
MorphBlendMeshAnimation
MorphColor
MorphNormals
MorphTarget
ParticleSystemMaterialParameters
Progress
RenderTarget
Renderer
RendererPlugin
SceneLoaderProgress
SceneLoaderResult
Shader
ShaderMaterialParameters
SplineControlPoint
SpriteCanvasMaterialParameters
SpriteMaterialParameters
TextGeometryParameters
TypefaceData
Vector
WebGLRenderTargetOptions
WebGLRendererParameters
AmbientLight
Animation
AnimationInterpolation
ArcCurve
AreaLight
ArrowHelper
AxisHelper
Bone
BoundingBoxHelper
Box2
Box3
BoxGeometry
BoxHelper
BufferAttribute
BufferGeometry
BufferGeometryLoader
Cache
Camera
CameraHelper
CanvasRenderer
CircleGeometry
Clock
ClosedSplineCurve3
Color
CombinedCamera
CompressedTexture
CubeCamera
CubeGeometry
CubicBezierCurve
CubicBezierCurve3
Curve
CurvePath
CylinderGeometry
DataTexture
DepthPassPlugin
DirectionalLight
DirectionalLightHelper
EdgesHelper
EllipseCurve
Euler
EventDispatcher
ExtrudeGeometry
Face3
FaceNormalsHelper
Float32Attribute
Float64Attribute
Fog
FogExp2
Frustum
Geometry
GridHelper
Gyroscope
HemisphereLight
HemisphereLightHelper
IcosahedronGeometry
ImageLoader
ImmediateRenderObject
Int16Attribute
Int32Attribute
Int8Attribute
JSONLoader
KeyFrameAnimation
LOD
LatheGeometry
LensFlare
LensFlarePlugin
Light
Line
Line3
LineBasicMaterial
LineCurve
LineCurve3
LineDashedMaterial
Loader
LoadingManager
Material
MaterialLoader
Matrix3
Matrix4
Mesh
MeshBasicMaterial
MeshDepthMaterial
MeshFaceMaterial
MeshLambertMaterial
MeshNormalMaterial
MeshPhongMaterial
MorphAnimMesh
MorphAnimation
MorphBlendMesh
Object3D
ObjectLoader
OctahedronGeometry
OrthographicCamera
ParametricGeometry
ParticleSystem
ParticleSystemMaterial
Path
PerspectiveCamera
Plane
PlaneGeometry
PointLight
PointLightHelper
PolyhedronGeometry
Projector
QuadraticBezierCurve
QuadraticBezierCurve3
Quaternion
RawShaderMaterial
Ray
Raycaster
RenderableFace
RenderableLine
RenderableObject
RenderableSprite
RenderableVertex
RingGeometry
Scene
SceneLoader
ShaderMaterial
ShadowMapPlugin
Shape
ShapeGeometry
Skeleton
SkeletonHelper
SkinnedMesh
Sphere
constructor
center
radius
applyMatrix4
clampPoint
clone
containsPoint
copy
distanceToPoint
empty
equals
getBoundingBox
intersectsSphere
set
setFromPoints
translate
SphereGeometry
Spline
SplineCurve
SplineCurve3
SpotLight
SpotLightHelper
Sprite
SpriteCanvasMaterial
SpriteMaterial
SpritePlugin
TetrahedronGeometry
TextGeometry
Texture
TextureLoader
TorusGeometry
TorusKnotGeometry
Triangle
TubeGeometry
Uint16Attribute
Uint32Attribute
Uint8Attribute
Uint8ClampedAttribute
Vector2
Vector3
Vector4
VertexNormalsHelper
VertexTangentsHelper
WebGLProgram
WebGLRenderTarget
WebGLRenderTargetCube
WebGLRenderer
WebGLShader
WireframeHelper
XHRLoader