C# Класс HoloToolkit.Unity.SpatialUnderstandingDllShapes.ShapeComponentConstraint

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Param_Float_0 float
Param_Float_1 float
Param_Float_2 float
Param_Float_3 float
Param_Int_0 int
Param_Int_1 int
Param_Str_0 System.IntPtr
Type ShapeComponentConstraintType

Открытые методы

Метод Описание
Create_CircleRadius_Between ( float minRadius, float maxRadius ) : ShapeComponentConstraint

Constructs a constraint requiring the circle shaped component to have a radius between the given range

Create_CircleRadius_Is ( float radius ) : ShapeComponentConstraint

Constructs a constraint requiring the circle shaped component to have a specific radius

Create_CircleRadius_Max ( float maxRadius ) : ShapeComponentConstraint

Constructs a constraint requiring the circle shaped component to have a maximum radius

Create_CircleRadius_Min ( float minRadius ) : ShapeComponentConstraint

Constructs a constraint requiring the circle shaped component to have a minimum radius

Create_IsCircle ( float similarityMin = 0.5f ) : ShapeComponentConstraint

Constructs a constraint requiring the component to be shaped like a circle The squares similarity is the percent of the surface that matches the containing circular component shape

Create_IsRectangle ( float similarityMin = 0.5f ) : ShapeComponentConstraint

Constructs a constraint requiring the component to shaped like a rectangle. The rectangles similarity is the percent of the surface that matches the containing rectangular component shape.

Create_IsSquare ( float similarityMin = 0.5f ) : ShapeComponentConstraint

Constructs a constraint requiring the component to be shaped like a square The squares similarity is the percent of the surface that matches the containing square component shape.

Create_RectangleLength_Between ( float minLength, float maxLength ) : ShapeComponentConstraint

Constructs a constraint requiring the surface length to be between the given range. Length is the longer of the two bounding edges.

Create_RectangleLength_Is ( float length ) : ShapeComponentConstraint

Constructs a constraint requiring a specific surface length. Length is the longer of the two bounding edges.

Create_RectangleLength_Max ( float maxLength ) : ShapeComponentConstraint

Constructs a constraint requiring a maximum length. Length is the longer of the two bounding edges.

Create_RectangleLength_Min ( float minLength ) : ShapeComponentConstraint

Constructs a constraint requiring a minimum length. Length is the longer of the two bounding edges.

Create_RectangleSize_Between ( float minLength, float minWidth, float maxLength, float maxWidth ) : ShapeComponentConstraint

Constructs a constraint requiring a the length and width of the surface rectangle to be within a specified range. Length is the longer of the two bounding edges and width the shorter edge.

Create_RectangleSize_Is ( float length, float width ) : ShapeComponentConstraint

Constructs a constraint requiring a specified length and width. Length is the longer of the two bounding edges and width the shorter edge.

Create_RectangleSize_Max ( float maxLength, float maxWidth ) : ShapeComponentConstraint

Constructs a constraint requiring a maximum length and width of the surface rectangle. Length is the longer of the two bounding edges and width the shorter edge.

Create_RectangleSize_Min ( float minLength, float minWidth ) : ShapeComponentConstraint

Constructs a constraint requiring a minimum length and width of the surface rectangle. Length is the longer of the two bounding edges and width the shorter edge.

Create_RectangleWidth_Between ( float minWidth, float maxWidth ) : ShapeComponentConstraint

Constructs a constraint requiring the surface width to be between the given range. Width is the shorter of the two bounding edges.

Create_RectangleWidth_Is ( float width ) : ShapeComponentConstraint

Constructs a constraint requiring a specific surface width. Width is the shorter of the two bounding edges.

Create_RectangleWidth_Max ( float maxWidth ) : ShapeComponentConstraint

Constructs a constraint requiring a maximum width. Width is the shorter of the two bounding edges.

Create_RectangleWidth_Min ( float minWidth ) : ShapeComponentConstraint

Constructs a constraint requiring a minimum width. Width is the shorter of the two bounding edges.

Create_SquareSize_Between ( float minSize, float maxSize ) : ShapeComponentConstraint

Constructs a constraint requiring the component to have a surface area between the given range

Create_SquareSize_Is ( float size ) : ShapeComponentConstraint

Constructs a constraint requiring the component to have a specific surface area

Create_SquareSize_Max ( float maxSize ) : ShapeComponentConstraint

Constructs a constraint requiring the component to have a maximum area

Create_SquareSize_Min ( float minSize ) : ShapeComponentConstraint

Constructs a constraint requiring the component to have a minimum area

Create_SurfaceArea_Between ( float minArea, float maxArea ) : ShapeComponentConstraint

