FB_Capsule - General Information

Overview

Type:

Function block

Available as of:

V1.0.0.0

Inherits from:

-

Implements:

IF_Capsule

Versions:

Current version

This chapter provides information on:

Task

Implementation for a Capsule collision object.

Description

A Capsule is defined by two points, A and B, and a radius. For more information, refer to the method SetPointsRadius.

Extends: FB_CollisionObject

The following graphic represents a Capsule object:

Properties

Name

Data type

Accessing

Description

rstPointA

REFERENCE TO SE_Math.ST_Vector3D

Get

The point A defining the Capsule object.

rstPointB

REFERENCE TO SE_Math.ST_Vector3D

Get

The point B defining the Capsule object.

lrRadius

LREAL

Get

Radius of the Capsule 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.