Overview | Statement List | Example


圆心,半径

Synopsis

obj = SPHERE/CENTER,point1,RADIUS,r[,plane,point2]

Description

Creates a sphere by specifying a previously defined point as its center, and specifying a radius. You may also limit the display of the sphere by specifying a previously defined plane object and a previously defined point. The half of the sphere which is created is on the same side of the plane as the point.

If the specified point lies on the plane, the error message, POINT LIES ON PLANE is displayed.

Parameters

Parameter

Description

CENTER

Minor word that indicates that the center of the sphere is an existing point.

point1

A previously defined point which establishes the center of the sphere.

RADIUS

Minor word that indicates that the radius of the sphere is to be specified.

r

A positive value which establishes the sphere radius.

plane

An existing plane which serves as a bounding plane.

point2

A previously defined point which determines which side of the bounding plane the partial sphere is developed on.

Examples

Creating a sphere by specifying a previously defined point and a radius.

There is no bounding plane specified.

Declarations

ENTITY/PT1,SPHR1

Geometry Definition

PT1 =POINT/0,0

Sphere Definition

SPHR1=SPHERE/CENTER,PT1,RADIUS,1

A Sphere without a Bounding Plane


Copyright ©2015 胡君NX二次开发官网(www.UGapi.com) QQ:85585969 All Rights Reserved.