Constructs a constraint requiring the component to contain a surface area between the range specified

Create_SurfaceArea_Is ( float area ) : ShapeComponentConstraint

Constructs a constraint requiring the component to contain a specific surface area

Create_SurfaceArea_Max ( float maxArea ) : ShapeComponentConstraint

Constructs a constraint requiring the component to contain a maximum surface area

Create_SurfaceArea_Min ( float minArea ) : ShapeComponentConstraint

Constructs a constraint requiring the component to contain a minimum surface area

Create_SurfaceCount_Between ( int minCount, int maxCount ) : ShapeComponentConstraint

Constructs a constraint requiring the component to be a composed of a number of discrete flat surfaces between a specified range

Create_SurfaceCount_Is ( int count ) : ShapeComponentConstraint

Constructs a constraint requiring the component to be a composed of a number of discrete flat surfaces of the count specified

Create_SurfaceCount_Max ( int maxCount ) : ShapeComponentConstraint

Constructs a constraint requiring the component to be a maximum number of discrete flat surfaces

Create_SurfaceCount_Min ( int minCount ) : ShapeComponentConstraint

Constructs a constraint requiring the component to be a minimum number of discrete flat surfaces

Create_SurfaceHeight_Between ( float minHeight, float maxHeight ) : ShapeComponentConstraint

Constructs a constraint requiring the component to be within a height range above the floor

Create_SurfaceHeight_Is ( float height ) : ShapeComponentConstraint

Constructs a constraint requiring the component to be a specific height above the floor

Create_SurfaceHeight_Max ( float maxHeight ) : ShapeComponentConstraint

Constructs a constraint requiring the component to be a maximum height above the floor

Create_SurfaceHeight_Min ( float minHeight ) : ShapeComponentConstraint

Constructs a constraint requiring the component to be a minimum height above the floor

Create_SurfaceNotPartOfShape ( string shapeName ) : ShapeComponentConstraint

Constructs a constraint requiring the component to not be a part of a specified shape

Описание методов

Create_CircleRadius_Between() публичный статический Метод

Constructs a constraint requiring the circle shaped component to have a radius between the given range
public static Create_CircleRadius_Between ( float minRadius, float maxRadius ) : ShapeComponentConstraint
minRadius float Minimum radius in meters
maxRadius float Maximum radius in meters
Результат ShapeComponentConstraint

Create_CircleRadius_Is() публичный статический Метод

Constructs a constraint requiring the circle shaped component to have a specific radius
public static Create_CircleRadius_Is ( float radius ) : ShapeComponentConstraint
radius float Required radius in meters
Результат ShapeComponentConstraint

Create_CircleRadius_Max() публичный статический Метод

Constructs a constraint requiring the circle shaped component to have a maximum radius
public static Create_CircleRadius_Max ( float maxRadius ) : ShapeComponentConstraint
maxRadius float Maximum radius in meters
Результат ShapeComponentConstraint

Create_CircleRadius_Min() публичный статический Метод

Constructs a constraint requiring the circle shaped component to have a minimum radius
public static Create_CircleRadius_Min ( float minRadius ) : ShapeComponentConstraint
minRadius float Minimum radius in meters
Результат ShapeComponentConstraint

Create_IsCircle() публичный статический Метод

Constructs a constraint requiring the component to be shaped like a circle The squares similarity is the percent of the surface that matches the containing circular component shape
public static Create_IsCircle ( float similarityMin = 0.5f ) : ShapeComponentConstraint
similarityMin float Minimum similarity to a circle
Результат ShapeComponentConstraint

Create_IsRectangle() публичный статический Метод

Constructs a constraint requiring the component to shaped like a rectangle. The rectangles similarity is the percent of the surface that matches the containing rectangular component shape.
public static Create_IsRectangle ( float similarityMin = 0.5f ) : ShapeComponentConstraint
similarityMin float Minimum similarity to a rectangle
Результат ShapeComponentConstraint

Create_IsSquare() публичный статический Метод

Constructs a constraint requiring the component to be shaped like a square The squares similarity is the percent of the surface that matches the containing square component shape.
public static Create_IsSquare ( float similarityMin = 0.5f ) : ShapeComponentConstraint
similarityMin float Minimum similarity to a square
Результат ShapeComponentConstraint

Create_RectangleLength_Between() публичный статический Метод

Constructs a constraint requiring the surface length to be between the given range. Length is the longer of the two bounding edges.
public static Create_RectangleLength_Between ( float minLength, float maxLength ) : ShapeComponentConstraint
minLength float Minimum surface length
maxLength float Maximum surface length
Результат ShapeComponentConstraint

Create_RectangleLength_Is() публичный статический Метод

