FB_Sphere - General Information

Overview

Type:

Function block

Available as of:

V1.0.0.0

Inherits from:

-

Implements:

IF_Sphere

Extends:

FB_CollisionObject

Versions:

Current version

This chapter provides information on:

Task

Implementation of a Sphere collision object.

Description

A sphere is defined by the position of its center and its radius.

The following figure represents a Sphere object:

Properties

Name

Data type

Accessing

Description

rstCenter

REFERENCE TO SE_Math.ST_Vector3D

Get

Center of the Sphere object.

lrRadius

LREAL

Get

Radius of the Sphere object.

etType

ET_CollisionObjectType

Get

This property describes the type of bounding volume implemented by the object.

xConfigured

BOOL

Get

The value of this property is TRUE if the object has been properly initialized, FALSE otherwise.