Constructs a constraint requiring a specific surface length. Length is the longer of the two bounding edges.
public static Create_RectangleLength_Is ( float length ) : ShapeComponentConstraint
length float Required surface length
Результат ShapeComponentConstraint

Create_RectangleLength_Max() публичный статический Метод

Constructs a constraint requiring a maximum length. Length is the longer of the two bounding edges.
public static Create_RectangleLength_Max ( float maxLength ) : ShapeComponentConstraint
maxLength float Maximum surface length
Результат ShapeComponentConstraint

Create_RectangleLength_Min() публичный статический Метод

Constructs a constraint requiring a minimum length. Length is the longer of the two bounding edges.
public static Create_RectangleLength_Min ( float minLength ) : ShapeComponentConstraint
minLength float Minimum surface length
Результат ShapeComponentConstraint

Create_RectangleSize_Between() публичный статический Метод

Constructs a constraint requiring a the length and width of the surface rectangle to be within a specified range. Length is the longer of the two bounding edges and width the shorter edge.
public static Create_RectangleSize_Between ( float minLength, float minWidth, float maxLength, float maxWidth ) : ShapeComponentConstraint
minLength float Minimum length
minWidth float Minimum width
maxLength float Maximum length
maxWidth float Maximum width
Результат ShapeComponentConstraint

Create_RectangleSize_Is() публичный статический Метод

Constructs a constraint requiring a specified length and width. Length is the longer of the two bounding edges and width the shorter edge.
public static Create_RectangleSize_Is ( float length, float width ) : ShapeComponentConstraint
length float Required surface length
width float Required surface width
Результат ShapeComponentConstraint

Create_RectangleSize_Max() публичный статический Метод

Constructs a constraint requiring a maximum length and width of the surface rectangle. Length is the longer of the two bounding edges and width the shorter edge.
public static Create_RectangleSize_Max ( float maxLength, float maxWidth ) : ShapeComponentConstraint
maxLength float Maximum length
maxWidth float Maximum width
Результат ShapeComponentConstraint

Create_RectangleSize_Min() публичный статический Метод

Constructs a constraint requiring a minimum length and width of the surface rectangle. Length is the longer of the two bounding edges and width the shorter edge.
public static Create_RectangleSize_Min ( float minLength, float minWidth ) : ShapeComponentConstraint
minLength float Minimum length
minWidth float Minimum width
Результат ShapeComponentConstraint

Create_RectangleWidth_Between() публичный статический Метод

Constructs a constraint requiring the surface width to be between the given range. Width is the shorter of the two bounding edges.
public static Create_RectangleWidth_Between ( float minWidth, float maxWidth ) : ShapeComponentConstraint
minWidth float Minimum surface width
maxWidth float Maximum surface width
Результат ShapeComponentConstraint

Create_RectangleWidth_Is() публичный статический Метод

Constructs a constraint requiring a specific surface width. Width is the shorter of the two bounding edges.
public static Create_RectangleWidth_Is ( float width ) : ShapeComponentConstraint
width float Required surface width
Результат ShapeComponentConstraint

Create_RectangleWidth_Max() публичный статический Метод

Constructs a constraint requiring a maximum width. Width is the shorter of the two bounding edges.
public static Create_RectangleWidth_Max ( float maxWidth ) : ShapeComponentConstraint
maxWidth float Maximum surface width
Результат ShapeComponentConstraint

Create_RectangleWidth_Min() публичный статический Метод

Constructs a constraint requiring a minimum width. Width is the shorter of the two bounding edges.
public static Create_RectangleWidth_Min ( float minWidth ) : ShapeComponentConstraint
minWidth float Minimum surface width
Результат ShapeComponentConstraint

Create_SquareSize_Between() публичный статический Метод

Constructs a constraint requiring the component to have a surface area between the given range
public static Create_SquareSize_Between ( float minSize, float maxSize ) : ShapeComponentConstraint
minSize float Minimum size in meters squared
maxSize float Maximum size in meters squared
Результат ShapeComponentConstraint

Create_SquareSize_Is() публичный статический Метод

Constructs a constraint requiring the component to have a specific surface area
public static Create_SquareSize_Is ( float size ) : ShapeComponentConstraint
size float Required size in meters squared
Результат ShapeComponentConstraint

Create_SquareSize_Max() публичный статический Метод

Constructs a constraint requiring the component to have a maximum area
public static Create_SquareSize_Max ( float maxSize ) : ShapeComponentConstraint
maxSize float Maximum size in meters squared
Результат ShapeComponentConstraint

Create_SquareSize_Min() публичный статический Метод

Constructs a constraint requiring the component to have a minimum area
public static Create_SquareSize_Min ( float minSize ) : ShapeComponentConstraint
minSize float Minimum size in meters squared
Результат ShapeComponentConstraint

Create_SurfaceArea_Between() публичный статический Метод

Constructs a constraint requiring the component to contain a surface area between the range specified
public static Create_SurfaceArea_Between ( float minArea, float maxArea ) : ShapeComponentConstraint
minArea float Minimum surface area
maxArea float Maximum surface area
Результат ShapeComponentConstraint

Create_SurfaceArea_Is() публичный статический Метод

Constructs a constraint requiring the component to contain a specific surface area
public static Create_SurfaceArea_Is ( float area ) : ShapeComponentConstraint
area float Required surface area
Результат ShapeComponentConstraint

Create_SurfaceArea_Max() публичный статический Метод

Constructs a constraint requiring the component to contain a maximum surface area
public static Create_SurfaceArea_Max ( float maxArea ) : ShapeComponentConstraint
maxArea float Maximum surface area
Результат ShapeComponentConstraint

Create_SurfaceArea_Min() публичный статический Метод

Constructs a constraint requiring the component to contain a minimum surface area
public static Create_SurfaceArea_Min ( float minArea ) : ShapeComponentConstraint
minArea float Minimum surface area
Результат ShapeComponentConstraint

Create_SurfaceCount_Between() публичный статический Метод

Constructs a constraint requiring the component to be a composed of a number of discrete flat surfaces between a specified range
public static Create_SurfaceCount_Between ( int minCount, int maxCount ) : ShapeComponentConstraint
minCount int Minimum number of discrete surfaces
maxCount int Maximum number of discrete surfaces
Результат ShapeComponentConstraint

Create_SurfaceCount_Is() публичный статический Метод

Constructs a constraint requiring the component to be a composed of a number of discrete flat surfaces of the count specified
public static Create_SurfaceCount_Is ( int count ) : ShapeComponentConstraint
count int Number of discrete surfaces
Результат ShapeComponentConstraint

Create_SurfaceCount_Max() публичный статический Метод

Constructs a constraint requiring the component to be a maximum number of discrete flat surfaces
public static Create_SurfaceCount_Max ( int maxCount ) : ShapeComponentConstraint
maxCount int Maximum number of discrete surfaces
Результат ShapeComponentConstraint

Create_SurfaceCount_Min() публичный статический Метод

Constructs a constraint requiring the component to be a minimum number of discrete flat surfaces
public static Create_SurfaceCount_Min ( int minCount ) : ShapeComponentConstraint
minCount int Minimum number of discrete surfaces
Результат ShapeComponentConstraint

Create_SurfaceHeight_Between() публичный статический Метод

Constructs a constraint requiring the component to be within a height range above the floor
public static Create_SurfaceHeight_Between ( float minHeight, float maxHeight ) : ShapeComponentConstraint
minHeight float Minimum height above the floor
maxHeight float Maximum height above the floor
Результат ShapeComponentConstraint

Create_SurfaceHeight_Is() публичный статический Метод

Constructs a constraint requiring the component to be a specific height above the floor
public static Create_SurfaceHeight_Is ( float height ) : ShapeComponentConstraint
height float Required height above the floor
Результат ShapeComponentConstraint

Create_SurfaceHeight_Max() публичный статический Метод

Constructs a constraint requiring the component to be a maximum height above the floor
public static Create_SurfaceHeight_Max ( float maxHeight ) : ShapeComponentConstraint
maxHeight float Maximum height above the floor
Результат ShapeComponentConstraint

Create_SurfaceHeight_Min() публичный статический Метод

Constructs a constraint requiring the component to be a minimum height above the floor
public static Create_SurfaceHeight_Min ( float minHeight ) : ShapeComponentConstraint
minHeight float Minimum height above the floor
Результат ShapeComponentConstraint

Create_SurfaceNotPartOfShape() публичный статический Метод

Constructs a constraint requiring the component to not be a part of a specified shape
public static Create_SurfaceNotPartOfShape ( string shapeName ) : ShapeComponentConstraint
shapeName string
Результат ShapeComponentConstraint

Описание свойств

Param_Float_0 публичное свойство

public float Param_Float_0
Результат float

Param_Float_1 публичное свойство

public float Param_Float_1
Результат float

Param_Float_2 публичное свойство

public float Param_Float_2
Результат float

Param_Float_3 публичное свойство

public float Param_Float_3
Результат float

Param_Int_0 публичное свойство

public int Param_Int_0
Результат int

Param_Int_1 публичное свойство

public int Param_Int_1
Результат int

Param_Str_0 публичное свойство

public IntPtr,System Param_Str_0
Результат System.IntPtr

Type публичное свойство

public ShapeComponentConstraintType Type
Результат ShapeComponentConstraintType